Re: AR5212

2012-05-02 Thread Stuart Henderson
On 2012-05-02, Pavel Shvagirev  wrote:
> Hi everyone
>
> Seems like there were no progress for making AR5212-based Atheros
> Wireless cards 802.11g/n capable. Is there any hope for it in the future?

802.11n on AR5212?

In a word, No.

The net80211(4) layer needs support adding for 802.11n.
When that's done, n-capable cards like athn(4), some ral(4) and
some of the various intel cards might be able to support it.
But AR5212 is a/b/g only hardware.



Re: AR5212

2012-05-02 Thread Pavel Shvagirev
Thanks for the reply.
Actually I thought there were some technical troubles like closed specs
etc..

02.05.2012 12:47, Peter Hessler P=P0P?P8QP0P;:
> Just like everything in OpenBSD, there needs to be people with the
> desire and time to make them work.  We welcome any and all
> contributions.

-- 
Best regards,
Pavel Shvagirev
skype: pavel.shvagirev



Re: AR5212

2012-05-02 Thread Peter Hessler
Just like everything in OpenBSD, there needs to be people with the
desire and time to make them work.  We welcome any and all
contributions.


On 2012 May 02 (Wed) at 12:40:05 +0400 (+0400), Pavel Shvagirev wrote:
:Hi everyone
:
:Seems like there were no progress for making AR5212-based Atheros
:Wireless cards 802.11g/n capable. Is there any hope for it in the future?
:

-- 
"Yeah, but you're taking the universe out of context."



AR5212

2012-05-02 Thread Pavel Shvagirev
Hi everyone

Seems like there were no progress for making AR5212-based Atheros
Wireless cards 802.11g/n capable. Is there any hope for it in the future?



Re: AR5212 WiFi

2012-01-26 Thread David Coppa
On Thu, Jan 26, 2012 at 8:00 PM, Stuart Henderson  wrote:
> On 2012-01-26, David Coppa  wrote:
>> I would advise you to swap your card with another atheros or a ralink one...
>
> The laptop is likely to be BIOS locked to pre-approved cards only.

Thanks god we have modified BIOSes by endeer.cz ;)

ciao,
David



Re: AR5212 WiFi

2012-01-26 Thread Stuart Henderson
On 2012-01-26, David Coppa  wrote:
> I would advise you to swap your card with another atheros or a ralink one...

The laptop is likely to be BIOS locked to pre-approved cards only.



Re: AR5212 WiFi

2012-01-26 Thread David Coppa
On Thu, Jan 26, 2012 at 12:13 PM,   wrote:
> On Thu, 26 Jan 2012 09:05:02 +
> rivo nurges  wrote:
>
>> On Thu, Jan 26, 2012 at 02:29:42PM +1300, m...@extensibl.com wrote:
>>
>> Hi!
>>
>> > The following two lines appear in my dmesg:
>> > ath0 at pci3 dev 0 function 0 "Atheros AR5212 (IBM MiniPCI)" rev
>> > 0x01: apic 1 int 17 ath0: AR5424 10.3 phy 6.1 rf5424 10.2, WOR2W,
>> > address 00:19:7e:92:0a:45
>> >
>> > I am trying to guess which card is installed based on information
>> > from dmesg. And it seems that I have AR5212 card but the driver
>> > treats it as AR5424. Is that assumption correct? Could I ask for
>> > any pointers on what to do next? Is ar5k_ar5212_attach() in
>> > sys/dev/ic/ar5212.c the right place to make any changes?
>>
>> IBM has its own PCI id for Atheros cards and uses a list of acceptable
>> IDs in BIOS, so they can force you to buy one from them. Unfortunately
>> they are using the same id for AR5212 Mini PCI and AR5424 Mini PCI
>> Express chips. Your card is probably Mini PCI-E based AR5424.
>>
>> Search for ah_pci_express in sys/dev/ic/ar5212.c
>>
>> rivo
>
> Thank you Rivo, much appreciated.
> You are right, my WiFi adapter is built on AR5424.
>
>
>
> I disassembled my laptop and found that wireless card is marked as
> 4104A-AR5BXB6. Chip under the cover is Atheros AR5424-AB1A.
>
> Here is a picture of the same card:
> http://www.thinkwiki.org/images/2/26/Atheros_mini_express_wifi.jpg
>
>
>
> The good news is that AR5424 works for me in BSS mode. I have not tested
> it thoroughly, but I am able to download packages/browse web pages
> without any problem. Many thanks to all OpenBSD developers.

I would advise you to swap your card with another atheros or a ralink one...

ciao,
David



Re: AR5212 WiFi

2012-01-26 Thread ml
On Thu, 26 Jan 2012 09:05:02 +
rivo nurges  wrote:

> On Thu, Jan 26, 2012 at 02:29:42PM +1300, m...@extensibl.com wrote:
> 
> Hi!
> 
> > The following two lines appear in my dmesg:
> > ath0 at pci3 dev 0 function 0 "Atheros AR5212 (IBM MiniPCI)" rev
> > 0x01: apic 1 int 17 ath0: AR5424 10.3 phy 6.1 rf5424 10.2, WOR2W,
> > address 00:19:7e:92:0a:45
> > 
> > I am trying to guess which card is installed based on information
> > from dmesg. And it seems that I have AR5212 card but the driver
> > treats it as AR5424. Is that assumption correct? Could I ask for
> > any pointers on what to do next? Is ar5k_ar5212_attach() in
> > sys/dev/ic/ar5212.c the right place to make any changes?
> 
> IBM has its own PCI id for Atheros cards and uses a list of acceptable
> IDs in BIOS, so they can force you to buy one from them. Unfortunately
> they are using the same id for AR5212 Mini PCI and AR5424 Mini PCI
> Express chips. Your card is probably Mini PCI-E based AR5424.
> 
> Search for ah_pci_express in sys/dev/ic/ar5212.c
> 
> rivo

Thank you Rivo, much appreciated. 
You are right, my WiFi adapter is built on AR5424.



I disassembled my laptop and found that wireless card is marked as
4104A-AR5BXB6. Chip under the cover is Atheros AR5424-AB1A.

Here is a picture of the same card:
http://www.thinkwiki.org/images/2/26/Atheros_mini_express_wifi.jpg



The good news is that AR5424 works for me in BSS mode. I have not tested
it thoroughly, but I am able to download packages/browse web pages
without any problem. Many thanks to all OpenBSD developers.


Regards
Alex



Re: AR5212 WiFi

2012-01-26 Thread rivo nurges
On Thu, Jan 26, 2012 at 02:29:42PM +1300, m...@extensibl.com wrote:

Hi!

> The following two lines appear in my dmesg:
> ath0 at pci3 dev 0 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01:
> apic 1 int 17 ath0: AR5424 10.3 phy 6.1 rf5424 10.2, WOR2W, address 
> 00:19:7e:92:0a:45
> 
> I am trying to guess which card is installed based on information from dmesg.
> And it seems that I have AR5212 card but the driver treats it as AR5424.
> Is that assumption correct? Could I ask for any pointers on what to do next?
> Is ar5k_ar5212_attach() in sys/dev/ic/ar5212.c the right place to make any 
> changes?

IBM has its own PCI id for Atheros cards and uses a list of acceptable
IDs in BIOS, so they can force you to buy one from them. Unfortunately
they are using the same id for AR5212 Mini PCI and AR5424 Mini PCI
Express chips. Your card is probably Mini PCI-E based AR5424.

Search for ah_pci_express in sys/dev/ic/ar5212.c

rivo



AR5212 WiFi

2012-01-25 Thread ml
Hi all,

The following two lines appear in my dmesg:
ath0 at pci3 dev 0 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01:
apic 1 int 17 ath0: AR5424 10.3 phy 6.1 rf5424 10.2, WOR2W, address 
00:19:7e:92:0a:45

I am trying to guess which card is installed based on information from dmesg.
And it seems that I have AR5212 card but the driver treats it as AR5424.
Is that assumption correct? Could I ask for any pointers on what to do next?
Is ar5k_ar5212_attach() in sys/dev/ic/ar5212.c the right place to make any 
changes?

My primary aim is to setup wifi card in Host AP mode, which is impossible right 
now (I am getting kernel panics). 
Any suggestions are welcome.

Thanks,
Alex




OpenBSD 5.1-beta (GENERIC) #0: Mon Jan 23 21:14:01 NZDT 2012
root@oo5.oo5:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz ("GenuineIntel" 686-class) 
1.80 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF
real mem  = 2112081920 (2014MB)
avail mem = 2067435520 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/18/07, BIOS32 rev. 0 @ 0xfdc60, SMBIOS 
rev. 2.4 @ 0xe0010 (73 entries)
bios0: vendor LENOVO version "7LET56WW (1.26 )" date 10/18/2007
bios0: LENOVO 7742CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) 
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4522" serial  1577 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 0xd/0x1000 0xe/0x1!
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1801, 1800, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
ppb0 at pci0 dev 1 function 0 "Intel GM965 PCIE" rev 0x0c: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0429 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Intel", unknown product 0x2a04 (class communications subclass 
miscellaneous, rev 0x0c) at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel GM965 PT IDER" rev 0x0c: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel GM965 KT" rev 0x0c at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: msi, address 
00:15:58:84:53:78
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
AD1984
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 20
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 21
pci3 at ppb2 bus 3
ath0 at pci3 dev 0 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: apic 1 
int 17
ath0: AR5424 10.3 phy 6.1 rf5424 10.2, WOR2W, address 00:19:7e:9

Re: Atheros AR5212/AR5213A 802.11a/b/g mini-pci wont do 802.11g hostap

2010-04-07 Thread Olivier Mehani
On Fri, Mar 12, 2010 at 08:16:47AM +1100, Aaron Mason wrote:
> Yeah, this is something I did battle with awhile ago.  I have a laptop
> with an Atheros 5005 based card that I use as a gateway between a
> wired and wireless network.  As far as I know, the ath(4) driver
> doesn't have the ability to do 11g, only 11a and 11b.  Same thing with
> a DCMA81 11abg card.

Yep, the same holds for AR5213A-based cards. I've had a Mini-PCI card in
my Soekris for quite a while, now, but never have been able to set it in
11g mode. It works nicely in 11b, though.

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address XX:XX:XX:XX:XX:XX

bifconfig ath0 mediab does indeed not list 11g as an available mode, and
I notice that ath(4) does not actually mention 5213 chips. Looks like
I'm lucky it's recognized at all.

--
Olivier Mehani 
PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE  F5F9 F012 A6E2 98C6 6655

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-19 Thread David Coppa
On Thu, 18 Mar 2010, Ing. Alexander KrE!ek wrote:

