View previous topic :: View next topic |
Author |
Message |
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Tue Jan 05, 2010 11:47 am Post subject: [solved] avoid net.wlan0 to go into background |
|
|
I'd like to have /etc/init.d/net.wlan0 in the foreground while it tries to start but couldn't find the option until now. I'm using wpa_supplicant for it with the following settings : Code: | modules=( "wpa_supplicant" )
wpa_supplicant_eth0="-Dmadwifi"
preferred_aps=( "<name of my company>" )
config_wlan0=("dhcp" )
dhcp_wlan0="nontp"
dhcpcd_wlan0="-L -t 16 -h <hostname>"
|
Last edited by toralf on Tue Feb 02, 2010 8:28 am; edited 1 time in total |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Tue Feb 02, 2010 3:02 am Post subject: |
|
|
I don't think you can keep it in the foreground with wpa_supplicant. |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Tue Feb 02, 2010 5:04 am Post subject: |
|
|
This will make the init script wait forever for association: (/etc/conf.d/net):
Code: | associate_timeout_wlan0=0 |
Or just set it to some reasonable large number, like 60 (secs), just in case the AP is down. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Tue Feb 02, 2010 8:29 am Post subject: |
|
|
kimmie wrote: | This will make the init script wait forever for association: (/etc/conf.d/net):
Code: | associate_timeout_wlan0=0 |
Or just set it to some reasonable large number, like 60 (secs), just in case the AP is down. | thx, that was it. |
|
Back to top |
|
|
|