On Thu, Apr 9, 2009 at 1:40 AM, Chris Jones <[email protected]> wrote:
> Good evening,
>
> I just picked up a SparkLan WMIR-200N which I've put in my Soekris
> net4501. The ral(4) driver says it supports the Ralink RT2860 and RT2850
> chips on this card. OpenBSD detects the card however when I configure it
> in hostap mode with WPA2-PSK, my Macbook or any wifi capable computer
> will connect momentarily and then disconnects.
>
> Has anyone had any experience with this card running under OpenBSD?
> Also, how can I debug the ral(4) driver? Here is my dmesg output as
> well as my hostname.if configuration.
>
> Thanks,
> -Chris
>
> dmesg
> -----
>
> OpenBSD 4.4 (GENERIC) #0: Sat Nov 15 07:42:40 PST 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 = 55017472 (52MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, BIOS32 rev. 0 @ 0xf7840
> pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
> 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/0x9000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0
> stepping 1.1, CPU clock 133MHz, reset 40<SCP>
> gpio0 at elansc0: 32 pins
> hifn0 at pci0 dev 16 function 0 "Hifn 7951" rev 0x01: LZS 3DES ARC4 MD5
> SHA1 RNG PK, 128KB sram, irq 10
> ral0 at pci0 dev 17 function 0 "Ralink RT2860" rev 0x00: irq 11, address
> 00:0e:8e:20:84:94
> ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (2T3R)
> sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
> irq 5, address 00:00:24:c0:7a:ac
> nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
> sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
> irq 9, address 00:00:24:c0:7a:ad
> nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
> sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
> irq 12, address 00:00:24:c0:7a:ae
> nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
> 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: <SILICONSYSTEMS INC 1GB>
> wd0: 1-sector PIO, LBA, 999MB, 2046240 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> biomask e1c5 netmask ffe5 ttymask ffff
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
>
>
> hostname.ral0
> -------------
>
> up media autoselect mode 11g mediaopt hostap \
>        nwid MYNWID wpa wpaprotos wpa2 \
>        wpapsk MYPRESHAREDKEY \
>        chan 7
>
>

$ dmesg | grep ral
ral0 at pci0 dev 15 function 0 "Ralink RT2561S" rev 0x00: irq 10,
address 00:1d:7d:34:0e:ec
ral0: MAC/BBP RT2561C, RF RT2527

$ sudo cat /etc/hostname.ral0
inet 10.0.128.1 255.255.255.0 NONE media autoselect mediaopt hostap
mode 11g nwid <NWID> wpa wpaakms psk wpaprotos wpa2 wpapsk <PSK>

Works great for me (4.4-stable) when connecting from my MacBookPro,
though it occasionally locks up and needs a quick ifconfig down/up.
Supposedly things are much improved in -current, but I haven't tested
to confirm.

--david

Reply via email to