Hi all,
I run into a silly problem, when I try to set up an interface as a STA, it seems it doesn't like the configuration from the conf file.
I don't know if I'm wrong but it seems the problem regads the "nosbeacon" option.
config 'wifi-device' 'wifi0'
option 'type' 'atheros'
option 'channel' 'auto'
option 'disabled' '0'
option 'diversity' '0'
config 'wifi-iface'
option 'device' 'wifi0'
option 'encryption' 'psk2'
option 'key' 'xxxx'
option 'network' 'lan'
option 'ssid' 'yyyy'
option 'mode' 'sta'
option 'nosbeacon' '1'
root@Mesh2:~# wifi
wlanconfig: ioctl: Input/output error
enable_atheros(wifi0): Failed to set up sta vif
root@Mesh2:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
br-lan no wireless extensions.
With wlanconfig I got:
root@Mesh2:~# wlanconfig ath create wlandev wifi0 wlanmode sta
wlanconfig: ioctl: Input/output error
but if I disable the HW beacon timer:
root@Mesh2:~# wlanconfig ath create wlandev wifi0 wlanmode sta nosbeacon
ath0
root@Mesh2:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
br-lan no wireless extensions.
ath0 IEEE 802.11Tg ESSID:"" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:14 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-93 dBm Noise level=-93 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Do you guys have any clue?
It seems it's not taking into consideration the "option 'nosbeacon' '1' " from the conf file
thanks a lot
M