Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant doesn't start on reboot and doesn't run DHCP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Mon Mar 17, 2008 7:52 pm    Post subject: wpa_supplicant doesn't start on reboot and doesn't run DHCP Reply with quote

When I start wpa_supplicant by hand it works.
But it doesn' get started on reboot. And dhcpcd also isn't run.

I guess there is some problem with script that starts it on reboot.

My /etc/conf.d/net file is here:

modules=( "ifconfig" "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
wpa_timeout_wlan0=60
config_wlan0=("dhcp")
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Mon Mar 17, 2008 8:11 pm    Post subject: Reply with quote

Maybe you should look for sth. like this :
Code:
tfoerste@n22 ~ $ grep RC_PLUG_SERVICES= /etc/conf.d/rc
# can set RC_COLDPLUG="yes" and RC_PLUG_SERVICES="!*"
# Example - RC_PLUG_SERVICES="net.wlan !net.*"
RC_PLUG_SERVICES="!*"
?
Back to top
View user's profile Send private message
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Mon Mar 17, 2008 8:47 pm    Post subject: Reply with quote

I've set RC_PLUG_SERVICES="net.wlan0" and wpa_supplicant still didn't start.

What's wrong?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Tue Mar 18, 2008 9:34 am    Post subject: Reply with quote

I would rather set it to "RC_PLUG_SERVICES="!net.wlan0" and would add /etc/init.d/net.wlan0 (symlink to net.lo) to your default level.
I had have similar (timing) problems with my integrated ethernet card b/c the initialization of the module(s) needed to much time during startup phase to complete before dhcp was started.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Mar 20, 2008 7:50 am    Post subject: Reply with quote

What version kernel are you using?

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Thu Mar 20, 2008 4:50 pm    Post subject: Reply with quote

In your /etc/conf.d/net put something like this instead of what you have:
Code:
config_wlan0=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=15

Also, is ndiswrapper loading on boot? Check to see if you have added it to /etc/modules.autoload.d/kernel-2.6

Finally if both those two are set, make sure that your wireless card is detected by typing 'iwconfig'. This should display wlan0 as a wireless interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum