FC8 networkmanager and WPA
Hello all. I've been struggling the past few days to resolve an issue I'm having. I have followed all the steps in ndiswrapper wiki and had no problems with my box recognizing the wireless adapter. I use network manager to connect to my router. I can connect perfect when my router is set to 'Open' (no security) and I'm able to gain an IP address. However, once I set WPA on the router and try connecting the same exact way through networkmanager, I see that it can't retrieve an IP now. The passphrase I type into networkmanager when it prompts me is correct.
I have wpa_supplicant installed but I have no idea if I have it configured correctly or if I even need to worry about that. I've hit a brick wall. ANy suggestions? Here is some of the output code I get: Code:
Nov 17 05:17:33 localhost NetworkManager: <info> User request for activation of wlan0. |
What is in /etc/wpa-supplicant/wpa_supplicant.conf file
Brian |
Quote:
Welp, I got my networkmanager working now with WPA. It is now connected to my router. But here is my wpa_supplicant.conf. Now iirc, it wont work without the Code:
#psk="mypassphrase" Code:
ctrl_interface=/var/run/wpa_supplicant *edited to fill in psk with bunk numbers/letters* |
I myself don't like NetworkManager. I would do it like this. I don't know how to make NetworkManager to use it. But I have a thought and add this line to the following to the end of /etc/sysconfig/network-scripts/ifup-wireless.
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd Reboot and give NetowrkManager a try this way. ================================================================ If it does not help the only other way I know is manually adding the following to certain files and disable NetworkManager. Disable NetworkManager, run these two commands as root. /sbin/service NetworkManager stop /sbin/chkconfig --level 345 NetworkManager off Load the ndiswrapper module in /etc/modprobe.conf. Add this line to it. alias wlan0 ndiswrapper Next you should have /etc/sysconfig/network-scripts/ifcfg-wlan0 configured for nic. I assume setup as DHCP and ONBOOT=YES. If unsure what should be ther post the contents. If there is a ifcfg-eth0 then make sure it has ONBOOT=NO Now add this line to the end if /etc/sysconfig/network-scripts/ifup-wireless wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd Brian |
Well, I got to test a few things out. The first step did not work for me because this linux box doesn't recognize that I have a wlan0 until I actually go into the terminal and initialize it by doing a:
Code:
iwconfig wlan0 |
If run the same commands just to get it going then add them to the end of /etc/rc.local. It is one of the last things to be run at bootup.
Brian |
I jump the gun here. You did not mention the nic that is invloved and the chipset it is using. Plus the module it uses. I define the wpa_supplicant with the use of Ndiswrapper module. If you have no wlan0 then you may not be using ndiswrapper. This info we need to know to help select the correct -D option for this interface.
Brian |
Quote:
My current process to get there is as follows: ifconfig wlan0 up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf dhclient wlan0 This weekend I'll most likely have time to mess with the code below the equal sign horizontal rule. I'll keep you posted. |
Hi everyone.
For some reason, I have almost the same problem. Only the difference is mine originally worked. After 1 batch of updates that I installed, next time I reboot the laptop, the wireelss is just not working anymore. I usually used NetworkManager and it used to work like a charm, but as I said above, it just stops working. Before I started using NetworkManager, I have been just using the system-config-network and configured the passphrase from there (since mine's just Hex) and I can connect through. But this time I get "failed. Please check cable?" or something similar. Any help would be much appreciated :) |
All times are GMT -5. The time now is 04:34 AM. |