Re: Quickly get help
23 Gathering Network Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Framp's Linux Tips and Tricks
http://www.linux-tips-and-tricks.de/en/users-guide/
Citation
I performed all necessary steps on Mint 16 Petra KDE 64 bit to give instructions how to proceed. (My connections are working.)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.
1. Download this script (collectNWData.sh)
-> a destination folder is showed (in my case: /home/seeley)
2. Opening a Terminal / Console
Code: Select all
pwd
Code: Select all
ls -l
You should see the file collectNWData.sh (~ 166 KiB)
Code: Select all
...
-rw-r--r-- 1 seeley seeley 169062 Jun 19 15:01 collectNWData.sh
...
Changing file permissions:
[A guide: http://www.linux.org/threads/file-permi ... hmod.4094/]
Code: Select all
sudo chmod 700 collectNWData.sh
RETURN
->
Code: Select all
-rwx------ 1 seeley seeley 169062 Jun 19 15:01 collectNWData.sh
Code: Select all
./collectNWData.sh
5. Answer the questions concerning your problem network
In my case:
Code: Select all
collectNWData.sh V0.7.3a
--- Invoking this script as root allows a more detailed analysis and will give better results.
--- If you have any concerns to execute the script as root please read http://www.linux-tips-and-tricks.de/CND_ROOT#English.
--- Do you want to run the script as root ([y]/n)?y
--- Which type of your network connection should be tested?
--- (1) Wireless connection (WLAN)
--- (2) Wired connection
--- Please answer with 1-2:1
--- What's the type of networktopology?
--- (1) WLAN access point <---> LinuxClient
--- (2) WLAN HW router <---> LinuxClient
--- (3) WLAN access point <---> LinuxRouter <---> LinuxClient
--- (4) WLAN HW router <---> LinuxRouter <---> LinuxClient
--- Please answer with 1-4:2
--- Please enter the WLAN SSID you want to connect to (Will be masqueraded in output file):**********
--- NWCollect is collecting networkconfiguration information into file ...
--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0200W: Maximum possible MTU is 1492, but actual MTU on nic wlan0 is 1500
!!! CND0450W: WLAN key masquerading is not fully tested on this distribution. Please check output file collectNWData.txt for visible WLAN keys and masquerade them manually
--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions
--- about the error/warning messages and how to fix the problems on your own.
--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links)
--- and then paste the nopaste link on your favorite Linux forum.
Code: Select all
-rw-r--r-- 1 seeley users 13135 Jun 19 15:12 collectNWData.txt
release, kernel, ping test, nameserver, route table, ifconfig, iwconfig,
parts of lspci, lsusb, lshw, lsmod, firmware,
iwlist, rfkill list,...
List of error messages:
http://www.linux-tips-and-tricks.de/en/messages/