collectNWData.sh V0.6d-3
--- Welcher Netzwerkverbindungtyp soll getestet werden?
--- (2) Kabellose Verbindung (WLAN)
--- Welche Netzwerktopologie liegt vor?
--- (2) WLAN HW router <---> LinuxClient
--- Auf welchem Rechner wird das Script ausgeführt?
--- (1) LinuxClient
==================================================================================================
==================================================================================================
*** uname -a
Linux linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 athlon i386 GNU/Linux
==================================================================================================
*** cat /etc/SuSE-release
openSUSE 11.0 (i586)
VERSION = 11.0
==================================================================================================
*** cat /etc/resolv.conf | /usr/bin/grep -v "^#" | /usr/bin/grep -v "^$"
nameserver 192.168.178.1
search site
==================================================================================================
*** cat /etc/hosts | grep -v "^#" | /usr/bin/grep -v "^$" | /usr/bin/grep -v "::"
127.0.0.1 localhost
127.0.0.2 linux.site linux
192.168.178.20 Linux Linux
==================================================================================================
*** cat /proc/sys/net/ipv4/ip_forward
0
==================================================================================================
*** /usr/sbin/iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
==================================================================================================
*** /sbin/route -n
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0 wlan0
==================================================================================================
*** /sbin/arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.178.1 (unvollsändig) wlan0
==================================================================================================
*** /sbin/ifconfig
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:123 errors:0 dropped:0 overruns:0 frame:0
TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:8571 (8.3 Kb) TX bytes:8571 (8.3 Kb)
wlan0 Link encap:Ethernet Hardware Adresse 00:04:0E:C8:4A:E5
inet Adresse:192.168.178.20 Bcast:192.168.178.255 Maske:255.255.255.0
inet6 Adresse: fe80::204:eff:fec8:4ae5/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5977 errors:0 dropped:0 overruns:0 frame:0
TX packets:4227 errors:0 dropped:18 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:7544551 (7.1 Mb) TX bytes:354078 (345.7 Kb)
==================================================================================================
*** /sbin/lspci -nn | /usr/bin/egrep '(Ethernet|Network).*controller'
==================================================================================================
*** /usr/bin/lsusb
Bus 002 Device 002: ID 045e:008a Microsoft Corp. Wireless Keyboard and Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 057c:6201 AVM GmbH WLAN USB v1.1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
==================================================================================================
*** /sbin/lsmod | /usr/bin/sort
ac97_bus 18304 1 snd_ac97_codec
acx 161416 0
af_packet 38656 2
binfmt_misc 28040 1
button 25360 0
cdrom 50588 1 sr_mod
cpufreq_conservative 24456 0
cpufreq_powersave 18176 0
cpufreq_userspace 22660 0
dm_mod 78676 0
dock 27536 1 libata
edd 26440 0
ehci_hcd 52492 0
ext3 155784 2
fan 22660 0
fat 66720 1 vfat
ff_memless 21896 1 usbhid
firmware_class 25984 2 acx,snd_emu10k1
forcedeth 67340 0
fuse 66332 11
hid 53708 1 usbhid
i2c_core 41108 1 i2c_nforce2
i2c_nforce2 23296 0
ieee1394 107016 1 ohci1394
ip6table_filter 19712 0
ip6_tables 31376 1 ip6table_filter
iptable_filter 19840 0
iptable_nat 23688 0
ip_tables 30224 2 iptable_nat,iptable_filter
ipv6 281064 12
jbd 73376 1 ext3
k8temp 22016 0
libata 176220 2 pata_amd,sata_nv
loop 35332 0
mbcache 25348 1 ext3
Module Size Used by
ndiswrapper 214420 0
nf_conntrack 79188 3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_conntrack_ipv4 27652 3 iptable_nat,nf_nat
nf_nat 35736 1 iptable_nat
nls_cp437 22144 0
nls_iso8859_1 20480 0
ohci1394 48432 0
ohci_hcd 39940 0
parport 52948 2 ppdev,parport_pc
parport_pc 55100 0
pata_amd 30084 0
powernow_k8 31748 0
ppdev 25348 0
processor 67504 2 powernow_k8,thermal
rtc_cmos 27168 0
rtc_core 37148 1 rtc_cmos
rtc_lib 19328 1 rtc_core
sata_nv 42764 8
scsi_mod 168308 5 usb_storage,sg,sr_mod,sd_mod,libata
sd_mod 45208 10
sg 52020 0
snd 79544 18 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_util_mem,snd_hwdep
snd_ac97_codec 120868 1 snd_emu10k1
snd_emu10k1 162948 2 snd_emu10k1_synth
snd_emu10k1_synth 24832 0
snd_emux_synth 54272 1 snd_emu10k1_synth
snd_hwdep 26372 2 snd_emux_synth,snd_emu10k1
snd_mixer_oss 33408 1 snd_pcm_oss
snd_page_alloc 27400 2 snd_emu10k1,snd_pcm
snd_pcm 100100 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_pcm_oss 64256 0
snd_rawmidi 42496 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq 73664 5 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
snd_seq_device 25100 6 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_seq_midi 26112 0
snd_seq_midi_emul 22784 1 snd_emux_synth
snd_seq_midi_event 23936 2 snd_seq_midi,snd_seq_virmidi
snd_seq_virmidi 23680 1 snd_emux_synth
snd_timer 40712 3 snd_seq,snd_emu10k1,snd_pcm
snd_util_mem 21632 2 snd_emux_synth,snd_emu10k1
soundcore 24264 1 snd
sr_mod 33320 0
thermal 39452 0
usbcore 164684 7 acx,usb_storage,ndiswrapper,usbhid,ohci_hcd,ehci_hcd
usbhid 60260 0
usb_storage 100744 0
vfat 28800 0
x_tables 33668 3 iptable_nat,ip_tables,ip6_tables
==================================================================================================
*** catMyConfig
==================================================================================================
*** cat /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.178.20/24'
MTU=''
NAME='WLAN USB Device'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='Heimat'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='no'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK='@@@@@@'
==================================================================================================
*** /usr/sbin/iwconfig | /usr/bin/sed "s/\(Encryption key:\)\([^o][^f][^f][^ ]*\)\(.*\)/\1@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@\3/"
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"Heimat"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1D:7E:18:E8:B7
Bit Rate=54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Encryption key:@@ @@@-@@@@-@@@@-@@@@-@@@@-@@@@@@@ Security mode:restricted
Power Management:off
Link Quality:51/100 Signal level:-63 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
==================================================================================================
*** /usr/bin/grep -i radio /var/log/boot.msg | /usr/bin/tail -n 5
==================================================================================================
*** /usr/bin/grep -i firmware /var/log/messages* | /usr/bin/tail -n 5
Jul 14 20:23:40 linux kernel: requesting firmware image 'tiacx111usbc1B'
Jul 14 20:23:40 linux kernel: acx: firmware image 'tiacx111usbc1B' was not provided. Check your hotplug scripts
Jul 14 20:23:41 linux firmware.sh[5062]: Cannot find firmware file 'tiacx111usbc1B'
Jul 14 20:31:16 linux kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
Jul 15 19:16:07 linux kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
==================================================================================================
*** ls -ls /lib/firmware
insgesamt 448
4 -rw-r--r-- 1 root root 3408 6. Jun 22:18 aica_firmware.bin
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 asihpi
100 -rw-r--r-- 1 root root 97652 6. Jun 22:18 digiface_firmware.bin
100 -rw-r--r-- 1 root root 97652 6. Jun 22:18 digiface_firmware_rev11.bin
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 ea
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 emagic
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 emu
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 ess
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 korg
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 mixart
100 -rw-r--r-- 1 root root 97652 6. Jun 22:18 multiface_firmware.bin
100 -rw-r--r-- 1 root root 97652 6. Jun 22:18 multiface_firmware_rev11.bin
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 pcxhr
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 sb16
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 vx
4 drwxr-xr-x 2 root root 4096 13. Jul 18:49 yamaha
==================================================================================================
*** ps aux | /usr/bin/grep wpa_supplicant | /usr/bin/grep -v grep
root 3530 0.0 0.0 3856 840 ? S<s 19:16 0:00 wpa_supplicant -iwlan0 -c/var/run/wpa_supplicant-wlan0.conf -Dwext -P/var/run/wpa_supplicant/wlan0.pid -B
==================================================================================================
*** /usr/bin/grep NETWORKMANAGER /etc/sysconfig/network/config | /usr/bin/grep -v "^#"
NETWORKMANAGER=no
==================================================================================================
*** /usr/bin/grep -i persistent /etc/sysconfig/network/config | /usr/bin/grep -v "^#" | /usr/bin/grep -v "^$"
==================================================================================================
*** /usr/bin/egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/70-persistent-net* | /usr/bin/grep -v ":#" | grep -v ":$"
/usr/bin/egrep: /etc/udev/rules.d/*net_persistent*: Datei oder Verzeichnis nicht gefunden
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:0e:c8:4a:e5", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0f:ea:31:80:35", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================
*** /usr/bin/egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|/usr/bin/egrep -v '#|blacklist'
/etc/modprobe.conf:install eth0 /bin/true
/etc/modprobe.conf:install eth1 /bin/true
/etc/modprobe.d/ndiswrapper:alias wlan0 ndiswrapper
==================================================================================================
*** detectFirmwareMessages
Jul 15 19:16:07 linux kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
Jul 15 19:16:07 linux kernel: acx: running on a little-endian CPU
Jul 15 19:16:07 linux kernel: acx: PCI/VLYNQ module v0.3.37 initialized, waiting for cards to probe...
Jul 15 19:16:07 linux kernel: USB module v0.3.37 initialized, probing for devices...
Jul 15 19:16:07 linux kernel: usb 1-5: reset high speed USB device using ehci_hcd and address 5
---------------------------------------------------------------------------
==================================================================================================
*** detectAPs