collectNWData.sh V0.6
--- Welcher Netzwerkverbindungtyp soll getestet werden?
--- (1) Kabelgebundene Verbindung
--- Welche Netzwerktopologie liegt vor?
--- (1) DSL modem <---> LinuxClient
--- Auf welchem Rechner wird das Script ausgeführt?
--- (1) LinuxClient
==================================================================================================
==================================================================================================
*** uname -a
Linux linux-qjln 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 "^$"
search site
==================================================================================================
*** cat /etc/hosts | grep -v "^#" | /usr/bin/grep -v "^$" | /usr/bin/grep -v "::"
@@@@@ localhost
@@@@@ @@@@@@
==================================================================================================
*** 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
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
==================================================================================================
*** /sbin/arp -n
==================================================================================================
*** /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:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:2708 (2.6 Kb) TX bytes:2708 (2.6 Kb)
==================================================================================================
*** /sbin/lspci -nn | /usr/bin/egrep '(Ethernet|Network).*controller'
00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [1106:3065] (rev 74)
==================================================================================================
*** /usr/bin/lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 003 Device 002: ID 06a2:0033 Topro Technology, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 0dda:2026 Integrated Circuit Solution, Inc. USB2.0 Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
==================================================================================================
*** /sbin/lsmod | /usr/bin/sort
ac97_bus 18304 1 snd_ac97_codec
agpgart 50868 1 via_agp
binfmt_misc 28040 1
button 25360 0
cdrom 50588 1 sr_mod
crc_ccitt 18432 1 irda
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
fuse 66332 1
gameport 31500 1 snd_ens1371
gspca 690276 0
hid 53708 1 usbhid
i2c_core 41108 1 i2c_viapro
i2c_viapro 25108 0
ip6table_filter 19712 1
ip6table_mangle 19584 0
ip6_tables 31376 3 ip6t_LOG,ip6table_mangle,ip6table_filter
ip6t_LOG 23428 7
ip6t_REJECT 21376 3
iptable_filter 19840 1
iptable_mangle 19712 0
iptable_nat 23688 0
ip_tables 30224 3 iptable_mangle,iptable_nat,iptable_filter
ipt_LOG 22788 8
ipt_REJECT 20352 3
ipv6 281064 17 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
irda 142984 1 via_ircc
jbd 73376 1 ext3
libata 176220 1 pata_via
loop 35332 0
mbcache 25348 1 ext3
mii 21888 1 via_rhine
Module Size Used by
nf_conntrack 79188 6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_ipv4
nf_conntrack_ipv4 27652 7 iptable_nat,nf_nat
nf_conntrack_ipv6 33272 4
nf_conntrack_netbios_ns 19200 0
nf_nat 35736 1 iptable_nat
nls_cp437 22144 1
nls_iso8859_1 20480 1
parport 52948 2 ppdev,parport_pc
parport_pc 55100 0
pata_via 27780 3
pci_hotplug 46116 1 shpchp
ppdev 25348 0
processor 67504 2 thermal
quickcam_messenger 118836 0
rtc_cmos 27168 0
rtc_core 37148 1 rtc_cmos
rtc_lib 19328 1 rtc_core
scsi_mod 168308 5 usb_storage,sr_mod,sg,sd_mod,libata
sd_mod 45208 6
sg 52020 0
shpchp 50196 0
snd 79544 17 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq,snd_usb_audio,snd_usb_lib,snd_hwdep,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
snd_ac97_codec 120868 1 snd_ens1371
snd_ens1371 43268 1
snd_hwdep 26372 1 snd_usb_audio
snd_mixer_oss 33408 1 snd_pcm_oss
snd_page_alloc 27400 1 snd_pcm
snd_pcm 100100 4 snd_pcm_oss,snd_usb_audio,snd_ens1371,snd_ac97_codec
snd_pcm_oss 64256 0
snd_rawmidi 42496 3 snd_seq_midi,snd_usb_lib,snd_ens1371
snd_seq 73664 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 25100 3 snd_seq_midi,snd_seq,snd_rawmidi
snd_seq_midi 26112 0
snd_seq_midi_event 23936 1 snd_seq_midi
snd_timer 40712 2 snd_seq,snd_pcm
snd_usb_audio 100992 1
snd_usb_lib 34432 1 snd_usb_audio
soundcore 24264 1 snd
sr_mod 33320 0
thermal 39452 0
uhci_hcd 40848 0
usbcore 164684 9 usb_storage,snd_usb_audio,snd_usb_lib,gspca,quickcam_messenger,usbhid,ehci_hcd,uhci_hcd
usbhid 60260 0
usb_storage 100744 1
v4l1_compat 29572 1 videodev
vfat 28800 1
via_agp 26752 1
via_ircc 36756 0
via_rhine 41736 0
videodev 48000 2 gspca,quickcam_messenger
x_tables 33668 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
xt_limit 19076 15
xt_pkttype 18304 3
xt_state 18944 8
xt_tcpudp 19584 2
==================================================================================================
*** catMyConfig
==================================================================================================
*** cat /etc/sysconfig/network/ifcfg-dsl0
BOOTPROTO='none'
DEVICE='eth0'
MODEM_IP='@@@@@'
NAME='DSL-Verbindung'
PPPD_OPTIONS=''
PPPMODE='pppoe'
PROVIDER='provider0'
STARTMODE='manual'
UDI=''
USERCONTROL='yes'
VPIVCI=''
==================================================================================================
*** cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='VT6102 [Rhine-II]'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='manual'
USERCONTROL='no'