OSUI / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 0 forks source link

Wireless channel "Auto" fails for ath9k / mac80211 #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to wireless tab and set channel to "Auto"
2. save and apply
3. watch the output

What is the expected output? What do you see instead?
Expected:
Committing wireless ...
Waiting for the commit to finish...
Reloading wireless ...

Actual:
Committing wireless ...
Waiting for the commit to finish...
Reloading wireless ...
rmdir[ctrl_interface]: No such file or directory
Configuration file: /var/run/hostapd-phy0.conf
Channel not configured (hw_mode/channel in hostapd.conf)
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
Failed to start hostapd for phy0

What version of the product are you using? On what operating system and web
browser?
OpenWRT 8.09 with network-wlan.sh r4823.  Using Firefox 3.6.3

Please provide any additional info below.
Similar to issue 159.  However, it appears that the latest mac80211 driver
also does not support the "Auto channel" feature.
Also, shouldn't this "auto" option be disabled for AP modes?  hostapd does
not support auto channels.

Original issue reported on code.google.com by jakema...@gmail.com on 4 May 2010 at 10:15

GoogleCodeExporter commented 8 years ago
Technically, it appears that the latest ath9k driver doesn't support "Auto". 
Possibly other mac80211 based modules do support it (I am not aware of any). 
However, currently there is no way to distinguish between an ath9k module and 
other
mac80211 based modules (so that it can be enabled on supported modules). 

Original comment by jakema...@gmail.com on 5 May 2010 at 8:04

GoogleCodeExporter commented 8 years ago
hi

this may be related so I am commenting here.. 
I have the bleeding openwrt on dir-825 which has ath9k both 2.4G and 5G 
radios...

I need to set 

wireless.radio1.country=US
wireless.radio1.hwmode=11na
wireless.radio1.channel=165

wireless.radio0.country=US
wireless.radio0.hwmode=11ng
wireless.radio0.channel=10

however no options exist to do that.. also there is no channel setting for >11
which is needed if you have a 5G radio... 

the system can query with

iw list 

and based on its output build the form/options instead of hard-coding..

Mayurehs

Original comment by rajwad...@gmail.com on 31 Jul 2010 at 9:52

GoogleCodeExporter commented 8 years ago
This should be fixed now.

Original comment by kemen04@gmail.com on 21 Mar 2011 at 1:23

GoogleCodeExporter commented 8 years ago

Original comment by kemen04@gmail.com on 21 Mar 2011 at 1:24

GoogleCodeExporter commented 8 years ago
Any update for this issue? thanks

Original comment by haiqing....@gmail.com on 16 Sep 2011 at 2:57