dhclient (possibly all networking) not working with some routers and WPA

Michael mlmichael70 at gmail.com
Wed Mar 9 01:22:30 UTC 2011


Hi,

I'm running FreeBSD 8.1-Release with ath0 card. For some unknown reason 
this laptop is not able to get IP address from my access point (DHCP) if 
WPA encryption is enabled.

The tricky part is that it says it is associated but has IP of 0.0.0.0. 
So it looks like encryption part is working and then other communication 
fails.

Everything works fine if I switch the encryption off.
The same station works fine with other access points. Other operating 
systems works fine on the same station with the same access point. And 
the same access point works fine with other stations.
In short - it's only FreeBSD that is having problems in this setup.

What I have tried and it didn't help:
- using FreeBSD 8.0-R and 8.1-R
- using isc-dhcp41-client and isc-dhcp31-client from ports
- turning on/off different QoS settings on the access point
- adding my station to static IP table on the access point
- configuring ip address, netmask and routing table manually on my 
station with DHCP server both enabled and disabled
- using different access points - two out of four are not working, all 
different makes and models

Here is what tcpdump says about it (192.168.0.1 is my access point):
00:17:09.671578 EAPOL key (3) v2, len 117
00:17:09.671770 EAPOL key (3) v1, len 117
00:17:09.680168 EAPOL key (3) v2, len 151
00:17:09.680275 EAPOL key (3) v1, len 95
00:17:09.731370 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from 00:26:5e:e7:e8:78 (oui Unknown), length 300
00:17:14.732238 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from 00:26:5e:e7:e8:78 (oui Unknown), length 300
00:17:14.737050 ARP, Request who-has 192.168.0.50 tell 192.168.0.1, 
length 46
00:17:20.732593 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from 00:26:5e:e7:e8:78 (oui Unknown), length 300
00:17:20.737266 ARP, Request who-has 192.168.0.50 tell 192.168.0.1, 
length 46
00:17:26.733269 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from 00:26:5e:e7:e8:78 (oui Unknown), length 300
00:17:26.738084 ARP, Request who-has 192.168.0.50 tell 192.168.0.1, 
length 46
00:17:41.733600 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from 00:26:5e:e7:e8:78 (oui Unknown), length 300
00:17:41.738351 ARP, Request who-has 192.168.0.50 tell 192.168.0.1, 
length 46

I'm quite desperate to get it fixed so any ideas/suggestions appreciated.

Michael

-- 
"There cannot be a crisis next week. My schedule is already full." 
-Henry Kissinger


More information about the freebsd-net mailing list