Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 10:20:05 GMT
From:      Johann Hugo <jhugo@meraka.csir.co.za>
To:        freebsd-wireless@FreeBSD.org
Subject:   Re: kern/167798: ifconfig(8): problem with "ifconfig list scan" command in ad-hoc mode
Message-ID:  <201205251020.q4PAK54d037756@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/167798; it has been noted by GNATS.

From: Johann Hugo <jhugo@meraka.csir.co.za>
To: bug-followup@freebsd.org
Cc: jhugo@meraka.csir.co.za,
 Adrian Chadd <adrian@freebsd.org>
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
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">;
 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
 p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:8pt; font-weight:400; font-style:normal;">
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I found a way to get it to work with the channel that was manually set</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">and I can get it to stop stop working again.</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Configure adapter (no output):</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 channel 13 ssid test bssid 66:98:40:46:b7:0a up</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 list scan</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Get it to work:</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 channel -; ifconfig wlan0 channel 13</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 list scan</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">meraka          0a:02:6f:8b:b6:93   11   54M -86:-96  100 EPS  WME RSN ATH</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">CSIR Guest      06:02:6f:8b:b6:93   11   54M -86:-96  100 ES   WME ATH</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">CSIR Wireless   00:02:6f:8b:b6:93   11   54M -87:-96  100 EPS  WME RSN ATH</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">eduroam         0e:02:6f:8b:b6:93   11   54M -87:-96  100 EPS  WME RSN ATH</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Get it to stop working (no output):</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">------------------------------------------------------------------</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 down; ifconfig wlan0 up</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">mesh-284f:~ # ifconfig wlan0 list scan</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p></body></html>
 --Boundary-01=_Su1vPhBSl1WyPgR--



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