From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 20:19:49 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2F82106566B for ; Thu, 26 Mar 2009 20:19:49 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 83C5C8FC25 for ; Thu, 26 Mar 2009 20:19:49 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2QKJmca055668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2009 13:19:49 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49CBE364.8080504@freebsd.org> Date: Thu, 26 Mar 2009 13:19:48 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: John Hay References: <20090326195445.GA59608@zibbi.meraka.csir.co.za> In-Reply-To: <20090326195445.GA59608@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org Subject: Re: ath/wlan setting country on same line as other configs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 20:19:49 -0000 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