http://www.linux-tips-and-tricks.de

Benutzeranleitung/Usersguide von/of collectNWData PDF Print E-mail
 
In Foren werden immer wieder NetzwerkProbleme geschildert mit der Bitte um Hilfe. Häufig sind es sehr einfache Konfigurationsfehler, die man selbst lösen kann ohne gleich die NetzwerkProfis um Hilfe bitten zu müssen. Das Script sammelt deshalb diverse netzwerkrelevante Informationen und die Komponente NWEliza analysiert sie danach auf verschiedene häufig anzutreffende Fehlkonfigurationen. Werden Fehler entdeckt  weisen Fehlermeldungen dann auf Webseiten hin, die Hinweise geben, wie diese Probleme selbständig gelöst werden können.
 
Sollte eine selbständige Problemlösung nicht gelingen sind die gesammelten Informationen sehr hilfreich um sie in Foren zu posten und um NetzwerkProfis NetzwerkInformationen zu liefern, die diese sonst immer wieder mit denselben Rückfragen erfragen müssen. 
 
Das Script muss leider als root aufgerufen werden, da sonst nicht alle wichtigen Informationen gesammelt werden können. Es werden aber keine Änderungen am aktuellen System durchgeführt sondern lediglich Befehle benutzt, um Informationen zu sammeln. Somit besteht keine Gefahr dass ein System auch nur versehentlich oder durch Scriptfehler verändert wird!
 
Das Script wird häufig runtergeladen und ausgeführt. Leider gibt es kaum Feedback. Deshalb möchte ich jeden bitten im Gästebuch einen  Kommentar zu schreiben - sei es positiv oder negativ. In der Open Community ist Feedback die treibende Kraft.
 
Es existieren 2 verschiedene Möglichkeiten, das Script aufzurufen: Entweder per Maus und den Desktop oder über ein Befehlsfenster. Ich arbeite normalerweis über das Befehlsfenster was aber Linux Einsteigern immer wieder Probleme bereitet.. Dann habe ich herausgefunden wie man das man das Script auch über einen KDE Desktop aufrufen kann und das Script dementsprechend erweitert. Es ist also einem jedem selbst überlassen ob er per KDE oder per Befehlszeile das Script aufrufen möchte.
 
Standardaufruf per Mausclick
 
Standardaufruf (Konsole)
  1. Öffnen eines Befehlsfensters
  2. cd /home/xxx/Desktop (xxx = Benutzername) wenn das StandardDownloadVerzeichnis vom Firefox benutzt wird bzw in das Verzeichnis, welches als anderes DownloadVerzeichnis im Firefox eingestellt wurde
  3. chmod 700 collectNWData.sh
  4. ./collectNWData.sh (ACHTUNG! Da steht ein Punkt vor dem / !!!)
  5. Prüfen ob NWEliza Konfigurationsprobleme gefunden hat und folge den Lösungshinweisen um das Problem selbständig zu lösen.
  6. Falls kein Konfigurationsproblem von NWEliza gefunden wurde dann den Inhalt von collectNWData.txt
    auf einen nopaste Service hochladen und den Link dahin im bevorzugten LinuxForum posten.
Alternativaufruf (KDE Desktop)
  1. ALT-F2 drücken
  2. konsole eingeben
  3. cd ~/Desktop eingeben wenn das StandardDownloadVerzeichnis vom Firefox benutzt wird bzw in das Verzeichnis, welches als anderes DownloadVerzeichnis im Firefox eingestellt wurde
  4. chmod 700 collectNWData.sh eingeben
  5. ./collectNWData.sh (ACHTUNG! Da steht ein Punkt vor dem / !!!)
  6. Prüfen ob NWEliza Konfigurationsprobleme gefunden hat und folge den Lösungshinweisen um das Problem selbständig zu lösen.
  7. Falls kein Konfigurationsproblem von NWEliza gefunden wurde dann dann den Inhalt von collectNWData.txt
    auf einen nopaste Service hochladen und den Link dahin im bevorzugten LinuxForum posten.
ACHTUNG
WLAN keys, MAC Adressen und öffentliche IP Adressen werden vom Script automatisch maskiert. Außerdem können aber noch andere von Script gesammelte Informationen sensitiv sein (z.B. interne und externe dns hostnames, ...) und diese sollten vor dem Posten mit @@@ maskiert werden. Details zur Maskierung
 

 
English:
A lot of time network problems are posted in foren in order to find people to help to solve them. A lot of problems are configuration problems which can be fixed easily by the problem poster. This script collects a lot of network information and passes them to the NWEliza component, which analyzes them for common configuration errors. Errormessages point to webpages on this website which help to fix the problems.
 
If there is no way to get the problem fixed the collected information is very helpful to be posted in a forum. Thus people don't have to ask every time the same questions and ak for the same information. To speed up the problem solving process the resulting file of the script can be posted which might enable people to give an answer directly or to ask specific question to fix the problem.
 
Unfortunately the script has to be as root because otherwise important information will be missing. There are no changes done on the system - for sure! There are only commands executed which collect information but don't modify the system. So there is no danger the system will be modified by accident or a script error at all.
 
The script is downloaded a lot of time. Unfortunately there is no feedback. I'd appreciate if you write some comments (just use English) in the guestbook !
 
Usage (Mouse click)
 
Usage (Console)
  1. Download this script
  2. Open a command window
  3. cd /home/framp
  4. chmod 700 collectNWData.sh
  5. ./collectNWData.sh (Attention! There is a period in front of / !!!)
  6. Check whether NWEliza found some configuration problems and follow the given hints to solve the problem on your own
  7. If no problems were reported by NWEliza then upload the contents of collectNWData.txt
    to a nopaste Service and then post the link in your favorite Linux forum.
Alternate usage (KDE desktop):
  1. Download this script to your desktop
  2. Press ALT-F2
  3. Type bash ~/Desktop/collectNWData.sh and follow the instructions
  4. Check whether NWEliza found some configuration problems and follow the given hints to solve the problem on your own
  5. If no problems were reported by NWEliza then upload the contents of collectNWData.txt
    to a nopaste Service and then post the link in your favorite Linux forum.
WARNING
WLAN keys, MAC addresses and public IP addresses will be automatically masqueraded by the script. But there may be also other sensitive local information collected by the script (e.g. internal and external dns names, ...) which you might not want to publish. It's strongly recommended to review the script results and masquerade sensitive information with @@@ before it's posted. Details of the masquerading
  
 
 
Last Updated ( Sonntag, 31 Januar 2010 )
 
< Prev   Next >