ifconfig channel assignment for wi hostap interface
Huub Schuurmans
huubsch at xs4all.nl
Sun Oct 18 15:12:12 UTC 2009
I have a problem with the channel configuration of wi-interfaces in
rc.conf. In hostap mode the interface is always using channel 1.
The statement:
ifconfig_wi0="inet 172.17.16.1/26 ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap channel 7"
results in an ap-interface running at channel 1.
I found that splitting the statement in the startup script is effective in setting the proper channel:
ifconfig_wi0="inet 172.17.16.1/26 ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap"
ifconfig_wi0_alias0="channel 7"
Now the ap is indeed using channel 7.
I am running 7.2-RELEASE-p4
A bug in the wi-driver?
Kind regards,
Huub
More information about the freebsd-stable
mailing list