View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005794||CentOS-6||wpa_supplicant||public||2012-06-23 11:49||2012-06-23 11:49|
|Platform||x86_64||OS||Centos 6||OS Version||6.2|
|Summary||0005794: wpa_supplicant starts after network, therefore wlan0 cannot obtain ip address through DHCP|
I had a minor issue with wpa_supplicant and wireless configuration.
Because wpa_supplicant starts after network, dhcp is unable to obtain an ip address for the wireless interface, due to wireless not authenticated.
First I thought it'd be easily fixed by moving S23wpa_supplicant to S09wpa_supplicant, to start before network (S10), but wpa_supplicant wouldn't start.
I found a bug report for fedora, which led me to a pretty simple fix. wpa_supplicant requires messagebus, which starts with priority S22, so I moved messagebus to S08 and it now works fine.
The bug mentions a few issues with changing priorities, and, though it was opened against F8, it is still unresolved, so I think it might be a bit of a hard one.
Anyway, at least this will help others stuck in the same issue.
BTW: I'm am not using NetworkManager cause I'm not running X
|Steps To Reproduce||Set-up /etc/wpa_supplicant/wpa_supplicant.conf.|
Set-up /etc/sysconfig/network-scripts/ifcfg-wlan0 (DHCP enabled)
chkconfig NetworkManager off
chkconfig network on
chkconfig wpa_supplicant on
|Tags||No tags attached.|