From owner-freebsd-wireless@FreeBSD.ORG Fri May 25 10:20:06 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 794DC1065670 for ; Fri, 25 May 2012 10:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6383A8FC0A for ; Fri, 25 May 2012 10:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4PAK5mv037757 for ; Fri, 25 May 2012 10:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4PAK54d037756; Fri, 25 May 2012 10:20:05 GMT (envelope-from gnats) Date: Fri, 25 May 2012 10:20:05 GMT Message-Id: <201205251020.q4PAK54d037756@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org From: Johann Hugo Cc: Subject: Re: kern/167798: ifconfig(8): problem with "ifconfig list scan" command in ad-hoc mode X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johann Hugo List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 10:20:06 -0000 The following reply was made to PR kern/167798; it has been noted by GNATS. From: Johann Hugo To: bug-followup@freebsd.org Cc: jhugo@meraka.csir.co.za, Adrian Chadd Subject: Re: kern/167798: ifconfig(8): problem with "ifconfig list scan" command in ad-hoc mode Date: Fri, 25 May 2012 12:14:42 +0200 --Boundary-01=_Su1vPhBSl1WyPgR Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I found a way to get it to work with the channel that was manually set and I can get it to stop stop working again. ------------------------------------------------------------------ Configure adapter (no output): ------------------------------------------------------------------ mesh-284f:~ # ifconfig wlan0 channel 13 ssid test bssid 66:98:40:46:b7:0a up mesh-284f:~ # ifconfig wlan0 list scan ------------------------------------------------------------------ Get it to work: ------------------------------------------------------------------ mesh-284f:~ # ifconfig wlan0 channel -; ifconfig wlan0 channel 13 mesh-284f:~ # ifconfig wlan0 list scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS meraka 0a:02:6f:8b:b6:93 11 54M -86:-96 100 EPS WME RSN ATH CSIR Guest 06:02:6f:8b:b6:93 11 54M -86:-96 100 ES WME ATH CSIR Wireless 00:02:6f:8b:b6:93 11 54M -87:-96 100 EPS WME RSN ATH eduroam 0e:02:6f:8b:b6:93 11 54M -87:-96 100 EPS WME RSN ATH ------------------------------------------------------------------ Get it to stop working (no output): ------------------------------------------------------------------ mesh-284f:~ # ifconfig wlan0 down; ifconfig wlan0 up mesh-284f:~ # ifconfig wlan0 list scan --Boundary-01=_Su1vPhBSl1WyPgR Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

I found a way to get it to work with the channel that was manually set

and I can get it to stop stop working again.

 

------------------------------------------------------------------

Configure adapter (no output):

------------------------------------------------------------------

mesh-284f:~ # ifconfig wlan0 channel 13 ssid test bssid 66:98:40:46:b7:0a up

mesh-284f:~ # ifconfig wlan0 list scan

 

------------------------------------------------------------------

Get it to work:

------------------------------------------------------------------

mesh-284f:~ # ifconfig wlan0 channel -; ifconfig wlan0 channel 13

mesh-284f:~ # ifconfig wlan0 list scan

SSID/MESH ID BSSID CHAN RATE S:N INT CAPS

meraka 0a:02:6f:8b:b6:93 11 54M -86:-96 100 EPS WME RSN ATH

CSIR Guest 06:02:6f:8b:b6:93 11 54M -86:-96 100 ES WME ATH

CSIR Wireless 00:02:6f:8b:b6:93 11 54M -87:-96 100 EPS WME RSN ATH

eduroam 0e:02:6f:8b:b6:93 11 54M -87:-96 100 EPS WME RSN ATH

 

------------------------------------------------------------------

Get it to stop working (no output):

------------------------------------------------------------------

mesh-284f:~ # ifconfig wlan0 down; ifconfig wlan0 up

mesh-284f:~ # ifconfig wlan0 list scan

 

--Boundary-01=_Su1vPhBSl1WyPgR--