Red Hat Bugzilla – Bug 425021
start wifi connection with WPA2_Personal and DHCP at boot
Last modified: 2007-12-24 17:34:03 EST
Description of problem:
Wrong order of starting services: network(10 90), wpa_supplicant(12 88),
messagebus(22 85) cause problem to start wifi connection at boot time if
wpa_supplicant is required.
Right order, as I understand, should be: messagebus(08 92), wpa_supplicant(09
91), network(10 90).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup autorization on wifi access point (as example WPA2_Personal)
2. Setup autorization wifi connection by wpa_supplicant on Linux host
3. Setup wifi interface by /etc/sysconfig/network-scripts/ifcfg-xxxx as example
4. Reboot the system.
wifi interface can not receive IP address (timeout)
wpa_supplicant is stopped
wpa_supplicant is started
wifi interface have IP address by DHCP.
The initscripts are ordered according to the dependencies specified in them.
I've noticed the same since upgrading to Fedora 8. On Fedora 7, I could start
wpa_supplicant during boot, now on 8, I can't. The diff between the two init
scripts is as follows:
# diff /tmp/wpa_supplicant (f7) /etc/init.d/wpa_supplicant (f8)
< # Check that networking is up.
< [ "$NETWORKING" = "no" ] && exit 0
< [ "$INTERFACES" != "" ] || exit 0
< [ "$DRIVERS" != "" ] || exit 0
< echo -n $"Starting $prog: "
< daemon $prog -c $conf $INTERFACES $DRIVERS -B
> echo -n $"Starting $prog: $conf, $INTERFACES, $DRIVERS"
> daemon $prog -c $conf $INTERFACES $DRIVERS -B -u -f
The error message when wpa_supplicant is started at boot is:
Iniciando wpa_supplicant: /etc/wpa_supplicant/wpa_supplicant.conf,
,dbus_bus_get[ctrl_iface_dbus]: No such file or directory.
(After /etc/wpa_supplicant/wpa_supplicant.conf, there is a comma, a space, and
This did not occur with Fedora 7.
Said file has the following contents (key removed)
*** This bug has been marked as a duplicate of 244029 ***