Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/conf.d/net: wlan0_mode option is not recognised
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
GD
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 138
Location: Greece

PostPosted: Fri Aug 21, 2009 8:36 am    Post subject: /etc/conf.d/net: wlan0_mode option is not recognised Reply with quote

hello..

I've run into this weird issue with conf.d/net:

Driver used: hostap_pci
/etc/conf.d/net:
Code:
config_wlan0=( "null" )
channel_wlan0="7"
essid_wlan0="mhtprong"
mode_wlan0="master"
modules=( "iwconfig" "!wpa_supplicant" )


upon starting wlan0 i get:
Code:
* Caching service dependencies...                                                                                                                                                                                                      [ ok ]
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.


However, setting the mode manually via iwconfig works perfectly. Perhaps the problem lies in that iwconfig will accept "Master" as an argument instead of "master"? the init script will complain if mode_wlan0="Master" is used. On the other hand mode_wlan0="master" produces the error quoted above.
Back to top
View user's profile Send private message
GD
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 138
Location: Greece

PostPosted: Sat Aug 22, 2009 1:18 am    Post subject: Reply with quote

Same error with ath5k and an Atheros card... However if I omit the mode_wlan0 option (even though master mode is already set via iwconfig) the ap fails to start cause the init script tries to connect to an accept point in managed mode (which is the same behaviour as when hostap is used).
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