kern/167798: ifconfig(8): problem with "ifconfig list scan"
command in ad-hoc mode
Johann Hugo
jhugo at meraka.csir.co.za
Fri May 25 10:20:06 UTC 2012
The following reply was made to PR kern/167798; it has been noted by GNATS.
From: Johann Hugo <jhugo at meraka.csir.co.za>
To: bug-followup at freebsd.org
Cc: jhugo at meraka.csir.co.za,
Adrian Chadd <adrian at 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; "> </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; "> </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; "> </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; "> </p></body></html>
--Boundary-01=_Su1vPhBSl1WyPgR--
More information about the freebsd-wireless
mailing list