From owner-freebsd-stable@FreeBSD.ORG Sun Oct 18 15:12:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC221065676 for ; Sun, 18 Oct 2009 15:12:12 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 521A38FC1A for ; Sun, 18 Oct 2009 15:12:12 +0000 (UTC) Received: from [192.168.1.22] (a80-101-32-233.adsl.xs4all.nl [80.101.32.233]) (authenticated bits=0) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9IErQGF053252 for ; Sun, 18 Oct 2009 16:53:27 +0200 (CEST) (envelope-from huubsch@xs4all.nl) From: Huub Schuurmans To: freebsd-stable@freebsd.org Content-Type: text/plain Date: Sun, 18 Oct 2009 16:53:08 +0200 Message-Id: <1255877588.7383.30.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3-1.1mdv2009.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: ifconfig channel assignment for wi hostap interface X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 15:12:12 -0000 I have a problem with the channel configuration of wi-interfaces in rc.conf. In hostap mode the interface is always using channel 1. The statement: ifconfig_wi0="inet 172.17.16.1/26 ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap channel 7" results in an ap-interface running at channel 1. I found that splitting the statement in the startup script is effective in setting the proper channel: ifconfig_wi0="inet 172.17.16.1/26 ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap" ifconfig_wi0_alias0="channel 7" Now the ap is indeed using channel 7. I am running 7.2-RELEASE-p4 A bug in the wi-driver? Kind regards, Huub