wireless WPA at boot time

Mike mike.cloaked at gmail.com
Sun May 18 15:28:19 UTC 2008


Andrea <mariofutire <at> googlemail.com> writes:

> In Fedora 7 I had to change:
> 1) service order of wpa_supplicant so that it starts before the network
> 2) "ifup-wireless" in /etc/sysconfig/network-scripts to work properly with WPA
> 
> What do people do?

What I do is to get my wpa_supplicant config working -
(/etc/wpa_supplicant/wpa_supplicant.conf and /etc/sysconfig/wpa_supplicant)
such that "service wpa_supplicant start" (as root) does work correctly.
Then set it to start at boot using "chkconfig wpa_supplicant on"

Next I use dhclient to get an ip address - test by doing 
dhclient wlan0 
or equivalent  - once it works then I add two lines to /etc/rc.local
/bin/sleep 2
/sbin/dhclient wlan0

then it all works irrespective of the desktop and I don't need to worry about it
any more... works in KDE or GNOME...

HTH






More information about the fedora-list mailing list