View previous topic :: View next topic |
Author |
Message |
jerrry94087 n00b
Joined: 02 Mar 2008 Posts: 41
|
Posted: Mon Mar 17, 2008 7:52 pm Post subject: wpa_supplicant doesn't start on reboot and doesn't run DHCP |
|
|
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 |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
Posted: Mon Mar 17, 2008 8:11 pm Post subject: |
|
|
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 |
|
|
jerrry94087 n00b
Joined: 02 Mar 2008 Posts: 41
|
Posted: Mon Mar 17, 2008 8:47 pm Post subject: |
|
|
I've set RC_PLUG_SERVICES="net.wlan0" and wpa_supplicant still didn't start.
What's wrong? |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
Posted: Tue Mar 18, 2008 9:34 am Post subject: |
|
|
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 |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Mar 20, 2008 7:50 am Post subject: |
|
|
What version kernel are you using?
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Mar 20, 2008 4:50 pm Post subject: |
|
|
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 |
|
|
|