View Full Version : No wireless DHCP
dpgamer
2007-12-21, 05:59 PM CST
On my HP dv9000 laptop I can connect to my wireless network using the network manager, but it fails when it tries to get an ip address. The chipset is a bcm4312, and I have it setup using ndiswrapper. According to both my access point and iwconfig it connects to the access point perfectly fine. The oddest part is that when I turn off WPA/2 encryption, it connects and receives an ip address without problem. I've tried setting a static ip and setting the static ip in my dhcpd.conf file on my router but it still doesn't work. Any help is appreciated.
Brian1
2007-12-21, 06:51 PM CST
What do you have in /etc/wpa_supplicant/wpa_supplicant.conf
Also post your wpa_supplicant command you are using. ndiswrapper old version went by ndiswrapper and the new one is wext.
Brian
dpgamer
2007-12-21, 09:41 PM CST
All that's in my wpa_supplicant.conf file is this:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
Also I'm not sure what you mean by wpa_supplicant comand, I'm just connecting using the gnome network manager.
Brian1
2007-12-23, 08:24 AM CST
Never used NetworkManager so not sure what to check. I always manually configure networking from the command line.
Brian
temporalmaniac
2008-01-01, 03:46 PM CST
I think I have a similar issue. I, too, have an HP dv9000-series laptop with the same wireless hardware using ndiswrapper.
When I try connecting to a wireless network, like my home network, the nm-applet icon shows that it has found the access point, and mousing over it shows that it is looking for a network address. It doesn't get one, so it prompts me for the wireless secrets/info, which I have re-entered numerous times.
The strange thing is that it used to work wonderfully, but suddenly failed while connected and dropped the connection. I am now left with two options: tether myself to the wall using the wired connection (working) or boot into Vista, which I keep caged on another hard drive.
I think that this may have be triggered by an update, but I don't know which one or where to find a log of recently-installed updates.
scottro
2008-01-01, 06:07 PM CST
Quite possibly, especially if networkmanager makes use of wpa_supplicant. I have a page on what I did at http://home.nyc.rr.com/computertaijutsu/rhwireless.html but it's about using wpa_supplicant's text configuration file--I don't use networkmanager so can't be much help there.
stevea
2008-01-01, 08:15 PM CST
On my HP dv9000 laptop I can connect to my wireless network using the network manager, but it fails when it tries to get an ip address. The chipset is a bcm4312, and I have it setup using ndiswrapper. According to both my access point and iwconfig it connects to the access point perfectly fine. The oddest part is that when I turn off WPA/2 encryption, it connects and receives an ip address without problem. I've tried setting a static ip and setting the static ip in my dhcpd.conf file on my router but it still doesn't work. Any help is appreciated.
NM does NOT use the /etc/wpa_supplicant/wpa_supplicant.conf. It's writes it's own config based on the NM setup.
"Connect" isn't the right term here - it's "associate" - when your wireless and WAP agree to talk they associate, then comes the WPA2 authentication which seems to fail in your case. My hunch fronm your statement is that you have a NON-WPA2 config setup for your WAP and so the authentication and the DHCP and everything else fails - tho' the association succeeds.
Set the WAP to WPA2. Left-click the NM icon and select "connect to other wireless network", enter the ESSID as the network name. Select "WPA & WPA2 Personal" as the "Wireless Security" method. Enter the password carefully and check w/ "show password". THen try to connect.
If this fails post the /var/log/messages for NM messages.
temporalmaniac
2008-01-03, 08:50 AM CST
So, I'm back at school, where the wireless (both non-secure and 802.1X-secure) are working fine. I think that something may have been wrong with the WAP at home, as stevea suggests.
It confuses me, though, that I could initially connect and associate with no problem, but one day the WAP would refuse me. Apparently, it didn't even ask the router to give me an address.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.