wlan0 media setting resets after ifconfig wlan0 up
Monthadar Al Jaberi
monthadar at gmail.com
Mon May 14 16:42:45 UTC 2012
I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to
fix the media to one specific setting, but the moment I bring wlan up
it changes back to autoselect any idea why?
This is how I do it:
ifconfig wlan0 create wlandev ath0 wlanmode hostap
ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssid tnap100
ifconfig wlan0 up
before I bring wlan0 up, ifconfig shows:
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:6d:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11g
<hostap> (autoselect <hostap>)
status: no carrier
ssid tnap100 channel 7 (2442 MHz 11g)
country US ecm authmode OPEN privacy OFF txpower 21 scanvalid 60
protmode CTS wme burst dtimperiod 1 bintval 0
after wlan0 up:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:6d:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:21:73
country US ecm authmode OPEN privacy OFF txpower 21 scanvalid 60
protmode CTS wme burst dtimperiod 1
thnx!
--
Monthadar Al Jaberi
More information about the freebsd-wireless
mailing list