misc/167870: [ath] adhoc wifi client does not join an existing IBSS
if channel set manually
Johann
jhugo at meraka.csir.co.za
Mon May 14 12:20:09 UTC 2012
>Number: 167870
>Category: misc
>Synopsis: [ath] adhoc wifi client does not join an existing IBSS if channel set manually
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 14 12:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Johann
>Release: 9.0-STABLE
>Organization:
CSIR
>Environment:
FreeBSD mesh-2aee 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue Feb 14 09:13:11 SAST 2012 jhay at magrathea.meraka.csir.co.za:/var/scratch/9-stable/obj/i386.i386/var/scratch/9-stable/src/sys/SMALL i386
>Description:
When the channel is manually set with "ifconfig wlanX channel Y" for an Adhoc wifi client, then it does not join an existing IBSS (bssid not set).
If the channel was not configured (bssid not set), then it works.
>How-To-Repeat:
Node A:
ifconfig wlan0 create wlandev ath0 wlanmode adhoc
ifconfig wlan0 inet 192.168.0.1/24 ssid mesh channel 13 bssid 66:98:40:46:b7:0a up
ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:80:48:4f:28:4f
inet6 fe80::280:48ff:fe4f:284f%wlan0 prefixlen 64 scopeid 0x7
inet6 fd9c:6829:597c:20:280:48ff:fe4f:284f prefixlen 64
inet6 fd9c:6829:597c:20:: prefixlen 64 anycast
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
status: running
ssid mesh channel 13 (2472 MHz 11g) bssid 66:98:40:46:b7:0a
regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30
scanvalid 60 protmode CTS wme burst
Node B: - with channel set (selects random bssid 72:5e:d0:6d:ad:84)
ifconfig wlan0 create wlandev ath0 wlanmode adhoc
ifconfig wlan0 inet 192.168.0.1/24 ssid mesh channel 13 up
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:80:48:4f:2a:ee
inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7
inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64
inet6 fd9c:6829:597c:20:: prefixlen 64 anycast
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
status: running
ssid mesh channel 13 (2472 MHz 11g) bssid 72:5e:d0:6d:ad:84
regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30
scanvalid 60 protmode CTS wme burst
Node B: - with no channel set (joins existing IBSS - bssid 66:98:40:46:b7:0a)
ifconfig wlan0 down
ifconfig wlan0 channel -
ifconfig wlan0 up
ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:80:48:4f:2a:ee
inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7
inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64
inet6 fd9c:6829:597c:20:: prefixlen 64 anycast
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
status: running
ssid mesh channel 13 (2472 MHz 11g) bssid 66:98:40:46:b7:0a
regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30
scanvalid 60 protmode CTS wme burst
Node B: with fixed channel ((selects random bssid 1a:34:1f:0a:b2:a8)
ifconfig wlan0 down
ifconfig wlan0 channel 13
ifconfig wlan0 up
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:80:48:4f:2a:ee
inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7
inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64
inet6 fd9c:6829:597c:20:: prefixlen 64 anycast
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
status: running
ssid mesh channel 13 (2472 MHz 11g) bssid 1a:34:1f:0a:b2:a8
regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30
scanvalid 60 protmode CTS wme burst
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list