I dual boot Windows/Fedora 11 on my Dell Latitude D830 laptop, which has an Intel PRO/Wireless 3945ABG card and I have just bought a Linksys WRT160NL wireless router. I am currently trying to set up OpenWRT linux on the router. Because of the nature of my problem I have also posted this on their forum.
I am having trouble connecting to my OpenWRT install via Fedora. Things seem okay in Windows, but when I try to connect from linux my laptop locks up completely and I have to hard reboot. I previously have never had any trouble connecting to any other router with this install of Fedora.
My story ...
I started by setting up OpenWRT (Kamikaze) on my WRT160N via ethernet. All went well and I could connect to and log in to the router over ethernet via both ssh and the LuCI web interface that comes with OpenWRT.
I then disconnected from ethernet and attempted to connect by wireless. I've been using the stock NetworkManager on Fedora, so just used that. I saw the OpenWRT box's SSID in the list and selected it.
After a few seconds of trying to connect the whole system hung on me. I had to hard reboot.
I tried it again and the same thing happened. So I tried Windows. No problems there. Saw the SSID and connected first time, ssh server, LuCI and everything.
So, I did some investigating in Fedora by connecting without NetworkManager.
After disabling the NetworkManager control of the wlan0 interface I did the following:
# iwlist wlan0 scan
The output of which included:
Cell 03 - Address: 00:03:7F:BF:10:58
Frequency:2.452 GHz (Channel 9)
Quality=70/70 Signal level=-23 dBm
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Extra: Last beacon: 7726ms ago
IE: Unknown: 0008636F6E7374616E74
IE: Unknown: 010882848B960C121824
IE: Unknown: 030109
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F 00
IE: Unknown: 2D1A4C1003FFFF000000000000000000000100000000000000 000000
IE: Unknown: 3D1609000000000000000000000000000000000000000000
So I proceeded with:
# ifconfig wlan0 down
# iwconfig wlan0 mode Managed channel 9
# iwconfig wlan0 essid "constant" ap 00:03:7F:BF:10:58 enc off
# ifconfig wlan0 up
# ifconfig wlan0
# iwconfig wlan0
wlan0 IEEE 802.11abg ESSID:"constant"
Mode:Managed Frequency:2.452 GHz Access Point: Not-Associated
Retry min limit:7 RTS thr:off Fragment thr:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1C:BF:61:6A:AF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
So I went ahead and tried
# dhclient -d -v wlan0
which got this far:
Internet Systems Consortium DHCP Client 4.1.0p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:1c:bf:61:6a:af
Sending on LPF/wlan0/00:1c:bf:61:6a:af
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
before freezing the system, just as NetworkManager had.
I got a bit more info from tail-ing /var/log/messages as it crashed, which showed:
Nov 16 00:37:31 cosmo dhclient: Copyright 2004-2009 Internet Systems Consortium.
Nov 16 00:37:31 cosmo dhclient: All rights reserved.
Nov 16 00:37:31 cosmo dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Nov 16 00:37:31 cosmo dhclient:
Nov 16 00:37:31 cosmo dhclient: Listening on LPF/wlan0/00:1c:bf:61:6a:af
Nov 16 00:37:31 cosmo dhclient: Sending on LPF/wlan0/00:1c:bf:61:6a:af
Nov 16 00:37:31 cosmo dhclient: Sending on Socket/fallback
Nov 16 00:37:31 cosmo dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Nov 16 00:37:34 cosmo kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Nov 16 00:37:35 cosmo avahi-daemon: Registering new address record for fe80::21c:bfff:fe61:6aaf on wlan0.*.
It crashes just after the avahi-daemon log message appears, just at the point where I would hope to see the client receive DHCPACK from the router.
So now I'm stumped and I don't know if this is a problem with OpenWRT, or Fedora. I've searched around a fair amount, but don't really even know where to start.
Can anybody help?