1. Netzwerkaufbau:
PC mit WLAN USB(D-link DWA-140) zu einem Router(THOMSON TG585 v7)
2. Systemversionen
System:
uname -a
Linux linux 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64 GNU/Linux
USB:
lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 004 Device 002: ID 046d:c049 Logitech, Inc. G5 Laser Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 07d1:3c09 D-Link System DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3. Netzwerkconfig
kerberos@linux:~$ egrep -v "^$|^#" /etc/network/interfaces
auto lo
iface lo inet loopback
kerberos@linux:~$ egrep -v "^$|^#" /etc/resolv.conf
domain lan
search lan
nameserver 10.0.0.138
kerberos@linux:~$ egrep -v "^$|^#" /etc/hosts
10.0.0.139 linux # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 linux localhost6.localdomain6 localhost6
127.0.1.1 linux
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Zuordnung der Schnittstellen
cat /etc/udev/rules.d/70-persistent-net.rules
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:85:1e:2b:89", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x07d1:0x3c09 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:b0:6a:a3:c1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Momentane Einstellungen
ifconfig
eth0 Link encap:Ethernet Hardware Adresse 00:21:85:1e:2b:89
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:48 Basisadresse:0xa000
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 Metrik:1
RX packets:567 errors:0 dropped:0 overruns:0 frame:0
TX packets:567 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:44413 (44.4 KB) TX bytes:44413 (44.4 KB)
wlan0 Link encap:Ethernet Hardware Adresse 00:22:b0:6a:a3:c1
inet Adresse:10.0.0.139 Bcast:10.0.0.255 Maske:255.255.255.0
inet6-Adresse: fe80::222:b0ff:fe6a:a3c1/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:38955 errors:0 dropped:0 overruns:0 frame:0
TX packets:26350 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:50313160 (50.3 MB) TX bytes:3096894 (3.0 MB)
kerberos@linux:~$ route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 wlan0
kerberos@linux:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"error"
Mode:Managed Frequency:2.462 GHz Access Point: 00:24:17:AF:9B:B7
Bit Rate=5.5 Mb/s Tx-Power=8 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=41 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
4. Wlan-Verbindung
iwlist chan
lo no frequency information.
eth0 no frequency information.
wlan0 14 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz
Current Frequency:2.462 GHz (Channel 11)
rfkill list
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
dmesg | egrep r81
[ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880001e00000 s91520 r8192 d23168 u524288
[ 0.000000] pcpu-alloc: s91520 r8192 d23168 u524288 alloc=1*2097152
[ 1.600045] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.600070] r8169 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 1.600117] r8169 0000:08:00.0: setting latency timer to 64
[ 1.600169] r8169 0000:08:00.0: irq 48 for MSI/MSI-X
[ 1.600510] r8169 0000:08:00.0: eth0: RTL8168c/8111c at 0xffffc900117ba000, 00:21:85:1e:2b:89, XID 1c4000c0 IRQ 48
[ 17.235510] r8169 0000:08:00.0: eth0: link down
[ 929.111276] r8169 0000:08:00.0: eth0: link down
[ 4620.952172] r8169 0000:08:00.0: eth0: link down
[ 5228.829702] r8169 0000:08:00.0: eth0: link down
[ 5859.898217] r8169 0000:08:00.0: eth0: link down
5. Routerconfig
Schnittstellentyp: 802.11b
Kanal: 11
Kanalwahl: auto
Encryption: WPA-PSK-Verschlüsselung
Danke für den Hinweis!
mfg Infernal