From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 5 03:10:13 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 783EA37B401 for ; Thu, 5 Jun 2003 03:10:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99DE843F85 for ; Thu, 5 Jun 2003 03:10:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h55AABUp017096 for ; Thu, 5 Jun 2003 03:10:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h55AABD1017095; Thu, 5 Jun 2003 03:10:11 -0700 (PDT) Resent-Date: Thu, 5 Jun 2003 03:10:11 -0700 (PDT) Resent-Message-Id: <200306051010.h55AABD1017095@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dirk-Willem van Gulik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0907437B401 for ; Thu, 5 Jun 2003 03:04:52 -0700 (PDT) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FD2D43F93 for ; Thu, 5 Jun 2003 03:04:46 -0700 (PDT) (envelope-from dirkx@foem.leiden.webweaving.org) Received: from foem.leiden.webweaving.org (IDENT:chuckwebweaving.org@localhost [127.0.0.1])h55A4iv6010897; Thu, 5 Jun 2003 12:04:44 +0200 (CEST) (envelope-from dirkx@foem.leiden.webweaving.org) Received: (from dirkx@localhost)h55A4iRw010896; Thu, 5 Jun 2003 12:04:44 +0200 (CEST) Message-Id: <200306051004.h55A4iRw010896@foem.leiden.webweaving.org> Date: Thu, 5 Jun 2003 12:04:44 +0200 (CEST) From: Dirk-Willem van Gulik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: techniek@wirelessleiden.nl Subject: kern/52962: discrepancy between ifconfig and wicontrol w.r.t. ssid assoc. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dirk-Willem van Gulik List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 10:10:13 -0000 >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@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 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 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: