Re: ath/wlan setting country on same line as other configs

From: Sam Leffler <sam_at_freebsd.org>
Date: Thu, 26 Mar 2009 13:19:48 -0700
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
Received on Thu Mar 26 2009 - 19:19:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC