[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: Linksys WMP55AG (ath0) Not Finding Wireless Network
From:       Nick Guenther <kousue () gmail ! com>
Date:       2006-01-23 4:53:10
Message-ID: 98f5a8830601222053j42a989bx2f3a8e3f79375c38 () mail ! gmail ! com
[Download RAW message or body]

> Hello All,

Hello All too,

>
> I've got a Linksys WMP55AG that's refusing to see my wireless network. While
> it's entirely possible that I've misconfigured it, given other somewhat recent
> posts I've seen about problems with ath devices (i.e.
> http://marc.theaimsgroup.com/?l=openbsd-misc&m=113166150212987&w=2), I figure
> it's also possible that there's some sort of a driver bug, which I'd like to
> help fix if it exists.

I have the same problem. I bought a nice D-link DWL-g650B because,
after much googling, I'd read that they had worked for other people.
Unfortunately this is a "B5" with firmware version 2.54. The card
still is identified as an AR5212 chip which means that it's just an
issue of figuring out how to talk to this newest firmware, I hope:

ath0 at cardbus0 dev 0 function 0 "Atheros Communications, Inc.,
AR5001-0000-0000, Wireless LAN Reference Card": irq 11
ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6, FCC1A, address XX:XX:XX:XX:XX:XX

Some links I found are:
http://archives.neohapsis.com/archives/openbsd/2005-08/0403.html -
shows someone with the exact same problem as me.
http://archives.neohapsis.com/archives/openbsd/2005-08/0348.html -
reply to above, suggests that the card is unsupported, however the
post is from august so things may have improved since then.
Unfortunately the poster doesn't give much information except a link
(in a later post) which is now dead. (the link is
http://www.sigmasoft.com/~openbsd/archive/openbsd-misc/200507/msg01101.html
if you want to know; it looks like it's from 200507 in misc but I went
searching in the archives here and couldn't find it)

> My client with the Linksys card shows the following from dmesg:
>
> ath0 at pci1 dev 10 function 0 "Atheros AR5212" rev 0x01: irq 11
> ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC1A, address
> 00:0c:41:16:cb:d4
>
> Going along with "man ath", I figured I could just run "ifconfig ath0 nwid
> kirknet nwkey <my key>" and be good to go. After doing so, I can see that the
> card has picked up the right AP and channel; unfortunately, however, it thinks
> it's not connected to the network:
>
> ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          lladdr 00:0c:41:16:cb:d4
>          media: IEEE802.11 autoselect mode 11b (DS1 mode 11b)
>          status: no network
>          ieee80211: nwid kirknet chan 3 bssid 00:80:c6:e3:72:2c nwkey <my key>
>          inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
>          inet6 fe80::20c:41ff:fe16:cbd4%ath0 prefixlen 64 scopeid 0x2

The card is not actually connected to the AP at this point. All you've
done is told it to look for an AP with a SSID of "kirknet" on channel
3, but it hasn't found it.

> What's particularly strange is the output of "wicontrol wi0 -l" on the
> access point:
> 00:0c:41:16:cb:d4  asid=0620, flags=0<>, caps=0<>, rates=0<>
>
> It's almost as if my Linksys card isn't sending proper associative information
> along to the AP, since it has blank "<>"s where the other three functional
> systems have information about flags, rates, etc.

This seems to be the case. If I turn on debug on the card and do
ifconfig -M ath0 you can see it broadcasting but no results are
returned:

If I set it in HostAP I can't see it from anywhere else.

> If anyone can point out something I've missed or done incorrectly, I'd love to
> hear it (BTW, I've tried setting the media type on my Linksys card manually to
> match the AP, as well as setting the mode to 11b, with no success). If this is
> indicative of some sort of a problem with the ath driver, I'd be interested in
> working with any relevant developer(s) to fix the problem, including taking a
> look at the source myself if someone who doesn't have the time to fix it
> themself pointed me in the general direction of where the problem might be.


I'm new to OpenBSD but I'd be also willing to help figure this out if
someone would point me in the right direction. I'd really like to make
this card work. Along the way it would be nice to fix the "unable to
resume HAL (again)" problem that seems to plauge ath(4)
(e.g. see: From 	Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Subject 	ath0: unable to reset hardware - on latest snapshot
Date 	Wed, 11 Jan 2006 21:36:31 +0100
^ sorry for the awkwardness, I don't know how to reference posts on
mailing lists)

Oh, one last question/comment: I've read that D-link likes to disable
promiscuous mode on their cards, and indeed this happens:
+I can't get any packets if I set promiscuous mode from windows
+At home, I get all packets on my LAN in non-promiscuous
+At school I only pick up broadcast and local packets in non-promiscuous
Why would this be? Would the code that blocks promisc be in the
firmware or driver? If it is a driver issue that would be nice because
once we make ath(4) work with the AR5212 my card should be able to do
promisc (at least from OBSD), right?.

-Nick

My dmesg is:
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 702 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 267866112 (261588K)
avail mem = 237531136 (231964K)
using 3295 buffers containing 13496320 bytes (13180K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/08/03, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 61%
apm0: AC off, battery charge high, estimated 3:02 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbd80/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371 ISA and IDE" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x10000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility M3" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1420 CardBus" rev
0x00: irq 11
cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1420 CardBus" rev
0x00: irq 11
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-220>
wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, 3.7C> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power" rev 0x03 at pci0 dev 7 function 3 not configured
"ESS Maestro 3" rev 0x10 at pci0 dev 8 function 0 not configured
xl0 at pci0 dev 16 function 0 "3Com 3c556 100Base-TX" rev 0x10: irq
11, address XX:XX:XX:XX:XX:1e
tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 11
"3Com V.90 Modem" rev 0x10 at pci0 dev 16 function 1 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ath0 at cardbus0 dev 0 function 0 "Atheros Communications, Inc.,
AR5001-0000-0000, Wireless LAN Reference Card": irq 11
ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6, FCC1A, address XX:XX:XX:XX:XX:91
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ath0: begin active scan
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 2
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 4
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 5
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1
ath0: end active scan
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 2
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 3
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 4
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 5
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1
ath0: end active scan
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6
ath0: end active scan
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 2
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 3
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 4
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 5
ath0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6
ath0: end active scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: end passive scan
ath0: ath_cardbus_power
uhci0: interrupt while not operating ignored

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic