ubuntuusers.de

WLAN Problem mit dem D-Link DWA-140 Ubuntu 10.10

Status: Gelöst | Ubuntu-Version: Ubuntu 10.10 (Maverick Meerkat)
Antworten |

kerberos7

Anmeldungsdatum:
15. Mai 2009

Beiträge: Zähle...

Hallo!

Ich bräuchte bitte eure Hilfe. Ich habe seid Ubuntu 10.10 Probleme mit dem Wlan. Ubuntu erkennt den Wlan stick und Inet funktioniert auch aber das Problem ist das die Verbindung nach einer Zeit abbricht.

Hier ein Auszug aus den syslog

linux wpa_supplicant[1253]: Authentication with 00:24:17:af:9b:b7 timed out.
Oct 18 20:36:10 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  associating -> disconnected
Oct 18 20:36:10 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  disconnected -> scanning
Oct 18 20:36:12 linux wpa_supplicant[1253]: Trying to associate with 00:24:17:af:9b:b7 (SSID='error' freq=2462 MHz)
Oct 18 20:36:12 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  scanning -> associating
Oct 18 20:36:12 linux kernel: [ 5790.672616] wlan0: direct probe to 00:24:17:af:9b:b7 (try 1)
Oct 18 20:36:12 linux kernel: [ 5790.880009] wlan0: direct probe to 00:24:17:af:9b:b7 (try 2)
Oct 18 20:36:12 linux kernel: [ 5791.080011] wlan0: direct probe to 00:24:17:af:9b:b7 (try 3)
Oct 18 20:36:12 linux kernel: [ 5791.275624] wlan0: direct probe to 00:24:17:af:9b:b7 timed out
Oct 18 20:36:22 linux wpa_supplicant[1253]: Authentication with 00:24:17:af:9b:b7 timed out.
Oct 18 20:36:22 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  associating -> disconnected
Oct 18 20:36:22 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  disconnected -> scanning
Oct 18 20:36:23 linux wpa_supplicant[1253]: Trying to associate with 00:24:17:af:9b:b7 (SSID='error' freq=2462 MHz)
Oct 18 20:36:23 linux NetworkManager[1109]: <info> (wlan0): supplicant connection state:  scanning -> associating
Oct 18 20:36:23 linux kernel: [ 5802.141580] wlan0: direct probe to 00:24:17:af:9b:b7 (try 1)
Oct 18 20:36:23 linux kernel: [ 5802.340014] wlan0: direct probe to 00:24:17:af:9b:b7 (try 2)
Oct 18 20:36:24 linux kernel: [ 5802.550007] wlan0: direct probe to 00:24:17:af:9b:b7 (try 3)
Oct 18 20:36:24 linux kernel: [ 5802.740011] wlan0: direct probe to 00:24:17:af:9b:b7 timed out

Falls ihr noch Daten von mir braucht poste ich sie euch.

mfg Kerberos

bsn

Avatar von bsn

Anmeldungsdatum:
17. September 2006

Beiträge: 6386

Wohnort: Baden-Württemberg

Hallo,

diese Daten sollten wir schon haben um helfen zu können.

Gruß

bsn

kerberos7

(Themenstarter)

Anmeldungsdatum:
15. Mai 2009

Beiträge: Zähle...

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

bsn

Avatar von bsn

Anmeldungsdatum:
17. September 2006

Beiträge: 6386

Wohnort: Baden-Württemberg

Hallo,

stelle im Router alles auf manuell, da Netzwerk-Manager Schwierigkeiten mit Automatik Einstellungen hat.

Gruß

bsn

kerberos7

(Themenstarter)

Anmeldungsdatum:
15. Mai 2009

Beiträge: 6

Hallo!

Habe den Channel auf "manuell" umgestellt soll ich das dhcp auch auf eine statische IP umstellen?

mfg Kerberos

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Wohnort: NRW

Hallo,
hast Du das Treibermodul rt2800usb schon gesperrt?

kerberos7

(Themenstarter)

Anmeldungsdatum:
15. Mai 2009

Beiträge: 6

elektronenblitz63 schrieb:

Hallo,
hast Du das Treibermodul rt2800usb schon gesperrt?

Hallo!

Nein habe ich nicht wie kann ich das Treibermodul sperren?

mfg Kerberos

bsn

Avatar von bsn

Anmeldungsdatum:
17. September 2006

Beiträge: 6386

Wohnort: Baden-Württemberg

Hallo,

das Modul sperrst du im den du es in die Blacklist legst:

echo blacklist rt2800usb | sudo tee -a /etc/modprobe.d/blacklist.conf

siehe auch hier Hintergrundwissen

Gruß

bsn

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22111

Wohnort: ~

Hallo und willkommen hier.

wie kann ich das Treibermodul sperren?

siehe Kernelmodule/Blacklisting. Über copy/paste:

sudo modprobe -rf rt2870sta                                             #richtiges Modul entladen, ist nötig
sudo modprobe -rf rt2800usb                                             #falsches Module entladen
sudo modprobe rt2870sta                                                 #richtiges wieder laden
sudo service network-manager restart                                    #Netzwerk neu starten
echo 'blacklist rt2800usb' | sudo tee -a /etc/modprobe.d/blacklist.conf #blacklisten des falschen Moduls, Edit: bsn war schneller ;-)

Jetzt sollte das Netzwerk funktionieren. Nach nem Reboot zur Kontrolle:

iwconfig          #Schnittstelle
sudo iwlist scan  #zeigt vorhandene Netze an, welches ist deins?
lsmod | grep rt2  #geladene Kernelmodule mit Filter
dmesg | grep rt2  #Kernelmeldungen mit Filter

kerberos7

(Themenstarter)

Anmeldungsdatum:
15. Mai 2009

Beiträge: 6

Danke an alle für die Hilfe ☺

Bis jetzt habe ich keine Verbindungsabbrüche ☺

Treiber ist jetzt nur "USB"

Antworten |