Re: ral rt2860 WPA2 ifconfig hang

2009-05-14 Thread Tom
Ian Lindsay wrote:
 I've had no problems with an rt2860 in this configuration;
 hostname.ral0:

 mode 11g mediaopt hostap chan 1 nwid gen wpa \
   wpapsk `wpa-psk gen chilledbrains` \
   group internal up

 (This interface happens to be bridged to an re(4) which is why it
 has no address assigned here.)
 But adding 'wpaprotos 2 wpagroupcipher ccmp wpaciphers ccmp'
 makes the box hang on boot at 'Starting networks'.  Alternatively,
 specifying those same options with ifconfig immediately wedges
 the machine (without a panic or anything).  So, I don't use those
 options :-)

Do you find your box locks up when a wireless client sends a large amount
of data through your AP?

I've tried both a RT2661D and RT2860 and the RT2860 locked up within
minutes of any serious wireless traffic. The RT2661D card only lasts
about 30 minutes or so after that.

I've given up any hope of ral(4) acting reliably in AP mode and went back
to using the crappy little netgear wireless router (not my choice, but not
much I can do in this case.)

Tom



ral rt2860 WPA2 ifconfig hang

2009-05-10 Thread Ian Lindsay
I've had no problems with an rt2860 in this configuration;
hostname.ral0:

mode 11g mediaopt hostap chan 1 nwid gen wpa \
wpapsk `wpa-psk gen chilledbrains` \
group internal up

(This interface happens to be bridged to an re(4) which is why it
has no address assigned here.)
But adding 'wpaprotos 2 wpagroupcipher ccmp wpaciphers ccmp'
makes the box hang on boot at 'Starting networks'.  Alternatively,
specifying those same options with ifconfig immediately wedges
the machine (without a panic or anything).  So, I don't use those
options :-)


OpenBSD 4.5-current (GENERIC) #141: Fri May  8 00:09:35 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 335 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 234450944 (223MB)
avail mem = 218312704 (208MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/09/99, BIOS32 rev. 0 @ 0xfb0a0
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xb518
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdb50/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc8000/0x1a00!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0x), flags=0
 0xc000 - 0xd01f
 0xd400 - 0xd4ff
 0xd800 - 0xd807
 0xdc00 - 0xdc03
 0xe000 - 0xe007
 0xe400 - 0xe403
 0xe800 - 0xe80f
 0xec00 - 0xecff
 0xf000 - 0xf00f
 0x1 - 0x
extent `pcimem' (0x0 - 0x), flags=0
 0x0 - 0x9
 0xf - 0xdff
 0xe300 - 0xe34100ff
 0xe3411000 - 0xe34110ff
 0x - 0x
pchb0 at pci0 dev 0 function 0 Intel 82443LX AGP rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe300, size 0x40
ppb0 at pci0 dev 1 function 0 Intel 82443LX AGP rev 0x03
pci1 at ppb0 bus 1
extent `ppb0 pciio' (0x0 - 0x), flags=0
 0x0 - 0xbfff
 0xd000 - 0x
piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x01
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x01: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC133CL2
spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC66CL2
spdmem2 at iic0 addr 0x52: 32MB SDRAM non-parity PC66CL2
re0 at pci0 dev 8 function 0 Realtek 8169 rev 0x10: RTL8169S (0x0400), irq 
10, address 00:09:5b:bc:bd:21
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
pciide1 at pci0 dev 9 function 0 ITExpress IT8212F rev 0x11: DMA, channel 0 
wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 12 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD600BB-00CAA1
wd0: 16-sector PIO, LBA, 57241MB, 117231408 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
re1 at pci0 dev 10 function 0 Realtek 8169 rev 0x10: RTL8169S (0x0400), irq 
5, address 00:0f:b5:8a:d2:83
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 0
ral0 at pci0 dev 11 function 0 Ralink RT2860 rev 0x00: irq 11, address 
00:1f:1f:3b:14:8d
ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2820 (MIMO 2T3R)
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
biomask fb4d netmask ff6d ttymask 
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b