Bug 448932
Summary: | NetworkManager can't connect to WPA encrypted network. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Mauricio Teixeira <mteixeira> | ||||||||
Component: | ipw3945-kmod | Assignee: | John W. Linville <linville> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | desktop-bugs <desktop-bugs> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.2 | CC: | andriusb, helpdesk-rnd, jcm, ltroan, syeghiay | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-01-06 20:05:37 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 447297 | ||||||||||
Attachments: |
|
Description
Mauricio Teixeira
2008-05-29 15:20:25 UTC
Is the AP set to broadcast it's SSID? Can you paste in the 'iwlist eth1 scan' output for your 'homelinux' AP? I won't take my laptop home until the weekend. Will get your information as soon as possible. Ok, paste it in when you have it. Created attachment 321032 [details]
Connect attemps from /var/log/messages
Note that the first attempt was successful, but it could not get an IP from DHCP. I am pretty sure the DHCP server is fine, because it works perfectly if I connect the laptop to the LAN port of the wireless router.
Created attachment 321033 [details]
iwlist
Created attachment 321034 [details]
connection with wpa_supplicant
wpa_supplicant connects fine, but I still can't get an IP from DHCP unless I add an statical IP with "ipconfig", then ping the DHCP server, then run "dhclient" (then it works).
Ok, that sounds more like a driver issue or a dhclient issue, not an NM issue. How are you running dhclient? Just "dhclient eth1"? Since you can ping the DHCP server, the encryption and wireless is all OK, it's either that the DHCP server isn't getting your packets, or you're not getting the DHCP server's replies, or the DHCP server ignores you. DO other machines work with the same DHCP server over wifi? DHCP server is a Fedora 9 machine running dnsmasq. DHCP works fine for devices connected to the ethernet port of the wireless router (the server is connected via wireless), and even for this very same laptop when it is connected to the ethernet port. After I connect using wpa_supplicant, I simply run 'dhclient eth1'. It does not work at first. I need to ifconfig a fixed IP, ping the DHCP server, then 'dhclient eth1' works. Ping from server to client does not work if I set the IP using ifconfig. NetworkManager is able to connect to the wireless router after I 'service ipw3945d restart', but I still can't get DHCP. Yes, sounds like the ipw3945d or the daemon is failing, not NM per se. Can you move this ticket to the proper product? Does another laptop or wireless card work with DHCP over wifi? We need to figure out whether this is the DHCP server not caring about requests from wireless, or whether it's really a driver issue... This works for me on my laptop, which uses this driver. So I would really like to hear the answers to Dan's questions above. Also, we will have two drivers in 5.3 for this device - we are beginning to phase out the ipw3945 kmod and replace it with an in-kernel driver. If the problem persists I can provide some advice once RHEL5.3 ships about how to make the switch over to try that module instead. Jon. This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. Sorry for not getting back before. I decided to update the wireless router firmware, and the problem describe on comment #6 does not happen anymore. I also have a Fedora Rawhire machine connected to the same wireless network just fine (using NM). Now, after firmware update, RHEL5 still refuses to connect using NM (stops on stage 2 of 5), even though wpa+dhclient works flawlessly 10 out ot 10 tries. Not even rmmoding and modprobing again work. Please use the iwl3945 driver from now on. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. Comment for future reference. Everything works well with RHEL 5.3. |