kern/52962: discrepancy between ifconfig and wicontrol w.r.t. ssid
assoc.
Dirk-Willem van Gulik
dirkx at wewbeaving.org
Thu Jun 5 03:10:13 PDT 2003
>Number: 52962
>Category: kern
>Synopsis: discrepancy between ifconfig and wicontrol w.r.t. ssid assoc.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 05 03:10:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dirk-Willem van Gulik
>Release: FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD CNodeRabo.wLeiden.NET 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Tue May 6 01:04:09 CEST 2003 root at xoxo.zorknet.xs4all.nl:/usr/obj/usr/src/sys/WLEIDEN.6316 i386
4x wi0 compliant cards, with known functional/reliable firmware. The issue is observed with Senao and WMP11 cards.
wi0: Intersil Firmware: Primary 1.01.01, Station 1.05.06
wi1: Intersil Firmware: Primary 1.01.01, Station 1.05.06
wi2: Intersil Firmware: Primary 1.01.01, Station 1.05.06
wi3: Intersil Firmware: Primary 1.01.01, Station 1.05.06
>Description:
wi0 and wi2 are both in client mode. ifconfig gives:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 172.16.0.98 netmask 0xfffffffc broadcast 172.16.0.99
ether 00:06:25:a7:a9:42
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: no carrier
ssid il-nw.cetim2.wleiden.net 1:il-nw.cetim2.wleiden.net
stationname 2cetim.Rabo0.wLeiden.NET
channel 0 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
wi2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 172.19.137.1 netmask 0xffffffc0 broadcast 172.19.137.63
inet 172.16.0.101 netmask 0xfffffffc broadcast 172.16.0.103
ether 00:02:6f:03:0b:1b
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: no carrier
ssid n-o.unigor.wleiden.net 1:n-o.unigor.wleiden.net
stationname west.Rabo2.wLeiden.NET
channel 1 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
Note that the status is 'no carrier'. However wi2 is actually associated; as wicontrol -i wi2 confirms (or a quick ping to the the other side)
CNodeRabo# wicontrol -i wi2
NIC serial number: [ SN029033396 ]
Station name: [ west.Rabo2.wLeiden.NET ]
SSID for IBSS creation: [ FreeBSD IBSS ]
Current netname (SSID): [ n-o.unigor.wleiden.net ]
Desired netname (SSID): [ n-o.unigor.wleiden.net ]
Current BSSID: [ 00:02:6f:03:0a:f9 ]
Channel list: [ 1fff ]
IBSS channel: [ 1 ]
Current channel: [ 1 ]
Comms quality/signal/noise: [ 44 68 0 ]
dBm Coms Quality: [ 22 -78 -100 ]
Promiscuous mode: [ Off ]
Process 802.11b Frame: [ Off ]
Intersil-Prism2 based card: [ 1 ]
Port type (1=BSS, 3=ad-hoc): [ 1 ]
MAC address: [ 00:02:6f:03:0b:1b ]
TX rate (selection): [ 3 ]
TX rate (actual speed): [ 11 ]
RTS/CTS handshake threshold: [ 2347 ]
Create IBSS: [ Off ]
Access point density: [ 1 ]
Power Mgmt (1=on, 0=off): [ 0 ]
Max sleep time: [ 100 ]
PRI Identity: [ 21 1 1 1 ]
STA Identity: [ 31 6 1 5 ]
Card ID register: [ 800c 0 1 0 ]
Regulatory Domains: [ eu/au ]
Temperature Range: [ 1 ]
WEP encryption: [ Off ]
TX encryption key: [ 1 ]
Encryption keys: [ ][ ][ ][ ]
>How-To-Repeat:
Unclear exactly what triggers this. It is seen on
a range of machines; with a range of card firmware's
and not always on, say wi2 or wi4. It has been seen
on machines with 3, 4 and 5 wiX cards. And does not
seem to be wi card vendor specific.
>Fix:
Ignore ifconfig and rely on wicontrol
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list