> Same story here.
> 
> After a lot of tries with two different Atheros AR5212/5213 (one CM9 and
> one TP-Link) I bought "Tonze PC-620C" minipci card with Ralink chipset.
> Mission accomplished.

It's not only hostap. I think something gone wrong with ath driver.

This is with

ral0 at pci2 dev 2 function 0 "Ralink RT2561" rev 0x00: irq 10, address 
00:0d:f0:3e:6e:a0
ral0: MAC/BBP RT2561C, RF RT2527

ral0: flags=8843 mtu 1500
lladdr 00:0d:f0:3e:6e:a0
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (OFDM36 mode 11g)
status: active
ieee80211: nwid wlancasa chan 11 bssid 00:0c:f6:34:d8:fc 50dB wpapsk 
 wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp 
100dBm
inet6 fe80::20d:f0ff:fe3e:6ea0%ral0 prefixlen 64 scopeid 0x2
inet 192.168.2.102 netmask 0xff00 broadcast 192.168.2.255

While this is with

ath0 at pci2 dev 2 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 
00:90:96:9b:e3:7b

ath0: flags=8863 mtu 1500
lladdr 00:90:96:9b:e3:7b
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (DS11 mode 11b)
status: active
ieee80211: nwid wlancasa chan 11 bssid 00:0c:f6:34:d8:fc wpapsk  wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
inet6 fe80::290:96ff:fe9b:e37b%ath0 prefixlen 64 scopeid 0x2
inet 192.168.2.103 netmask 0xff00 broadcast 192.168.2.255

Setup is exactly the same: same ap, same environment, same distance from
the ap... I've only swapped cards.

Maybe is it related to this bug reported in the ath(4) manpage?

Performance in lossy environments is suboptimal. The algorithm used to
select the rate for transmitted packets is very simplistic. There is
no software retransmit; only hardware retransmit is used.


Cheers,
David



Re: Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-18 Thread Ing. Alexander
Same story here.

After a lot of tries with two different Atheros AR5212/5213 (one CM9 and
one TP-Link) I bought "Tonze PC-620C" minipci card with Ralink chipset.
Mission accomplished.

Alexander

On Thu, 2010-03-18 at 09:19 -0400, Forman, Jeffrey wrote:
> To tie the knot off on this saga for those on the list and otherwise, the
> Winstrom CM9 card I purchased just would not do 802.11g. Every search I
> performed lead me to this fact, including the output from 'ifconfig ath0
> media.'
> 
> I ended up buying a _much cheaper_ Gigabyte GN-WI01GS mini-pci b/g card
> based upon ral(4) chipset. Running 4.6 stable this setup seems to be working
> great with 802.11g hostap using WPA. The only niggle is that the power seems
> a bit low, that's the one setting I have not been able to get working
> appropriately.
> 
> dmesg related output:
> ral0 at pci0 dev 12 function 0 "Ralink RT2561S" rev 0x00: irq 9, address
> 00:14:85:d3:70:4e
> ral0: MAC/BBP RT2561C, RF RT2527
> 
> hostname.ral0:
> inet 10.10.1.1 255.255.255.0 NONE media autoselect mediaopt hostap mode 11g
> nwid myhomewifi wpa wpapsk redacted wpaakms psk nwflag hidenwid
> 
> Cheers,
> Jeff
> 
> On Thu, Mar 11, 2010 at 5:16 PM, Aaron Mason wrote:
> 
> > Yeah, this is something I did battle with awhile ago.  I have a laptop
> > with an Atheros 5005 based card that I use as a gateway between a
> > wired and wireless network.  As far as I know, the ath(4) driver
> > doesn't have the ability to do 11g, only 11a and 11b.  Same thing with
> > a DCMA81 11abg card.
> >
> > I can't see it being too hard to do, the driver will support OFDM54 -
> > whether this will cooperate with a 802.11g based router I couldn't
> > say.
> >
> > On Thu, Mar 11, 2010 at 2:54 AM, Forman, Jeffrey 
> > wrote:
> > > To do some more testing, I upgraded to the latest i386 snapshot, but
> > seems
> > > that I get the same results. 802.11a/b work, but not g. A subscriber
> > emailed
> > > me off list about forcing "mode 11g" in the hostname.ath0 file, which I
> > did.
> > > But to no avail, that did not work either.
> > >
> > >
> > > On Wed, Mar 10, 2010 at 8:48 AM, Forman, Jeffrey  > >wrote:
> > >
> > >> Hi Misc,
> > >>
> > >> I recently have built myself a pcengines alix single board computer with
> > an
> > >> Winstrom CM9 (atheros ar5212) mini pci wifi card, that according to
> > ath(4)
> > >> supports hostap mode. I believe I have my hostname.ath0 file setup
> > >> correctly, but the card refuses to go into 11g mode, only using 11b/11a.
> > >> When attempting to run "sh /etc/netstart ath0" with the below
> > >> hostnames.ath0, I receive no error message. The card just goes into 11b
> > or
> > >> 11a mode.
> > >>
> > >> Is there something I'm missing, or any debugging I can provide to get
> > this
> > >> functionality working? Currently I am running the 4.6 stable branch on
> > this
> > >> machine.
> > >>
> > >> Thanks,
> > >> Jeff
> > >>
> > >> dmesg:
> > >> OpenBSD 4.6-stable (GENERIC) #2: Sun Mar  7 23:07:23 EST 2010
> > >> r...@builder:/usr/src/sys/arch/i386/compile/GENERIC
> > >> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
> > 586-class)
> > >> 499 MHz
> > >> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
> > >> real mem  = 268009472 (255MB)
> > >> avail mem = 250335232 (238MB)
> > >> mainbus0 at root
> > >> bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
> > >> pcibios0 at bios0: rev 2.1 @ 0xf/0x1
> > >> pcibios0: pcibios_get_intr_routing - function not supported
> > >> pcibios0: PCI IRQ Routing information unavailable.
> > >> pcibios0: PCI bus #0 is the last bus
> > >> bios0: ROM list: 0xe/0xa800
> > >> cpu0 at mainbus0: (uniprocessor)
> > >> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> > >> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
> > >> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
> > >> vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
> > >> address 00:0d:b9:1b:b6:4c
> > >> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> > >> 0x004063, model 0x0034
> >

Re: Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-18 Thread Forman, Jeffrey
To tie the knot off on this saga for those on the list and otherwise, the
Winstrom CM9 card I purchased just would not do 802.11g. Every search I
performed lead me to this fact, including the output from 'ifconfig ath0
media.'

I ended up buying a _much cheaper_ Gigabyte GN-WI01GS mini-pci b/g card
based upon ral(4) chipset. Running 4.6 stable this setup seems to be working
great with 802.11g hostap using WPA. The only niggle is that the power seems
a bit low, that's the one setting I have not been able to get working
appropriately.

dmesg related output:
ral0 at pci0 dev 12 function 0 "Ralink RT2561S" rev 0x00: irq 9, address
00:14:85:d3:70:4e
ral0: MAC/BBP RT2561C, RF RT2527

hostname.ral0:
inet 10.10.1.1 255.255.255.0 NONE media autoselect mediaopt hostap mode 11g
nwid myhomewifi wpa wpapsk redacted wpaakms psk nwflag hidenwid

Cheers,
Jeff

On Thu, Mar 11, 2010 at 5:16 PM, Aaron Mason wrote:

> Yeah, this is something I did battle with awhile ago.  I have a laptop
> with an Atheros 5005 based card that I use as a gateway between a
> wired and wireless network.  As far as I know, the ath(4) driver
> doesn't have the ability to do 11g, only 11a and 11b.  Same thing with
> a DCMA81 11abg card.
>
> I can't see it being too hard to do, the driver will support OFDM54 -
> whether this will cooperate with a 802.11g based router I couldn't
> say.
>
> On Thu, Mar 11, 2010 at 2:54 AM, Forman, Jeffrey 
> wrote:
> > To do some more testing, I upgraded to the latest i386 snapshot, but
> seems
> > that I get the same results. 802.11a/b work, but not g. A subscriber
> emailed
> > me off list about forcing "mode 11g" in the hostname.ath0 file, which I
> did.
> > But to no avail, that did not work either.
> >
> >
> > On Wed, Mar 10, 2010 at 8:48 AM, Forman, Jeffrey  >wrote:
> >
> >> Hi Misc,
> >>
> >> I recently have built myself a pcengines alix single board computer with
> an
> >> Winstrom CM9 (atheros ar5212) mini pci wifi card, that according to
> ath(4)
> >> supports hostap mode. I believe I have my hostname.ath0 file setup
> >> correctly, but the card refuses to go into 11g mode, only using 11b/11a.
> >> When attempting to run "sh /etc/netstart ath0" with the below
> >> hostnames.ath0, I receive no error message. The card just goes into 11b
> or
> >> 11a mode.
> >>
> >> Is there something I'm missing, or any debugging I can provide to get
> this
> >> functionality working? Currently I am running the 4.6 stable branch on
> this
> >> machine.
> >>
> >> Thanks,
> >> Jeff
> >>
> >> dmesg:
> >> OpenBSD 4.6-stable (GENERIC) #2: Sun Mar  7 23:07:23 EST 2010
> >> r...@builder:/usr/src/sys/arch/i386/compile/GENERIC
> >> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
> 586-class)
> >> 499 MHz
> >> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
> >> real mem  = 268009472 (255MB)
> >> avail mem = 250335232 (238MB)
> >> mainbus0 at root
> >> bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
> >> pcibios0 at bios0: rev 2.1 @ 0xf/0x1
> >> pcibios0: pcibios_get_intr_routing - function not supported
> >> pcibios0: PCI IRQ Routing information unavailable.
> >> pcibios0: PCI bus #0 is the last bus
> >> bios0: ROM list: 0xe/0xa800
> >> cpu0 at mainbus0: (uniprocessor)
> >> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> >> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
> >> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
> >> vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
> >> address 00:0d:b9:1b:b6:4c
> >> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> >> 0x004063, model 0x0034
> >> vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
> >> address 00:0d:b9:1b:b6:4d
> >> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> >> 0x004063, model 0x0034
> >> vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15,
> >> address 00:0d:b9:1b:b6:4e
> >> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> >> 0x004063, model 0x0034
> >> ath0 at pci0 dev 12 function 0 "Atheros AR5212" rev 0x01: irq 9
> >> ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:1b:b1:02:de:ad
> >> glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 I

Re: Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-11 Thread Aaron Mason
Yeah, this is something I did battle with awhile ago.  I have a laptop
with an Atheros 5005 based card that I use as a gateway between a
wired and wireless network.  As far as I know, the ath(4) driver
doesn't have the ability to do 11g, only 11a and 11b.  Same thing with
a DCMA81 11abg card.

I can't see it being too hard to do, the driver will support OFDM54 -
whether this will cooperate with a 802.11g based router I couldn't
say.

On Thu, Mar 11, 2010 at 2:54 AM, Forman, Jeffrey 
wrote:
> To do some more testing, I upgraded to the latest i386 snapshot, but seems
> that I get the same results. 802.11a/b work, but not g. A subscriber
emailed
> me off list about forcing "mode 11g" in the hostname.ath0 file, which I
did.
> But to no avail, that did not work either.
>
>
> On Wed, Mar 10, 2010 at 8:48 AM, Forman, Jeffrey
wrote:
>
>> Hi Misc,
>>
>> I recently have built myself a pcengines alix single board computer with
an
>> Winstrom CM9 (atheros ar5212) mini pci wifi card, that according to ath(4)
>> supports hostap mode. I believe I have my hostname.ath0 file setup
>> correctly, but the card refuses to go into 11g mode, only using 11b/11a.
>> When attempting to run "sh /etc/netstart ath0" with the below
>> hostnames.ath0, I receive no error message. The card just goes into 11b or
>> 11a mode.
>>
>> Is there something I'm missing, or any debugging I can provide to get this
>> functionality working? Currently I am running the 4.6 stable branch on
this
>> machine.
>>
>> Thanks,
>> Jeff
>>
>> dmesg:
>> OpenBSD 4.6-stable (GENERIC) #2: Sun Mar  7 23:07:23 EST 2010
>> r...@builder:/usr/src/sys/arch/i386/compile/GENERIC
>> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class)
>> 499 MHz
>> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
>> real mem  = 268009472 (255MB)
>> avail mem = 250335232 (238MB)
>> mainbus0 at root
>> bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
>> pcibios0 at bios0: rev 2.1 @ 0xf/0x1
>> pcibios0: pcibios_get_intr_routing - function not supported
>> pcibios0: PCI IRQ Routing information unavailable.
>> pcibios0: PCI bus #0 is the last bus
>> bios0: ROM list: 0xe/0xa800
>> cpu0 at mainbus0: (uniprocessor)
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
>> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
>> vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
>> address 00:0d:b9:1b:b6:4c
>> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
>> 0x004063, model 0x0034
>> vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
>> address 00:0d:b9:1b:b6:4d
>> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
>> 0x004063, model 0x0034
>> vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15,
>> address 00:0d:b9:1b:b6:4e
>> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
>> 0x004063, model 0x0034
>> ath0 at pci0 dev 12 function 0 "Atheros AR5212" rev 0x01: irq 9
>> ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:1b:b1:02:de:ad
>> glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0,
32-bit
>> 3579545Hz timer, watchdog, gpio
>> gpio0 at glxpcib0: 32 pins
>> pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel
0
>> wired to compatibility, channel 1 wired to compatibility
>> wd0 at pciide0 channel 0 drive 0: 
>> wd0: 1-sector PIO, LBA, 7641MB, 15649200 sectors
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
>> pciide0: channel 1 ignored (disabled)
>> ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version
>> 1.0, legacy support
>> ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
>> isa0 at glxpcib0
>> isadma0 at isa0
>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> com0: console
>> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>> pcppi0 at isa0 port 0x61
>> midi0 at pcppi0: 
>> spkr0 at pcppi0
>> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
>> usb1 at ohci0: USB revision 1.0
>> uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
>> biomask 71e7 netmask ffe7 ttymask 
>>

Re: Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-10 Thread Forman, Jeffrey
To do some more testing, I upgraded to the latest i386 snapshot, but seems
that I get the same results. 802.11a/b work, but not g. A subscriber emailed
me off list about forcing "mode 11g" in the hostname.ath0 file, which I did.
But to no avail, that did not work either.


On Wed, Mar 10, 2010 at 8:48 AM, Forman, Jeffrey wrote:

> Hi Misc,
>
> I recently have built myself a pcengines alix single board computer with an
> Winstrom CM9 (atheros ar5212) mini pci wifi card, that according to ath(4)
> supports hostap mode. I believe I have my hostname.ath0 file setup
> correctly, but the card refuses to go into 11g mode, only using 11b/11a.
> When attempting to run "sh /etc/netstart ath0" with the below
> hostnames.ath0, I receive no error message. The card just goes into 11b or
> 11a mode.
>
> Is there something I'm missing, or any debugging I can provide to get this
> functionality working? Currently I am running the 4.6 stable branch on this
> machine.
>
> Thanks,
> Jeff
>
> dmesg:
> OpenBSD 4.6-stable (GENERIC) #2: Sun Mar  7 23:07:23 EST 2010
> r...@builder:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class)
> 499 MHz
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
> real mem  = 268009472 (255MB)
> avail mem = 250335232 (238MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
> pcibios0 at bios0: rev 2.1 @ 0xf/0x1
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xe/0xa800
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
> vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
> address 00:0d:b9:1b:b6:4c
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
> address 00:0d:b9:1b:b6:4d
> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15,
> address 00:0d:b9:1b:b6:4e
> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> ath0 at pci0 dev 12 function 0 "Atheros AR5212" rev 0x01: irq 9
> ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:1b:b1:02:de:ad
> glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit
> 3579545Hz timer, watchdog, gpio
> gpio0 at glxpcib0: 32 pins
> pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
> wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 1-sector PIO, LBA, 7641MB, 15649200 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> pciide0: channel 1 ignored (disabled)
> ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version
> 1.0, legacy support
> ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> isa0 at glxpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> biomask 71e7 netmask ffe7 ttymask 
> mtrr: K6-family MTRR support (2 registers)
> nvram: invalid checksum
> umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital
> External HDD" rev 2.00/1.75 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0:  SCSI2 0/direct
> fixed
> sd0: 238475MB, 512 bytes/sec, 488397168 sec total
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
>
> # cat
> /etc/hostname.ath0
>
> inet 10.10.1.1 255.255.255.0 10.10.1.255 mediaopt hostap nwid mywifi wpa
> wpaciphers tkip,ccmp wpapsk redacted description "Wireless HostAP"
>
> # ifconfig ath0 media
> ath0: flags=8863 mtu
> 1500
> lladdr 00:1b:b1:de:ad
> description: Wireless HostAP
> priority: 

Atheros AR5212 802.11a/b/g mini-pci wont do 802.11g hostap

2010-03-10 Thread Forman, Jeffrey
Hi Misc,

I recently have built myself a pcengines alix single board computer with an
Winstrom CM9 (atheros ar5212) mini pci wifi card, that according to ath(4)
supports hostap mode. I believe I have my hostname.ath0 file setup
correctly, but the card refuses to go into 11g mode, only using 11b/11a.
When attempting to run "sh /etc/netstart ath0" with the below
hostnames.ath0, I receive no error message. The card just goes into 11b or
11a mode.

Is there something I'm missing, or any debugging I can provide to get this
functionality working? Currently I am running the 4.6 stable branch on this
machine.

Thanks,
Jeff

dmesg:
OpenBSD 4.6-stable (GENERIC) #2: Sun Mar  7 23:07:23 EST 2010
r...@builder:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class)
499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 268009472 (255MB)
avail mem = 250335232 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe/0xa800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
address 00:0d:b9:1b:b6:4c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:0d:b9:1b:b6:4d
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15,
address 00:0d:b9:1b:b6:4e
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
ath0 at pci0 dev 12 function 0 "Atheros AR5212" rev 0x01: irq 9
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:1b:b1:02:de:ad
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit
3579545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 7641MB, 15649200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version
1.0, legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask 71e7 netmask ffe7 ttymask 
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital External
HDD" rev 2.00/1.75 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  SCSI2 0/direct
fixed
sd0: 238475MB, 512 bytes/sec, 488397168 sec total
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

# cat
/etc/hostname.ath0

inet 10.10.1.1 255.255.255.0 10.10.1.255 mediaopt hostap nwid mywifi wpa
wpaciphers tkip,ccmp wpapsk redacted description "Wireless HostAP"

# ifconfig ath0 media
ath0: flags=8863 mtu 1500
lladdr 00:1b:b1:de:ad
description: Wireless HostAP
priority: 4
groups: wlan
media: IEEE802.11 autoselect mode 11b hostap
status: active
ieee80211: nwid mywifi chan 3 bssid 00:1b:b1:02:66:f1 wpapsk
redacted wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher
tkip
supported media:
media autoselect
media autoselect mediaopt ibss
media autoselect mediaopt hostap
media autoselect mediaopt monitor
media autoselect mode 11a
media autoselect mode 11a mediaopt ibss
media autoselect mode 11a mediaopt hostap
media autoselect mode 11a mediaopt monitor
media OFDM6 mode 11a
media OFDM6 mode 11a mediaopt ibss
media OFDM6 mode 11a mediaopt hostap
media OFDM6 m

Re: ath AR5212 wpa?

2008-12-26 Thread Abel Camarillo
LOL, sorry, I make a typo of a `l' and an 'I' in my wpapsk.

It works really fine, thanks.

On Fri, Dec 26, 2008 at 10:54:17AM -0800, Aaron Stellman wrote:
> On Fri, Dec 26, 2008 at 11:56:21AM -0600, Abel Camarillo wrote:
> > Is that true?
> > 
> > I'm using the last amd64 snapshot (20081224), and my ar5212 doesn't
> > seems to work with wpa.
> > 
> > Even ath(4) says it doesn't work in wpa.
> > 
> 
> what kind of crack are you smoking?
> 
> # ifconfig ath0 
> ath0: flags=8863 mtu
> 1500
> lladdr 00:40:96:xx:xx:xx
> priority: 0
> groups: wlan
> media: IEEE802.11 autoselect (DS11 mode 11b)
> status: active
> ieee80211: nwid  chan 11 bssid 00:07:ef:aa:bb:08 96% wpapsk
> 0
> wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip,ccmp
> wpagroupcipher tkip



Re: ath AR5212 wpa?

2008-12-26 Thread Pau
Let there be peace on earth. And let it begin with misc

I also took me a while to realise

>> what kind of crack are you smoking?
>>
>> # ifconfig ath0
>> ath0: flags=8863 mtu
>> 1500
>>   lladdr 00:40:96:xx:xx:xx
>>   priority: 0
>>   groups: wlan
>>   media: IEEE802.11 autoselect (DS11 mode 11b)
>>   status: active
>>   ieee80211: nwid  chan 11 bssid 00:07:ef:aa:bb:08 96% wpapsk
>> 0
>> wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip,ccmp
>> wpagroupcipher tkip
>>
>
> Is it really a Lockheed Martin Tactical Systems hardware what you are
> connected to? Seems interesing.
>
> Regards,
> David



Re: ath AR5212 wpa?

2008-12-26 Thread David Vasek

On Fri, 26 Dec 2008, Aaron Stellman wrote:


On Fri, Dec 26, 2008 at 11:56:21AM -0600, Abel Camarillo wrote:

Is that true?

I'm using the last amd64 snapshot (20081224), and my ar5212 doesn't
seems to work with wpa.

Even ath(4) says it doesn't work in wpa.



what kind of crack are you smoking?

# ifconfig ath0
ath0: flags=8863 mtu
1500
   lladdr 00:40:96:xx:xx:xx
   priority: 0
   groups: wlan
   media: IEEE802.11 autoselect (DS11 mode 11b)
   status: active
   ieee80211: nwid  chan 11 bssid 00:07:ef:aa:bb:08 96% wpapsk
0
wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip,ccmp
wpagroupcipher tkip



Is it really a Lockheed Martin Tactical Systems hardware what you are 
connected to? Seems interesing.


Regards,
David



Re: ath AR5212 wpa?

2008-12-26 Thread Aaron Stellman
On Fri, Dec 26, 2008 at 11:56:21AM -0600, Abel Camarillo wrote:
> Is that true?
> 
> I'm using the last amd64 snapshot (20081224), and my ar5212 doesn't
> seems to work with wpa.
> 
> Even ath(4) says it doesn't work in wpa.
> 

what kind of crack are you smoking?

# ifconfig ath0 
ath0: flags=8863 mtu
1500
lladdr 00:40:96:xx:xx:xx
priority: 0
groups: wlan
media: IEEE802.11 autoselect (DS11 mode 11b)
status: active
ieee80211: nwid  chan 11 bssid 00:07:ef:aa:bb:08 96% wpapsk
0
wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip,ccmp
wpagroupcipher tkip



Re: ath AR5212 wpa?

2008-12-26 Thread Abel Camarillo
Is that true?

I'm using the last amd64 snapshot (20081224), and my ar5212 doesn't
seems to work with wpa.

Even ath(4) says it doesn't work in wpa.

On Fri, Dec 26, 2008 at 11:05:35AM +0100, Pau wrote:
> the answer is "yes"
> 
> (thanks again, Damien. Your help has been very important)
> 
> 2008/12/23 Pau :
> > Hi,
> >
> > does anybody know whether ath AR5212 supports WPA on the latest snapshot?
> >
> > Pau



Re: ath AR5212 wpa?

2008-12-26 Thread Pau
the answer is "yes"

(thanks again, Damien. Your help has been very important)

2008/12/23 Pau :
> Hi,
>
> does anybody know whether ath AR5212 supports WPA on the latest snapshot?
>
> Pau



ath AR5212 wpa?

2008-12-23 Thread Pau
Hi,

does anybody know whether ath AR5212 supports WPA on the latest snapshot?

Pau



Re: ath diff for testing: please test on _old_ ar5212 ath devices

2008-07-31 Thread Tom Menari
Works for me but only 11b (the AP is 11b/g, 11g works in Linux in the
same position.)

ath0 at pci2 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR2W, address 00:16:cf:43:50:5d

# ifconfig ath0
ath0: flags=8863 mtu 1500
lladdr 00:16:cf:43:50:5d
groups: wlan
media: IEEE802.11 autoselect (DS11 mode 11b)
status: active
ieee80211: nwid OpenWrt chan 1 bssid 00:90:4c:91:00:02 96%
nwkey blahblahblah
inet6 fe80::216:cfff:fe43:505d%ath0 prefixlen 64 scopeid 0x2

full dmesg below:
OpenBSD 4.4-beta (GENERIC) #0: Thu Jul 31 19:16:49 BST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel"
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 526807040 (502MB)
avail mem = 501141504 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/19/06, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version "75ET60WW (2.06 )" date 12/19/2006
bios0: IBM 1866WBA
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf600! 0xcf800/0x1600 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1600 MHz (1116 mV): speeds: 1600, 1500, 1400,
1300, 1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc000, size 0x1000
"Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1
(0x4101): irq 11, address 00:16:d3:29:7e:33
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11
sdmmc0 at sdhc0
ath0 at pci2 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR2W, address 00:16:cf:43:50:5d
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq
11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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: 
spkr0 at pcppi0
a

Re: ath diff for testing: please test on _old_ ar5212 ath devices

2008-07-31 Thread Justin Hohner

Alexey Suslikov wrote:

Reyk Floeter wrote:


I just committed the 2nd version of the patch to -current but I still
need more test reports on devices that used to work.

- Please update to -current (for example ar5212.c 1.44) or use the patch
that I sent to this list if your AnonCVS is not updated yet.

- Test it on ath0 ar5212/ar5213 devices or any devices that previously
worked OK.  Not the newish ones, but the old ones - I want to make
sure that it does not break anything in the 4.4 release.

The current summary is: it fixes a few devices, makes 1st gen macbooks
happy, but not the eeepc, it fixes the MiniCard in my T61, but not
others with different APs, it does not work on AR2413 nor AR2425
devices yet.  So it is an improvement.


Strange. AR2413 is working now after your diff. However it is 11b only as
for now. Previously, it was unable to associate with access point.

Alexey



I'm similar results. I had some issues with my AR51213 but now it seems 
to work pretty well.



OpenBSD 4.4-beta (GENERIC) #997: Tue Jul 29 10:31:22 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am5x86 W/B 133/160 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (63MB)
avail mem = 55214080 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 
stepping 1.1, CPU clock 133MHz, reset 40

gpio0 at elansc0: 32 pins
ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:86:60:19
cbb0 at pci0 dev 17 function 0 "TI PCI1420 CardBus" rev 0x00: irq 11
cbb1 at pci0 dev 17 function 1 "TI PCI1420 CardBus" rev 0x00: irq 11
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: 
irq 5, address 00:00:24:c9:be:2c

nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: 
irq 9, address 00:00:24:c9:be:2d

nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x10, lattimer 0x3f
pcmcia1 at cardslot1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: 
wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f9c5 netmask ffe5 ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Re: ath diff for testing: please test on _old_ ar5212 ath devices

2008-07-30 Thread Alexey Suslikov
Reyk Floeter wrote:

> I just committed the 2nd version of the patch to -current but I still
> need more test reports on devices that used to work.
>
> - Please update to -current (for example ar5212.c 1.44) or use the patch
> that I sent to this list if your AnonCVS is not updated yet.
>
> - Test it on ath0 ar5212/ar5213 devices or any devices that previously
> worked OK.  Not the newish ones, but the old ones - I want to make
> sure that it does not break anything in the 4.4 release.
>
> The current summary is: it fixes a few devices, makes 1st gen macbooks
> happy, but not the eeepc, it fixes the MiniCard in my T61, but not
> others with different APs, it does not work on AR2413 nor AR2425
> devices yet.  So it is an improvement.

Strange. AR2413 is working now after your diff. However it is 11b only as
for now. Previously, it was unable to associate with access point.

Alexey

OpenBSD 4.4-beta (GENERIC.MP) #0: Tue Jul 29 22:44:42 EEST 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Celeron(R) M CPU 430 @ 1.73GHz ("GenuineIntel"
686-class) 1.73 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,TM2,xTPR
real mem  = 526479360 (502MB)
avail mem = 500744192 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/13/07, BIOS32 rev. 0 @
0xfd390, SMBIOS rev. 2.33 @ 0xe3810 (25 entries)
bios0: vendor Acer version "V3.50" date 02/13/2007
bios0: Acer TravelMate 2490
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC HPET MCFG SLIC DBGP APIC BOOT SSDT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices PXS1(S4) PXS2(S4) BCOL(S4) PXS4(S4) USB1(S3)
USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S5) MODM(S3) AZAL(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus 5 (RP04)
acpiprt6 at acpi0: bus 6 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpibat0 at acpi0: BAT1 model "GC86503SY90 " type Lion oem "SONY "
acpiac0 at acpi0: AC unit online
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1800 0xe/0x1800! 0xe3800/0x800!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc000, size 0x1000
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 1 int 22 (irq 10)
azalia0: codec[s]: Realtek ALC883, Conexant/0x2bfa, using Realtek ALC883
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1
int 17 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1
int 16 (irq 6)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1
int 18 (irq 11)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1
int 19 (irq 10)
pci4 at ppb3 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1
int 19 (irq 10)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1
int 16 (irq 6)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1
int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 6
bce0 at pci5 dev 1 function 0 "Broadcom BCM4401B1" rev 0x02: apic 1
int 21 (irq 10), address 00:16:d4:b2:1d:10
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
ath0 at pci5 dev 2 function 0 "Atheros AR2413" rev 0x01: apic 1 int 22 (irq 10)
ath0: AR2413 7.8 phy 4.5 rf 5.6, WOR3W, address 00:19:7e:02:12:55
cbb0 at pci5 dev 4 function 0 "ENE CB-712 CardBus" rev 0x10: apic 1
int 16 (irq 6)
"ENE Memory Stick" rev 0

Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2007-06-03 Thread Rolf Sommerhalder

My new miniPCI with AR2413 in 11b mode is recognized under  -current
on a WRAP, but it fails to associate and sometimes locks up the entire
system, as implictly warned by Reyk in his commit for
src/sys/dev/ic/ath.con 19 Sept 2006.

This ath(4) device is a  wlm54g23  Compex WLM54G 200mW Atheros
802.11b/g miniPCI wireless card from PCEngines.

Please find some debug output below, as suggested by Reyk. I am happy
to provide more information, and to test patches against -current, in
the hope to assist getting these newer ath chip sets to transmit also
in 11b mode.

Thanks,
Rolf


[EMAIL PROTECTED] root]# ifconfig ath0 up
[EMAIL PROTECTED] root]# ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:80:48:7e:b4:e5
   groups: wlan
   media: IEEE802.11 autoselect (DS1 mode 11b)
   status: no network
   ieee80211: nwid FON_crosscom chan 3 bssid 00:18:84:10:62:1d 92%
   inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1
[EMAIL PROTECTED] root]# ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:80:48:7e:b4:e5
   groups: wlan
   media: IEEE802.11 autoselect (DS1)
   status: no network
   ieee80211: nwid ""
   inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1
[EMAIL PROTECTED] root]#


[EMAIL PROTECTED] root]# ifconfig -M ath0
ath0: flags=8863 mtu 1500
   lladdr 00:80:48:7e:b4:e5
   groups: wlan
   media: IEEE802.11 autoselect (DS1)
   status: no network
   ieee80211: nwid ""
   nwid FON_crosscom chan 3 bssid 00:18:84:10:62:1d 87%
54M short_preamble,short_slottime
   inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1
[EMAIL PROTECTED] root]# ifconfig -M ath0


[EMAIL PROTECTED] root]# dmesg
OpenBSD 4.1-current (WRAP12) #0: Sun Jun  3 11:15:57 CEST 2007
   [EMAIL PROTECTED]:/home/rs/downloads/OpenBSD/flashboot/flashboot/obj/WRAP12
RTC BIOS diagnostic error 80
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133791744 (127MB)
avail mem = 109572096 (104MB)
RTC BIOS diagnostic error 80
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/08/05, BIOS32 rev. 0 @ 0xfc622
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
ath0 at pci0 dev 13 function 0 "Atheros AR2413" rev 0x01: irq 12
ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 00:80:48:7e:b4:e5
sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:0d:b9:01:a0:a0
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 15 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 9, address 00:0d:b9:01:a0:a1
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 16 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 11, address 00:0d:b9:01:a0:a2
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 125MB, 256512 sectors
wd0(pciide0:0:0): using PIO mode 4
"NS SCx200 AUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
revision 3 wdstatus 0
isa0 at gscpcib0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
midi0 at pcppi0: 
gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2
iic0 at gscsio0
iic1 at gscsio0
lmtemp0 at iic1 addr 0x48: lm77
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask e1ef netmask ffef ttymask ffef
rd0: fixed, 30720 blocks
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a swap on rd0b dump on rd0b
clock: unknown CMOS layout
WARNING: clock time much less than file system time
WARNING: using file system time
WARNING: CHECK AND RESET THE DATE!
[EMAIL PROTECTED] root]#


Filtered output to avoid dumping other WLAN traffic than the two MACs
of interest.  ':b4:e5' is my ath0, ':62:1d' is my public FONera access
point, see output of 'ifconfig -M ath0' above:

[EMAIL PROTECTED] root]#  tcpdump -y ieee802_11_radio -eni ath0 | grep -e
':b4:e5' -e ':62:1d'
tcpdump: listening on ath0, link-type IEEE802_11_RADIO
10:02:43.791541 0:18:84:10:62:1d > ff:ff:ff:ff:ff:ff, bssid
0:18:84:10:62:1d: 802.11: beacon[|802.11], 
10:02:43.893936 0:18:84:10:62:1d > ff:ff:ff:ff:ff:ff, bssid
0:18:84:10:62:1d: 802.11: beacon[|802.11], 
10:02:43.996331 0:18:84:10:62:1d > ff:ff:ff:ff:ff:ff, bssid
0:18:84:10:62:1d: 80

Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2007-01-09 Thread Travers Buda
Both the Belkin revision 5000 and 5100 product F5D7010 are AR2413's.

Travers Buda



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2007-01-09 Thread Travers Buda
Here's a dmesg from a machine with an AR2413. ifconfig -M works correctly, but 
it won't associate to an AP. 

Any update status on these chipsets?

OpenBSD 4.0-current (GENERIC) #1342: Sun Jan  7 23:55:37 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 498 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 167276544 (163356K)
avail mem = 144809984 (141416K)
using 2072 buffers containing 8486912 bytes (8288K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(75) BIOS, date 01/14/00, BIOS32 rev. 0 @ 0xfd840, 
SMBIOS rev. 2.3 @ 0xe3010 (49 entries)
bios0: Gateway Solo 9300 Pro
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd840/0x7c0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0x1 0xe/0x4000!
acpi at mainbus0 not configured
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 1" rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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: 
wd0: 16-sector PIO, LBA, 5729MB, 11733120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 5
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
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI
iic0 at piixpm0
maestro0 at pci0 dev 8 function 0 "ESS Maestro 2E" rev 0x10: irq 5
maestro0: maestro_read_codec() RW_DONE timed out.
maestro0: resetting codec
ac97: codec id 0x83847644 (SigmaTel STAC9744/45)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at maestro0
cbb0 at pci0 dev 10 function 0 "TI PCI1450 CardBus" rev 0x03: irq 9
cbb1 at pci0 dev 10 function 1 "TI PCI1450 CardBus" rev 0x03: irq 9
vendor "3Com", unknown product 0x1006 (class communications subclass 
miscellaneous, rev 0x00) at pci0 dev 12 function 0 not configured
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: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; 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
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ath0 at cardbus0 dev 0 function 0 "Atheros Communications, Inc., 
AR5001--, Wireless LAN Reference Card": irq 9
ath0: AR2413 7.8 phy 4.5 rf 5.6, WOR0W, address 00:11:50:d9:18:2c

Travers Buda



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-10-04 Thread Pierre Riteau

On 9/27/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:

On Sun, Sep 24, 2006 at 02:58:34PM +0200, Pierre Riteau wrote:
> On 9/19/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:
> >hi,
> >
> >i recently enabled support for some newer wireless chipsets from
> >atheros, like the AR2413, AR5413, and AR5424 single chip solutions.
> >
> >please also test it if you have an intel-based mac - the integrated
> >wireless NIC is based on the pci express AR5424 chipset.
> >
>
> I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro).
> Here is my dmesg :
>

please retry with the attached diff from kettenis. you may see some
11b aps but it doesn't seem to work, yet (the channels are wrong).

> ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
> ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
> ath0: unable to attach hardware; HAL status 22

reyk

Index: ar5212.c
=======
RCS file: /cvs/src/sys/dev/ic/ar5212.c,v
retrieving revision 1.33
diff -u -p -r1.33 ar5212.c
--- ar5212.c19 Sep 2006 17:49:13 -  1.33
+++ ar5212.c24 Sep 2006 18:22:33 -
@@ -304,6 +304,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
 * Reset and wakeup the device
 */

+#if 0
/* ...reset chipset and PCI device */
if (hal->ah_single_chip == AH_FALSE &&
ar5k_ar5212_nic_reset(hal,
@@ -311,6 +312,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
AR5K_PRINT("failed to reset the AR5212 + PCI chipset\n");
return (AH_FALSE);
}
+#endif

/* ...wakeup */
if (ar5k_ar5212_set_power(hal,



I patched my kernel, here are the results.

- the chip gets recognized.

ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
ath0: AR5424 10.3 phy 6.1 rf 10.2, WORAW, address 00:16:cb:bd:08:f4

- My AP is 11b, it's a ral(4) (RT2560) on OpenBSD 4.0, sometimes I see one
from one of my neighbours, both don't show the SSID in ifconfig.

ath0: flags=8863 mtu 1500
lladdr 00:16:cb:bd:08:f4
media: IEEE802.11 autoselect (OFDM6)
status: no network
ieee80211: nwid ""
nwid "" chan 2 bssid 00:13:d3:00:43:fc 20% 11M
inet6 fe80::216:cbff:febd:8f4%ath0 prefixlen 64 scopeid 0x2

- When I first start the ath0 interface, I can see probe requests.
Then I found that doing `ifconfig ath0 mediaopt hostap` and then
`ifconfig ath0 -mediaopt hostap` makes the probe run again.

# tcpdump -y ieee802_11_radio -eni ath0
tcpdump: WARNING: ath0: no IPv4 address assigned
tcpdump: listening on ath0, link-type IEEE802_11_RADIO
23:38:43.383940 0:16:cb:bd:8:f4 > ff:ff:ff:ff:ff:ff, bssid
ff:ff:ff:ff:ff:ff: 802.11: probe request, 
23:38:43.584264 0:16:cb:bd:8:f4 > ff:ff:ff:ff:ff:ff, bssid
ff:ff:ff:ff:ff:ff: 802.11: probe request, 
23:38:43.784279 0:16:cb:bd:8:f4 > ff:ff:ff:ff:ff:ff, bssid
ff:ff:ff:ff:ff:ff: 802.11: probe request, 
23:38:43.984357 0:16:cb:bd:8:f4 > ff:ff:ff:ff:ff:ff, bssid
ff:ff:ff:ff:ff:ff: 802.11: probe request, 

(51 requests each time).

- I also see my AP "beacons".
21:37:18.686664 0:13:d3:0:43:fc > ff:ff:ff:ff:ff:ff, bssid
0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim,

21:37:18.789530 0:13:d3:0:43:fc > ff:ff:ff:ff:ff:ff, bssid
0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim,

21:37:23.397563 0:13:d3:0:43:fc > ff:ff:ff:ff:ff:ff, bssid
0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim,

21:37:58.417322 0:13:d3:0:43:fc > ff:ff:ff:ff:ff:ff, bssid
0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim,

21:37:58.519206 0:13:d3:0:43:fc > ff:ff:ff:ff:ff:ff, bssid
0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim,


And it goes on at the same rate.

I hope it will be useful. Keep up the good work.

Pierre Riteau



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-30 Thread Greg Thomas

On 9/19/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:

hi,

i recently enabled support for some newer wireless chipsets from
atheros, like the AR2413, AR5413, and AR5424 single chip solutions.


My AR5211 is associating with an 802.11b access point but not to an
802.11a AP or adhoc.  I had a tcpdump but this laptop has some serious
hardware problems and it locked up before I had a chance to save the
tcpdump.  I believe it showed the 802.11a AP beacons because I saw the
AP's MAC address in the dump.

I'm still also getting the wakeup errors.  Solution is to pop out
card, pop it back in, and ifconfiging.  Don't know if the diffs Reyk
provided on misc have already been applied to ar5211.c because I'm
horrible at reading code.

ar5k_ar5211_nic_wakeup: failed to resume the AR5211 (again)
ath0: ath_chan_set: unable to reset channel 149 (5745 Mhz)
ath0 detached
cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3384
cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20

[EMAIL PROTECTED] ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:09:5b:40:7d:3c
   groups: egress
   media: IEEE802.11 autoselect (DS11 mode 11b)
   status: active
   ieee80211: nwid homeap chan 1 bssid 00:02:6f:08:0d:85 nwkey
   
   inet 192.168.1.14 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::209:5bff:fe40:7d3c%ath0 prefixlen 64 scopeid 0x5

OpenBSD 4.0-current (GENERIC) #1121: Fri Sep 29 14:23:08 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 698 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
   PAT,PSE36,MMX,FXSR,SSE
real mem  = 267939840 (261660K)
avail mem = 236650496 (231104K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(3f) BIOS, date 12/21/99, BIOS32 rev. 0
   @ 0xfd820, SMBIOS rev. 2.3 @ 0xe0010 (45 entries)
bios0: IBM 264841U
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 99%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd7b0/0x850
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xc000 0xe/0x1
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 "S3 Savage/IX-MV" rev 0x11
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 2 function 0 "TI PCI1450 CardBus" rev 0x03: irq 11
cbb1 at pci0 dev 2 function 1 "TI PCI1450 CardBus" rev 0x03: irq 11
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 3 function 0 not configured
clcs0 at pci0 dev 5 function 0 "Cirrus Logic CS4280/46xx CrystalClear"
  rev 0x01: irq 11
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
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: 
wd0: 16-sector PIO, LBA, 11509MB, 23572080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
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
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI
iic0 at piixpm0
cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3b20
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0
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: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask efed netmask efed ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20
ath0 at cardbus0 dev 0 function 0 "NETGEAR WAB501 802.11a/b Wireless
   Adapter, 00": irq 11
ath0: AR5211 4.2 phy 3.0 rf5111 1.7,

Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-27 Thread Reyk Floeter
On Sun, Sep 24, 2006 at 02:58:34PM +0200, Pierre Riteau wrote:
> On 9/19/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:
> >hi,
> >
> >i recently enabled support for some newer wireless chipsets from
> >atheros, like the AR2413, AR5413, and AR5424 single chip solutions.
> >
> >please also test it if you have an intel-based mac - the integrated
> >wireless NIC is based on the pci express AR5424 chipset.
> >
> 
> I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro).
> Here is my dmesg :
> 

please retry with the attached diff from kettenis. you may see some
11b aps but it doesn't seem to work, yet (the channels are wrong).

> ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
> ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
> ath0: unable to attach hardware; HAL status 22

reyk

Index: ar5212.c
=======
RCS file: /cvs/src/sys/dev/ic/ar5212.c,v
retrieving revision 1.33
diff -u -p -r1.33 ar5212.c
--- ar5212.c19 Sep 2006 17:49:13 -  1.33
+++ ar5212.c24 Sep 2006 18:22:33 -
@@ -304,6 +304,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
 * Reset and wakeup the device
 */
 
+#if 0
/* ...reset chipset and PCI device */
if (hal->ah_single_chip == AH_FALSE &&
ar5k_ar5212_nic_reset(hal,
@@ -311,6 +312,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
AR5K_PRINT("failed to reset the AR5212 + PCI chipset\n");
return (AH_FALSE);
}
+#endif
 
/* ...wakeup */
if (ar5k_ar5212_set_power(hal,



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-25 Thread Pierre Riteau

On 9/24/06, Karsten McMinn <[EMAIL PROTECTED]> wrote:

On 9/24/06, Pierre Riteau <[EMAIL PROTECTED]> wrote:
> ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
> ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
> ath0: unable to attach hardware; HAL status 22


is that on a fresh power-on?



Yes. I installed OpenBSD this evening, and tried with latest GENERIC
and GENERIC.MP.
Same result.

OpenBSD 4.0-current (GENERIC) #: Sun Sep 24 20:49:17 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2c06040613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 2000, 1000 MHz
real mem  = 515354624 (503276K)
avail mem = 462118912 (451288K)
using 4256 buffers containing 25870336 bytes (25264K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe7440 (37 entries)
bios0: Apple Computer, Inc. MacBook1,1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xe600!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture
at 0x9038, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Sigmatel STAC9221 (rev. 52.1), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22,
Marvell Yukon-2 EC rev. A3 (0x2): irq 11
msk0 at mskc0 port A, address 00:16:cb:cb:66:74
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
ath0: unable to attach hardware; HAL status 22
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: 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
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci3 at ppb2 bus 3
"AT&T/Lucent FW322 1394" rev 0x61 at pci3 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: 
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: irq 11
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:

Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-24 Thread Pierre Riteau

On 9/19/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:

hi,

i recently enabled support for some newer wireless chipsets from
atheros, like the AR2413, AR5413, and AR5424 single chip solutions.

please also test it if you have an intel-based mac - the integrated
wireless NIC is based on the pci express AR5424 chipset.



I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro).
Here is my dmesg :

OpenBSD 4.0-current (RAMDISK_CD) #40: Sat Sep 23 12:43:03 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
real mem  = 503730176 (491924K)
avail mem = 452964352 (442348K)
using 4256 buffers containing 25288704 bytes (24696K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe7440 (37 entries)
bios0: Apple Computer, Inc. MacBook1,1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xe600!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
"Intel 82801GB HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22,
Marvell Yukon-2 EC rev. A3 (0x2): irq 11
msk0 at mskc0 port A, address 00:16:cb:cb:66:74
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
ath0: unable to attach hardware; HAL status 22
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: 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
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci3 at ppb2 bus 3
"AT&T/Lucent FW322 1394" rev 0x61 at pci3 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: 
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
"Intel 82801GB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
npx0 at isa0 port 0xf0/16: using exception 16
biomask  netmask  ttymask 
rd0: fixed, 3800 blocks
uhub4: device problem, disabling port 4
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: vendor 0x05ac product 0x1000, rev 2.00/19.65, addr 2, iclass 3/1
uhidev1 at uhub1 port 1 configuration 1 interface 0uhidev2 at uhub2
port 2 configuration 1 interface 0ukbd0 at uhidev0

uhidev1: Logitech Logitech USB Keyboard, rev 1.10/15.00, addr 2, iclass 3/1

uhidev2: Apple

Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-21 Thread Dmitri Alenitchev
Jurjen Oskam wrote:
> On Tue, Sep 19, 2006 at 08:21:58PM +0200, Reyk Floeter wrote:
> 
>   [test ath]
> > please also test it if you have an intel-based mac - the integrated
> > wireless NIC is based on the pci express AR5424 chipset.
>   [...]
> > just test -current.
> 
> Are there already snapshots available with these changes?

Latest snapshot (9/16/06) without these changes. Use -current.



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-20 Thread Jurjen Oskam
On Tue, Sep 19, 2006 at 08:21:58PM +0200, Reyk Floeter wrote:

[test ath]
> please also test it if you have an intel-based mac - the integrated
> wireless NIC is based on the pci express AR5424 chipset.
[...]
> just test -current.

Are there already snapshots available with these changes?

-- 
Jurjen Oskam



ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-19 Thread Reyk Floeter
hi,

i recently enabled support for some newer wireless chipsets from
atheros, like the AR2413, AR5413, and AR5424 single chip solutions.

please also test it if you have an intel-based mac - the integrated
wireless NIC is based on the pci express AR5424 chipset.

it's not fully working, yet. my AR5413 works in 11a mode, 11b mode is
still broken. please send me some test reports, your dmesg output and
have a look at tcpdump.

- i have a AR5413 cardbus device (PHILIPS SNN6500):

ath1 at cardbus0 dev 0 function 0 "Atheros Communications, Inc., 
AR5001--, Wireless LAN Reference Card": irq 11
ath1: AR5413 10.5 phy 6.1 rf 6.3, WOR0W, address 00:12:bf:0e:7d:36

- the interface associates to the 11a ap:

# ifconfig ath1 up  
# ifconfig ath1  
ath1: flags=8863 mtu 1500
lladdr 00:12:bf:0e:7d:36
media: IEEE802.11 autoselect (OFDM54)
status: active
ieee80211: nwid "SSID 1" chan 48 bssid 00:14:c2:b3:b1:d0 34%
inet6 fe80::212:bfff:fe0e:7d36%ath1 prefixlen 64 scopeid 0x9

- i can see 11b frames, and the AR5213 gets replies to probe requests
(rx/tx). nevertheless, association doesn't work, yet.

# tcpdump -y ieee802_11_radio -eni ath1 
tcpdump: WARNING: ath1: no IPv4 address assigned
tcpdump: listening on ath1, link-type IEEE802_11_RADIO
20:13:53.753750 0:12:bf:e:7d:36 > ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 
802.11: probe request, 
20:13:53.756807 0:9:5b:ad:b:70 > 0:12:bf:e:7d:36, bssid 0:9:5b:ad:b:70: 802.11: 
probe response, ssid (WLAN), rates, ds, cf, erp, xrates, 
20:13:53.815919 0:9:5b:ad:b:70 > ff:ff:ff:ff:ff:ff, bssid 0:9:5b:ad:b:70: 
802.11: beacon, ssid (WLAN), rates, ds, cf, tim, erp, xrates, 

just test -current.

reyk



Re: ar5212 wireless in a soekris 4801 debug question

2006-02-22 Thread b h
--- Johan Torin <[EMAIL PROTECTED]> wrote:

> On Wednesday 22 February 2006 03:07, b h wrote:
> > Hi
> >
> > I have a (slightly older, but still snazzy)
> generic
> > acting as my gateway - see dmesg at bottom
> >
> > my laptop internal wired NIC was acting funny, so
> I
> > thought I'd try wireless to network through my
> net4801
> > gateway.  Never using my wireless card before on
> the
> > soekris (sat in the machine dormant for a year
> never
> > configured), I thought I'd finally try out the
> > excellent wireless support in OpenBSD.
> >
> > Following the man page, I have
> >
> > # cat /etc/hostname.ath0
> > inet 10.0.1.1 255.255.255.0 NONE media autoselect
> > mediaopt hostap nwid my_net chan 11
> [...]
> 
> Yes, this is a gotcha the man-page doesn't mention.
> The ath driver is only capable of using 11b, so add
> 'mode 11b' to your hostname.ath/ifconfig line and it
> should work.
> 
> /Johan
> 

Thank you, that seemed to work for connecting at "b". 
Although you kind of mentioned it, I'd like to
increase support for the fact that someone with more
diff/man page skills than me *should really update
that*.  It is very misleading (and disappointing) - as
the manpage is seems very clear in describing support
for all three of a/b/g for 5212.  Or mention it in the
bugs section.  If it's relevant, the distributor of my
minipci card was netgate.

I know I'm running an older system, but I tried
looking through cvsweb, and I didn't think I saw any
driver changes since my system was installed, but
apologies if its been fixed since.

Also, don't know whether I can support it, but just
curious what would it require to fix this?  Reyk must
already have a card with the chipset since it works a
little bit right?

thanks
b
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: ar5212 wireless in a soekris 4801 debug question

2006-02-22 Thread Thomas Börnert
5212 will not work, i've spend hours on hours
only 5213 will work. I've talked to Reyk ... and it is strange.

Thomas

On Wed, 2006-02-22 at 07:22 +0100, Johan Torin wrote:
> On Wednesday 22 February 2006 03:07, b h wrote:
> > Hi
> >
> > I have a (slightly older, but still snazzy) generic
> > acting as my gateway - see dmesg at bottom
> >
> > my laptop internal wired NIC was acting funny, so I
> > thought I'd try wireless to network through my net4801
> > gateway.  Never using my wireless card before on the
> > soekris (sat in the machine dormant for a year never
> > configured), I thought I'd finally try out the
> > excellent wireless support in OpenBSD.
> >
> > Following the man page, I have
> >
> > # cat /etc/hostname.ath0
> > inet 10.0.1.1 255.255.255.0 NONE media autoselect
> > mediaopt hostap nwid my_net chan 11
> [...]
> 
> Yes, this is a gotcha the man-page doesn't mention.
> The ath driver is only capable of using 11b, so add
> 'mode 11b' to your hostname.ath/ifconfig line and it
> should work.
> 
> /Johan



Re: ar5212 wireless in a soekris 4801 debug question

2006-02-21 Thread Johan Torin
On Wednesday 22 February 2006 03:07, b h wrote:
> Hi
>
> I have a (slightly older, but still snazzy) generic
> acting as my gateway - see dmesg at bottom
>
> my laptop internal wired NIC was acting funny, so I
> thought I'd try wireless to network through my net4801
> gateway.  Never using my wireless card before on the
> soekris (sat in the machine dormant for a year never
> configured), I thought I'd finally try out the
> excellent wireless support in OpenBSD.
>
> Following the man page, I have
>
> # cat /etc/hostname.ath0
> inet 10.0.1.1 255.255.255.0 NONE media autoselect
> mediaopt hostap nwid my_net chan 11
[...]

Yes, this is a gotcha the man-page doesn't mention.
The ath driver is only capable of using 11b, so add
'mode 11b' to your hostname.ath/ifconfig line and it
should work.

/Johan



ar5212 wireless in a soekris 4801 debug question

2006-02-21 Thread b h
 = 115503104 (112796K)
using 1658 buffers containing 6791168 bytes (6632K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/40/12,
BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not
supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev
0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev
0x00: DP83816A, irq 10, address 00:00:24:c2:41:3c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev
0x00: DP83816A, irq 10, address 00:00:24:c2:41:3d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev
0x00: DP83816A, irq 10, address 00:00:24:c2:41:3e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev
0x01: irq 11
ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC1A,
address 00:02:6f:20:f5:99
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev
0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function
1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev
0x01: DMA, channel 0 wired to compatibility, channel 1
wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 977MB, 2001888 sectors
wd0(pciide0:0:0): using PIO mode 4
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus"
rev 0x00: iid 6 revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost"
rev 0x08: irq 5, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at gscpcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
sysbeep0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9:
GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte
fifo
biomask f3e5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ath0: device timeout
#
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Problem with Atheros AR5212

2005-11-22 Thread Jon Coller

Hi All,

I'm currently trying to setup a new wireless access point using OpenBSD
3.8 and an Atheros AR5212 802.11a/b/g card. I'm having some trouble
getting the 11g portion working.

Currently if I bring the card up in 11g mode, I get repeated device
timeouts and the device never actually shows up in KisMac. If I force it
into 11b mode, I don't get any timeouts and it actually shows up.

When testing this, I also started to turn on debugging, and I found that
 the card finds several base stations when in 11b mode, but doesn't see
any in 11g mode.

Is this card not fully supported, is there something else I should try,
or do i have a broken card?

Thanks,

Jon Coller

p.s. please cc me in the reply, as majordomo doesn't seem to want to
process my list subscription

Relevant Files:
/etc/hostname.ath0
inet 10.0.0.1 255.255.255.0 NONE media autoselect \
 mediaopt hostap nwid test_ap mode 11b debug

debug output for 11b:
ath0: begin passive scan
ath0: received beacon from 00:04:5a:fd:58:91 rssi 28
ath0: received beacon from 00:06:25:91:de:01 rssi 23
ath0: received beacon from 00:13:10:24:8f:b0 rssi 12
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 12
ath0: received beacon from 00:0d:72:f6:d3:21 rssi 9
ath0: received beacon from 00:04:5a:fd:58:91 rssi 33
ath0: received beacon from 00:11:95:4e:91:a3 rssi 8
ath0: received beacon from 00:06:25:91:de:01 rssi 23
ath0: received beacon from 00:13:10:24:8f:b0 rssi 13
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 13
ath0: received beacon from 00:0d:72:f6:d3:21 rssi 10
ath0: received beacon from 00:06:25:91:de:01 rssi 22
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 11
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 48
ath0: received beacon from 00:80:c6:e3:23:42 rssi 48
ath0: received beacon from 00:c0:02:d5:c5:fc rssi 6
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 49
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 50
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 13
ath0: end passive scan
ath0: creating ibss
ath0: synchronized with 00:0f:b5:25:6c:b5 ssid "test_ap" channel 1 start
11Mb

debug output for 11g:
ath0: begin passive scan
ath0: end passive scan
ath0: creating ibss
ath0: synchronized with 00:0f:b5:25:6c:b5 ssid "test_ap" channel 6 start
54Mb

dmesg:
OpenBSD 3.8-stable (RAIDFRAME) #0: Wed Nov  9 23:15:17 CST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAIDFRAME
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 399 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
R
real mem  = 268021760 (261740K)
avail mem = 237256704 (231696K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/27/99, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc680/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA"
rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000
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 Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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 wi
red to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 32-sector PIO, LBA, 16446MB, 33683328 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:  SCSI0
5/cdrom remo
vable
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 0x02 at pci0 dev 7 function 3 not configured
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5212 5.9 phy 4.3 rf2112 4.6, FCC1A, address 00:0f:b5:25:6c:b5
xl0 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x24: irq 11,
address
 00:c0:4f:4c:7a:72
exphy0 at xl0 phy 24: 3Com internal media interface
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckb

Re: Problem with Atheros AR5212

2005-11-22 Thread Jon Coller
And I'm now finding the system dies when running ifconfig on this card a 
few times:


ath0: creating ibss
kernel: integer divide fault trap, code=0
Stopped at  ar5k_ar5212_reset+0x388:divl%ecx,%eax
ddb> ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT   COMMAND
 29105   7432   7432518  3  0x4184  poll   imap-login
 20601   7432   7432518  3  0x4184  poll   imap-login
  8290   7432   7432518  3  0x4184  poll   imap-login
  6320   7432   7432  0  3  0x4084  poll   dovecot-auth
  6423  1   6423   1000  3  0x4086  ttyin  ksh
  7022  1   7022   1000  3  0x4086  ttyin  ksh
  9753  1   9753  0  30x84  select cron
 28516  10409  10409  0  30x85  lockf  saslauthd
  4088  10409  10409  0  30x85  lockf  saslauthd
 31425  10409  10409  0  30x85  lockf  saslauthd
 27952  10409  10409  0  30x85  lockf  saslauthd
 10409  1  10409  0  30x85  netcon saslauthd
  7432  1   7432  0  30x84  poll   dovecot
 23868  1  23868  0  30x85  select nmbd
 22290   8644   8644  0  3   0x185  pause  smbd
 21545   1997   1997 67  3   0x184  semwaithttpd
 31540   1997   1997 67  3   0x184  semwaithttpd
 10388   1997   1997 67  3   0x184  semwaithttpd
 32425   1997   1997 67  3   0x184  semwaithttpd
  8441   1997   1997 67  3   0x184  select httpd
  8644  1   8644  0  3   0x185  select smbd
 30605  1  30605  0  30x84  select sshd
  1997  1   1997  0  30x84  select httpd
 25742  1  25742  0  3 0x40184  select sendmail
  8598  1   8598 77  3   0x184  poll   dhcpd
 23803   1324   1324 83  3   0x184  poll   ntpd
  1324  1   1324  0  30x84  poll   ntpd
   904   9237   9237 70  3   0x184  select named
  9237  1   9237  0  3   0x184  netio  named
 31328  28804  28804 74  3   0x184  bpfpflogd
 28804  1  28804  0  30x84  netio  pflogd
  5955   8116   8116 73  2   0x184 syslogd
  8116  1   8116  0  30x84  netio  syslogd
  6919  1   6919 77  3   0x184  poll   dhclient
 23940  1  12119  0  30x86  poll   dhclient
12  0  0  0  30x100204  crypto_wa  crypto
11  0  0  0  30x100204  aiodoned   aiodoned
10  0  0  0  30x100204  syncer update
 9  0  0  0  30x100204  cleanercleaner
 8  0  0  0  30x100204  reaper reaper
 7  0  0  0  30x100204  pgdaemon   pagedaemon
 6  0  0  0  30x100204  pftm   pfpurge
 5  0  0  0  30x100204  usbtsk usbtask
 4  0  0  0  30x100204  usbevt usb0
 3  0  0  0  30x100204  apmev  apm0
 2  0  0  0  30x100204  kmallockmthread
 1  0  1  0  3  0x4084  wait   init
 0 -1  0  0  3 0x80204  scheduler  swapper
ddb> trace
ar5k_ar5212_reset(d0be5000,6,d075abe4,1,d075abe0,d0be367e,d075abf4,d019ecb1) 
at

 ar5k_ar5212_reset+0x388
ath_chan_set(d0be3000,d0be367e,d075ac14,d02687cd) at ath_chan_set+0x75
ath_newstate(d0be3030,4,,0064,50) at ath_newstate+0x98
ieee80211_create_ibss(d0be3030,d0be367e,d075adc4,d02c5a9a,24) at 
ieee80211_create_ibss+0x11b
ieee80211_end_scan(d0be3030,d0252192,d0bf5e80,d075ade4) at 
ieee80211_end_scan+0

x248
ath_next_scan(d0be3000,0,a0,d0759000,0) at ath_next_scan+0x3d
softclock(4383,0,0,d075,d075ae9c) at softclock+0x22c
Bad frame pointer: 0xd075ae04
ddb>



Jon Coller wrote:

Hi All,

I'm currently trying to setup a new wireless access point using OpenBSD
3.8 and an Atheros AR5212 802.11a/b/g card. I'm having some trouble
getting the 11g portion working.

Currently if I bring the card up in 11g mode, I get repeated device
timeouts and the device never actually shows up in KisMac. If I force it
into 11b mode, I don't get any timeouts and it actually shows up.

When testing this, I also started to turn on debugging, and I found that
 the card finds several base stations when in 11b mode, but doesn't see
any in 11g mode.

Is this card not fully supported, is there something else I should try,
or do i have a broken card?

Thanks,

Jon Coller




Problem with Atheros AR5212

2005-11-22 Thread Jon Coller

Hi All,

I'm currently trying to setup a new wireless access point using OpenBSD
3.8 and an Atheros AR5212 802.11a/b/g card. I'm having some trouble
getting the 11g portion working.

Currently if I bring the card up in 11g mode, I get repeated device
timeouts and the device never actually shows up in KisMac. If I force it
into 11b mode, I don't get any timeouts and it actually shows up.

When testing this, I also started to turn on debugging, and I found that
 the card finds several base stations when in 11b mode, but doesn't see
any in 11g mode.

Is this card not fully supported, is there something else I should try,
or do i have a broken card?

Thanks,

Jon Coller

Relevant Files:
/etc/hostname.ath0
inet 10.0.0.1 255.255.255.0 NONE media autoselect \
 mediaopt hostap nwid test_ap mode 11b debug

debug output for 11b:
ath0: begin passive scan
ath0: received beacon from 00:04:5a:fd:58:91 rssi 28
ath0: received beacon from 00:06:25:91:de:01 rssi 23
ath0: received beacon from 00:13:10:24:8f:b0 rssi 12
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 12
ath0: received beacon from 00:0d:72:f6:d3:21 rssi 9
ath0: received beacon from 00:04:5a:fd:58:91 rssi 33
ath0: received beacon from 00:11:95:4e:91:a3 rssi 8
ath0: received beacon from 00:06:25:91:de:01 rssi 23
ath0: received beacon from 00:13:10:24:8f:b0 rssi 13
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 13
ath0: received beacon from 00:0d:72:f6:d3:21 rssi 10
ath0: received beacon from 00:06:25:91:de:01 rssi 22
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 11
ath0: received beacon from 00:0f:3d:5b:33:44 rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 48
ath0: received beacon from 00:80:c6:e3:23:42 rssi 48
ath0: received beacon from 00:c0:02:d5:c5:fc rssi 6
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 49
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 12
ath0: received beacon from 00:80:c6:e3:23:42 rssi 50
ath0: received beacon from 00:0c:e5:51:e4:2c rssi 13
ath0: end passive scan
ath0: creating ibss
ath0: synchronized with 00:0f:b5:25:6c:b5 ssid "test_ap" channel 1 start
11Mb

debug output for 11g:
ath0: begin passive scan
ath0: end passive scan
ath0: creating ibss
ath0: synchronized with 00:0f:b5:25:6c:b5 ssid "test_ap" channel 6 start
54Mb

dmesg:
OpenBSD 3.8-stable (RAIDFRAME) #0: Wed Nov  9 23:15:17 CST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAIDFRAME
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 399 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
R
real mem  = 268021760 (261740K)
avail mem = 237256704 (231696K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/27/99, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc680/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA"
rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000
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 Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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 wi
red to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 32-sector PIO, LBA, 16446MB, 33683328 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:  SCSI0
5/cdrom remo
vable
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 0x02 at pci0 dev 7 function 3 not configured
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5212 5.9 phy 4.3 rf2112 4.6, FCC1A, address 00:0f:b5:25:6c:b5
xl0 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x24: irq 11,
address
 00:c0:4f:4c:7a:72
exphy0 at xl0 phy 24: 3Com internal media interface
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
pm

Re: ATH AR5212 hangs machine just after boot

2005-07-23 Thread Sevan / Venture37

Rod.. Whitworth wrote:


Well my dmesg lines don't look like either set of yours BUT disabling
802.11a didn't fix it but disabling 802.11g  as well leaves me with a
working 11b. After I paid for a brandname a/b/g, dammit!

One day there will be hardware makers across the range of product lines
that will be trying as hard as OpenBSD developers to attain perfection
and open docs, sigh
 

yep, a couple of ppl emailed me offlist regarding this, unfortunately 
switching to .11b was not an option as we specificaly needed .11a


Damien Miller wrote:


There are known a/g problems on ath(4), IIRC reyk@ is actively looking
at them.

-d



Thanx for the update Damien

[EMAIL PROTECTED] wrote:

Does the above dmesg show the non-working card, and if so, is it ath0 
or ath1?


Yes it does:

Genric OEM card
ath0 at pci0 dev 19 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: mac 80.6 phy 4.1 radio 3.6, 802.11a/b/g, MKK1_FCCA, address 
00:ff:76:e0:06:a2

gpio at ath0 not configured

Wistron card
ath1 at pci0 dev 20 function 0 "Atheros AR5212" rev 0x01: irq 11
ath1: mac 80.9 phy 4.3 radio 3.6, 802.11a/b/g, FCC1A, address 
00:0b:6b:34:ad:e5

gpio at ath1 not configured



Re: ATH AR5212 hangs machine just after boot

2005-07-23 Thread Rod.. Whitworth
On Sat, 23 Jul 2005 18:59:13 +1000, Damien Miller wrote:

>Rod.. Whitworth wrote:
>> Well my dmesg lines don't look like either set of yours BUT disabling
>> 802.11a didn't fix it but disabling 802.11g  as well leaves me with a
>> working 11b. After I paid for a brandname a/b/g, dammit!
>> 
>> One day there will be hardware makers across the range of product lines
>> that will be trying as hard as OpenBSD developers to attain perfection
>> and open docs, sigh
>
>There are known a/g problems on ath(4), IIRC reyk@ is actively looking
>at them.
>
>-d
>

Thanx Damien,
I'd have bet on that being true. If only the distances between us were
smaller I'd have volunteered to help because originally I'm a hardware
guy and I could have done testing stuff if we both had the same card
and he needed somebody with a (small) lab who could thrash it a bit.

Meanwhile, knowing how frustrating it can be dealing with hardware that
is not fully specced, I'm making sure not to put  pressure on him
for solutions. He will do what he can do and in his own good (very good
from what I've seen so far) time.

Reyk, if you are reading this and need any testing done you can find me
here: ash1 at witworx dot no spam com

I have Prism 2.5 cards for compatibility tests plus an IBM ^H^H^H
Lenovo R50e with an Atheros AR5212 that works fine on OpenBSD 3.7
current 050712 so I can see if a and g work too. I haven't tried it as
an AP, hmmm, is that a valuable datum too? I don't have another 5212 to
test it against but if it doesn't lock up on me we will know something
we don't know now.

No demands, no expected scheduled dates, no abuse if it can't be done.
Optimism and hope is all.
Thanks for work so far.

Rod/

In the beginning was The Word
and The Word was Content-type: text/plain
The Word of Rod.

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: ATH AR5212 hangs machine just after boot

2005-07-23 Thread Damien Miller

Rod.. Whitworth wrote:

Well my dmesg lines don't look like either set of yours BUT disabling
802.11a didn't fix it but disabling 802.11g  as well leaves me with a
working 11b. After I paid for a brandname a/b/g, dammit!

One day there will be hardware makers across the range of product lines
that will be trying as hard as OpenBSD developers to attain perfection
and open docs, sigh


There are known a/g problems on ath(4), IIRC reyk@ is actively looking
at them.

-d



Re: ATH AR5212 hangs machine just after boot

2005-07-22 Thread Rod.. Whitworth
On Fri, 22 Jul 2005 14:46:46 +0100, Sevan / Venture37 wrote:

>I had the same problem, It turned out to be the whitelable oem Atheros card 
>that I was using.
>
>http://www.mail-archive.com/misc@openbsd.org/msg04338.html
>
>

Well my dmesg lines don't look like either set of yours BUT disabling
802.11a didn't fix it but disabling 802.11g  as well leaves me with a
working 11b. After I paid for a brandname a/b/g, dammit!

One day there will be hardware makers across the range of product lines
that will be trying as hard as OpenBSD developers to attain perfection
and open docs, sigh

>From the land "down under": Australia.
Do we look  from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: ATH AR5212 hangs machine just after boot

2005-07-22 Thread mattvaldes
- Original Message -
From: Sevan / Venture37 <[EMAIL PROTECTED]>

> I had the same problem, It turned out to be the whitelable oem 
> Atheros card 
> that I was using.
> 
> http://www.mail-archive.com/misc@openbsd.org/msg04338.html

Does the above dmesg show the non-working card, and if so, is it ath0 or
ath1?



Re: ATH AR5212 hangs machine just after boot

2005-07-22 Thread Sevan / Venture37
I had the same problem, It turned out to be the whitelable oem Atheros card 
that I was using.


http://www.mail-archive.com/misc@openbsd.org/msg04338.html



ATH AR5212 hangs machine just after boot

2005-07-22 Thread Rod.. Whitworth
I just laid hands on a Netgear WAG311 (as seen in the dmesg below).
The OS installed was i386 GENERIC snapshot 2005-07-12 and during
install I merely gave the ath0 an IP and left the final config until
post install. Lucky choice.

Putting in a hostname.ath0 line just like the example in the man page
for ath as an AP resulted in:
ath0: device timeout
(in the dread white/blue text right after the date output near the end
of the boot messages)
which the manpage says "should not happen" and that the driver "will
reset the hardware and continue".
Not in my case. The system simply responds to nothing short of the
reset button, in terms of getting running again. Key presses echo on
the console screen but nothing there caused any change.

After a long day I only remembered when I came away that I had not set
ddb.console to answer the keyboard trigger. Not that it would be much
help when the card fires off this error (seemingly) randomly if I use a
minimal hostname.ath0 like:

inet 172.16.0.1 255.255.255.0 NONE

and then use ifconfig ath0 to add stuff like mediaopt hostap, chan 7,
nwid foo_net and up in discrete steps per value.

Maybe I hit one of the spooky 5212s?
Maybe there is a hardware prob elsewhere? (but it runs for ages without
ath0 configged.)

I don't have an idea right now but I'm somewhat fragged and too
bamboozled to guess what to try and document next. At this point I need
to see if what I present here is enough clue for somebody to do the
"aha, you have problem x" or otherwise to send me off to do more
digging. Other possibility is whack with cluestick!

BTW: I hope these WAG311s work because they have a Universal PCI format
(5v or 3.3v), come with a low-profile "plank" as well as the standard
height one and have an external antenna on a length of lightweight
co-ax.
It looks like a fit for a Soekris Net-4801 with minor metal nibbling.

Anyway dmesg says:
OpenBSD 3.7-current (GENERIC) #239: Tue Jul 12 10:50:06 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(TM) CPU 1300MHz ("GenuineIntel" 686-class) 1.31
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 259633152 (253548K)
avail mem = 230080512 (224688K)
using 3194 buffers containing 13082624 bytes (12776K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 02/27/03, BIOS32 rev. 0 @
0xfb560
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf24
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8601 PCI" rev 0x05
ppb0 at pci0 dev 1 function 0 "VIA VT82C601 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1" rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 32-sector PIO, LBA, 9768MB, 20005650 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0:  SCSI0 5/cdrom
removable
cd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: irq 12
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC1A, address
00:09:5b:c8:7a:af
rl0 at pci0 dev 17 function 0 "Realtek 8139" rev 0x10: irq 11 address
00:01:80:0c:9a:52
rlphy0 at rl0 phy 0: RTL internal phy
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, us