Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] avoid net.wlan0 to go into background
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Tue Jan 05, 2010 11:47 am    Post subject: [solved] avoid net.wlan0 to go into background Reply with quote

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
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Feb 02, 2010 3:02 am    Post subject: Reply with quote

I don't think you can keep it in the foreground with wpa_supplicant.
Back to top
View user's profile Send private message
kimmie
Guru
Guru


Joined: 08 Sep 2004
Posts: 531
Location: Australia

PostPosted: Tue Feb 02, 2010 5:04 am    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Tue Feb 02, 2010 8:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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