ath/wlan setting country on same line as other configs

Sam Leffler sam at freebsd.org
Thu Mar 26 13:19:49 PDT 2009


John Hay wrote:
> Hi,
>
> Should one in -current be able to set the country with the other ath
> commands? (channel for instance.) I had to split it, to get it to work.
>
> wlans_ath0="wlan0"
> create_args_wlan0="wlanmode adhoc"
> ifconfig_wlan3="country ZA"
> ifconfig_wlan3_alias0="ssid ptabb channel 140 bssid 02:01:ca:fe:12:34"
>   

It's a bug I haven't addressed.  ifconfig needs re-read the channel list 
from the kernel to get the channel #'s.  If you specify the frequency 
instead it should work.

Should be an easy fix if you care to, otherwise filing a PR would help 
it not be lost.

    Sam



More information about the freebsd-current mailing list