View previous topic :: View next topic |
Author |
Message |
GD Tux's lil' helper
Joined: 11 May 2005 Posts: 138 Location: Greece
|
Posted: Fri Aug 21, 2009 8:36 am Post subject: /etc/conf.d/net: wlan0_mode option is not recognised |
|
|
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 |
|
|
GD Tux's lil' helper
Joined: 11 May 2005 Posts: 138 Location: Greece
|
Posted: Sat Aug 22, 2009 1:18 am Post subject: |
|
|
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 |
|
|
|