This is how I got my DELL E1705 to connect to my 802.11G wifi router.
- Run the following to generate the wpa_supplicant.conf
wpa_passphrase luke >> /etc/wpa_supplicant/wpa_supplicant.conf
- Edit /etc/wpa_supplicant/wpa_supplicant.conf and ensure no dummy session like this exists
network {
...
...
} - Ensure "ONBOOT=yes " in /etc/sysconfig/network-scripts/ifcfg-wlan0
- Edit /etc/sysconfig/wpa_supplicant and make sure these are the values set in it
INTERFACES="-iwlan0"
Driver="-Dwext" - Go to /etc/rc.d/rc5.d/ and do the following
mv S12wpa_supplicant S09wpa_supplicant
- Go to /etc/rc.d/rc3.d/ and repeat the above step
- As root run the following
chkconfig wpa_supplicant on
chkconfig NetworkManager off
chkconfig NetworkManagerDispatcher off
To summarize - this is what we are doing
- Ensure wpa_supplicant is configured properly - this is the heart of the connection
- Ensure the interface is started on boot up - we wont have a network without it ;)
- Ensure wpa_supplicant enables the correct interface and uses the right driver
- There is no reason why the wpa_supplicant should wait for networking to startup. We have all the reason for it to be ready before we try to enable any wireless interface.
- NetworkManager is an alternate solution if you dont want to tweak with wpa_supplicant. You would use it you don't like touching configuration files nor do you care for having wifi as the only network available on bootup. Remember NetworkManager kicks in only after you log into your account.
2 comments:
To remain coherent in step 5 I'd rather advise you to edit source file /etc/init.d/wpa_supplicant and replace digit 12 to 09 in the header (5-th line) and perform next system command, it'll rebuild symlinks:
$ sudo /sbin/chkconfig --level 35 wpa_supplicant on
Actually it's not perfect anyway, somebody need to submit bugreport to Fedora.
I've looked up Bugzilla and found that this bug is very long standing, since F5, in despite of the obvious necessity of the fix... See #244029
Post a Comment