RT61 on Ubuntu Feisty Fawn with WPA

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4253

Anonymous

09-09-2007 19:37:50

Hello,

I have some trouble with my WLAN-Card D-LINK DWL G510 Rev C2 with RA61 chipset.

On Ubuntu it randomly (most time at startup) my system hang up with message soft lockup on CPU#0! ...
At times my system did not hang up, I was able to browse the net => WLAN was working with WPA.

In an ubuntu forum I got the hint to install the CVS daily driver for my card to avoid this crashes. So I downloaded "rt61-cvs-daily.tar.gz".

I unpacked it and run inside the Module directory first "make" and then "make install". Both run without any error message.

Then I tested my network as descriped in the README (iwlist).
I was able to see some networks around me. All seemed fine to me.

Then I restarted my computer and after login I wanted to browse the net. But wasn't able. I checked the config files, but all seemed good to me. Till now I'm not able to connect ... what's wrong?

I scanned for networks again and I was able to see them. -> Card works.
I had a look at iwconfig and there is my network connection quality listed with about 80%.

But I'm not able to browse the net or ping any other computer/router.

I read, that Network-Manger (that is installed on Feisty Fawn by default) may rise some problems, so I deinstalled it. But that did not change anything to my problem (

Here some information that may help you to help me ;)

WLAN card DLINK DWL G510 Rev C2
OS Ubuntu Feisty Fawn (with current updates)
Router Fritz!Box Fon WLAN 7170
Router-IP 192.168.178.1
Security WPAPSK with TKIP

content of /etc/network/interfaces
(because DHCP did not work I use a static IP configuration now)[code2cecti2o]
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.178.23
netmask 255.255.255.0
network 192.168.178.0
broadcast 192.168.178.255
gateway 192.168.178.1
pre-up ifconfig wlan0 down
pre-up iwconfig wlan0 essid MyWLAN
pre-up iwconfig wlan0 mode managed
pre-up ifconfig wlan0 up
pre-up iwpriv wlan0 set AuthMode=WPAPSK
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK="nobodyKnows"
pre-up iwpriv wlan0 set TxRate=0

dns-nameservers 192.168.178.1[/code2cecti2o]

output of"iwconfig wlan0"[code2cecti2o]
RT61 Wireless ESSID: "MyWLAN" Nickname:""
Mode:Managed Frequency:2.437 GHz Bit Rate=54 Mb/s
RTS thr: off Fragment thr:off
Encryption key:off
Link Quality=79/100 Signal level: -82 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0[/code2cecti2o]

output of "ifconfig wlan0"[code2cecti2o]
Protokoll: Ethernet Hardware Adresse: 00:19:5B:8a:09:A2
inet Adresse: 192.168.178.23 Bcast:192.168.178.255 Maske:255.255.255.0
inet6 Adresse fe80:219:5bff:fe8a:9a2/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18942 errors:0 dropped:0 overruns:0 carrier:0
TX packets:552 errors:2 dropped:2 overruns:0 carrier:0
Kollisionen:2 Senderwarteschlangenlänge:1000
RX bytes: 2082211 (1.9 MiB) TX bytes:0 (0.0 MiB)
Interrupt:17[/code2cecti2o]

content of resolv.conf[code2cecti2o]
nameserver 192.168.178.1[/code2cecti2o]

my routing table[code2cecti2o]
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.178.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.178.1 0.0.0.0 UG 0 0 0 wlan0[/code2cecti2o]

ping to 192.168.178.1 (my router/ Fritz!Box) does not work
=> Destination Host Unreachable ... 100% loss

What is wrong?
Any hint or a solution?

If you need more information, let me know.
I'll provide you with it if I can.

for german readers
>>Hier<<[/url2cecti2o] ist die Vorgeschichte und alles was bisher versucht wurde nochmal im Ubuntuforum.

Thanks
klumbi

Spy84464

12-09-2007 17:57:49

Hello,
The card hasn't associated with your ap. This could simply be a configuration problem. Have you tried to connect using iwconfig/iwpriv directly?
I'm using WPAPSK/TKIP as well, here is my /etc/network/interfaces file
[code2ko1orn5]auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
post-up iwconfig wlan0 essid 'my_essid_here'
post-up iwpriv wlan0 set AuthMode=WPAPSK
post-up iwpriv wlan0 set EncrypType=TKIP
post-up iwpriv wlan0 set WPAPSK='my_key_here'[/code2ko1orn5]
I think the "pre-up" stanza are not working in your case.

Regards,
Romain

Anonymous

13-04-2008 23:11:55

sorry, this is a very late reply ...

@Spy
yes I tried but it wasn't successfull (

Some time after my last post I got a hint in an ubuntu forum and that solved the problem (works for me)
The problem was/is in the ubuntu 7.04 generic kernel that ist installed by default. what it is in detail I do not know.
The solution is to change the kernel from generic kerenel to the 386 kernel.

Now the connection is established and does work as expected.
Only sometimes (seldom, 1 per week?) the connection breaks and is established automaticaly after some minutes, after a 'sudo dhclient' or after reboot (if nothing else works).

So I hope this may help someone ..
Bye