Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 13:19:48 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        John Hay <jhay@meraka.org.za>
Cc:        current@freebsd.org
Subject:   Re: ath/wlan setting country on same line as other configs
Message-ID:  <49CBE364.8080504@freebsd.org>
In-Reply-To: <20090326195445.GA59608@zibbi.meraka.csir.co.za>
References:  <20090326195445.GA59608@zibbi.meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CBE364.8080504>