Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use wpa_supplicant to configure the wireless connection. Now I have a problem in that the network service starts before wpa_supplicant so this happens:

Bringing up interface wlan0:  
Determining IP information for wlan0... failed; no link present.  Check cable?

When I after that restart the network service the wireless connection then gets an IP and works.

I was reading about altering the start order by changing the the start order number in the respective init script. This is it in wpa_suplicant:

# chkconfig:   - 23 88

And this is it in network:

# chkconfig: 2345 10 90

So if I understand correctly I could change the 23 to 9 and it would start before. Is it a good idea?

share|improve this question
Sounds reasonable to me; you can always try, and change it back if it breaks something else. – tink Nov 6 '12 at 1:44
What version of CentOS? CentOS 6 has upstart which can handle this much more easily. – jordanm Nov 6 '12 at 2:08
@jordanm Centos 6 I will search for it. Could you post an answer about it? – Clodoaldo Nov 6 '12 at 11:57

I tried to change the boot priority but it didn't work. There is a bug:


So the solution was to give up on dhcp and set the address static in ifcfg-wlan0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.