Hi there, My ral0 in hostap mode works great, and has been for months. (Except for the Nintendo Wii I posted about earlier, and I suspect the Wii.)
However, just now I ran into a problem. The ral is used in a server that also has an Internet-connection. The server does NAT for the wireless clients. I was uploading some photos from a wireless client to some Website, and wireless traffic just stopped. The association was still there, but from the wireless client nothing went through. Not even traffic to the server itself. I then logged into the machine the ral0 interface is in (using its console). Nothing in dmesg, but when I tried to ping the wireless client, I got this: ping: sendto: No buffer space available ping: wrote 192.168.2.18 64 chars, ret=-1 Other traffic on the same server (using other interfaces) worked fine. What can I do to more thoroughly investigate this, should this happen again? It seems to be a very rare event, since it took months to even occur once. I didn't think of anything more than to perform some netstat commands, and check the number of states using pfctl. netstat -m showed: 718 mbufs in use: 705 mbufs allocated to data 4 mbufs allocated to packet headers 9 mbufs allocated to socket names and addresses 87/128/6144 mbuf clusters in use (current/peak/max) 444 Kbytes allocated to network (79% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines netstat -an showed: Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) ip 0 0 *.* *.* 1 Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 192.168.1.1.6161 192.168.1.1.53 TIME_WAIT tcp 0 0 127.0.0.1.735 127.0.0.1.111 TIME_WAIT tcp 0 0 192.168.1.1.48623 192.168.1.1.53 TIME_WAIT tcp 0 0 127.0.0.1.983 127.0.0.1.111 TIME_WAIT tcp 0 0 192.168.1.1.53 192.168.1.1.5394 TIME_WAIT tcp 0 0 192.168.1.1.22 192.168.2.18.59972 ESTABLISHED tcp 0 0 *.25 *.* LISTEN tcp 0 0 127.0.0.1.3493 127.0.0.1.12189 ESTABLISHED tcp 0 0 127.0.0.1.12189 127.0.0.1.3493 ESTABLISHED tcp 0 0 *.3493 *.* LISTEN tcp 0 0 127.0.0.1.8026 *.* LISTEN tcp 0 0 *.8025 *.* LISTEN tcp 0 0 *.22 *.* LISTEN tcp 0 0 *.37 *.* LISTEN tcp 0 0 *.13 *.* LISTEN tcp 0 0 *.113 *.* LISTEN tcp 0 0 *.21 *.* LISTEN tcp 0 0 192.168.1.1.53 *.* LISTEN tcp 0 0 82.95.239.113.53 *.* LISTEN tcp 0 0 82.95.239.113.80 *.* LISTEN tcp 0 0 *.653 *.* LISTEN tcp 0 0 *.2049 *.* LISTEN tcp 0 0 *.800 *.* LISTEN tcp 0 0 127.0.0.1.111 *.* LISTEN tcp 0 0 *.111 *.* LISTEN Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp 0 0 82.95.239.113.46196 88.191.14.223.123 udp 0 0 82.95.239.113.39188 78.47.5.66.123 udp 0 0 82.95.239.113.24467 141.40.103.101.123 udp 0 0 82.95.239.113.21396 212.13.207.101.123 udp 0 0 82.95.239.113.20148 194.88.2.88.123 udp 0 0 *.5060 *.* udp 0 0 127.0.0.1.512 *.* udp 0 0 *.69 *.* udp 0 0 82.95.239.113.53 *.* udp 0 0 192.168.1.1.53 *.* udp 0 0 127.0.0.1.775 127.0.0.1.2049 udp 0 0 192.168.1.1.123 *.* udp 0 0 192.168.2.1.123 *.* udp 0 0 82.95.239.113.123 *.* udp 0 0 127.0.0.1.123 *.* udp 0 0 *.734 *.* udp 0 0 *.2049 *.* udp 0 0 *.756 *.* udp 0 0 127.0.0.1.111 *.* udp 0 0 *.111 *.* udp 0 0 *.514 *.* Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 0 *.22 *.* LISTEN tcp6 0 0 *.37 *.* LISTEN tcp6 0 0 *.13 *.* LISTEN tcp6 0 0 *.113 *.* LISTEN Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp6 0 0 ::1.512 *.* udp6 0 0 fe80::2e0:4dff:f.123 *.* udp6 0 0 fe80::211:6bff:f.123 *.* udp6 0 0 fe80::211:2fff:f.123 *.* udp6 0 0 fe80::1%lo0.123 *.* udp6 0 0 ::1.123 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr 0xfffffe80117127e0 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff800000291e00 0xfffffe800c7b3948 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff800000262300 0xfffffe800c7b3658 stream 0 0 0x0 0xffff80000028bb80 0x0 0x0 /var/db/nut/apcsmart-zolder 0xfffffe800df12660 stream 0 0 0xfffffe8005f188c0 0x0 0x0 0x0 /var/run/asterisk/asterisk.ctl 0xfffffe800df124e8 stream 0 0 0xfffffe8005f11aa8 0x0 0x0 0x0 tabs/.sock 0xfffffe800df12370 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000028bd80 0xfffffe800df12080 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff800000262d80 0xfffffe800df121f8 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000028b780 0xfffffe800c7b3db0 stream 0 0 0xfffffe8005f11000 0x0 0x0 0x0 /var/run/apmdev 0xfffffe800c7b34e0 stream 0 0 0x0 0xffff80000028be80 0x0 0x0 0xfffffe800c7b3368 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000028b880 0xfffffe800c7b31f0 stream 0 0 0xfffffe8005f086f8 0x0 0x0 0x0 /var/db/nut/apcsmart-zolder 0xfffffe800c7b3078 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff800000262580 0xfffffe800a858650 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000022ff00 0xfffffe800df12db8 stream 0 0 0x0 0xffff800000320400 0x0 0x0 0xfffffe800a858da8 stream 0 0 0x0 0xffff800000355400 0x0 0x0 0xfffffe80092b54b8 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000005d680 0xfffffe800585f010 stream 0 0 0x0 0xffff80000005d300 0x0 0x0 0xfffffe800552dd40 stream 0 0 0x0 0xffff80000004fe80 0x0 0x0 0xfffffe800552dbc8 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000005d580 0xfffffe800552da50 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000005ac00 0xfffffe800552d008 dgram 0 0 0x0 0xffff80000005ad80 0x0 0xffff80000005ae80 0xfffffe8002f9e758 dgram 0 0 0x0 0xffff80000005ad80 0x0 0x0 0xfffffe8002f9e5e0 stream 0 0 0x0 0xffff80000004e280 0x0 0x0 0xfffffe8002f9e468 stream 0 0 0x0 0xffff80000004d400 0x0 0x0 0xfffffe8002f9e2f0 dgram 0 0 0xfffffe8004947cb0 0x0 0x0 0x0 /var/empty/dev/log 0xfffffe8002f9e178 dgram 0 0 0xfffffe8004947bb8 0x0 0xffff8000002c8780 0x0 /dev/log OpenBSD 4.3 (GENERIC+RAIDAUTO) #0: Thu Apr 17 22:51:20 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC+RAIDAUT O real mem = 535621632 (510MB) avail mem = 507777024 (484MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0520 (61 entries) bios0: vendor American Megatrends Inc. version "1012.003" date 09/12/2005 bios0: ASUSTeK Computer Inc. K8V-X acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC OEMB acpi0: wakeup devices PCI0(S4) PS2K(S4) PS2M(S4) UAR1(S4) AC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EHCI(S4) PWRB(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3000+, 2002.84 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required cpu0: Cool'n'Quiet K8 2002 MHz: speeds: 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x01 agp at pchb0 not configured ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce2 MX" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) skc0 at pci0 dev 10 function 0 "Marvell Yukon 88E8001/8003/8010" rev 0x13, Yukon Lite rev. A3 (0x7): irq 10 sk0 at skc0 port A: address 00:11:2f:9c:09:6b eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 ral0 at pci0 dev 11 function 0 "Ralink RT2561S" rev 0x00: irq 11, address 00:11:6b:3d:7f:6a ral0: MAC/BBP RT2561C, RF RT2527 rl0 at pci0 dev 12 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:e0:4d:52:a8:d1 rlphy0 at rl0 phy 0: RTL internal PHY pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide0: using irq 10 for native-PCI interrupt pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide1 channel 0 drive 0: <HDS728080PLAT20> wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd1 at pciide1 channel 1 drive 0: <HDS728080PLAT20> wd1: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 10 uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 10 ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 iic0 at viapm0 iic0: addr 0x4a 00=3f 01=03 02=7f 03=07 05=30 06=c0 07=90 08=3f 09=03 0a=7f 0b=07 0d=30 0e=c0 0f=90 10=3f 11=03 12=7f 13=07 15=30 16=c0 17=90 18=3f 19=03 1a=7f 1b=07 1d=30 1e=c0 1f=90 20=3f 21=03 22=7f 23=07 25=30 26=c0 27=90 28=3f 29=03 2a=7f 2b=07 2d=30 2e=c0 2f=90 30=3f 31=03 32=7f 33=07 35=30 36=c0 37=90 38=3f 39=03 3a=7f 3b=07 3d=30 3e=c0 3f=90 40=3f 41=03 42=7f 43=07 45=30 46=c0 47=90 48=3f 49=03 4a=7f 4b=07 4d=30 4e=c0 4f=90 50=3f 51=03 52=7f 53=07 55=30 56=c0 57=90 58=3f 59=03 5a=7f 5b=07 5d=30 5e=c0 5f=90 60=3f 61=03 62=7f 63=07 65=30 66=c0 67=90 68=3f 69=03 6a=7f 6b=07 6d=30 6e=c0 6f=90 70=3f 71=03 72=7f 73=07 75=30 76=c0 77=90 78=3f 79=03 7a=7f 7b=07 7d=30 7e=c0 7f=90 80=3f 81=03 82=7f 83=07 85=30 86=c0 87=90 88=3f 89=03 8a=7f 8b=07 8d=30 8e=c0 8f=90 90=3f 91=03 92=7f 93=07 95=30 96=c0 97=90 98=3f 99=03 9a=7f 9b=07 9d=30 9e=c0 9f=90 a0=3f a1=03 a2=7f a3=07 a5=30 a6=c0 a7=90 a8=3f a9=03 aa=7f ab=07 ad=30 ae=c0 af=90 b0=3f b1=03 b2=7f b3=07 b5=30 b6=c0 b7=90 b8=3f b9=03 ba=7f bb=07 bd=30 be=c0 bf=90 c0=3f c1=03 c2=7f c3=07 c5=30 c6=c0 c7=90 c8=3f c9=03 ca=7f cb=07 cd=30 ce=c0 cf=90 d0=3f d1=03 d2=7f d3=07 d5=30 d6=c0 d7=90 d8=3f d9=03 da=7f db=07 dd=30 de=c0 df=90 e0=3f e1=03 e2=7f e3=07 e5=30 e6=c0 e7=90 e8=3f e9=03 ea=7f eb=07 ed=30 ee=c0 ef=90 f0=3f f1=03 f2=7f f3=07 f5=30 f6=c0 f7=90 f8=3f f9=03 fa=7f fb=07 fd=30 fe=c0 ff=90 words 00=3fff 01=03ff 02=7fff 03=07ff 04=00ff 05=30ff 06=c0ff 07=90ff 08=3fff 09=03ff 0a=7fff 0b=07ff 0c=00ff 0d=30ff 0e=c0ff 0f=90ff spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM ECC PC3200CL3.0 pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: 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, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12 lm1 at wbsio0 port 0x290/8: W83697HF fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec Kernelized RAIDframe activated raid0 at root: (RAID Level 1) total number of sectors is 154534656 (75456 MB) as root softraid0 at root swapmount: no device -- Jurjen Oskam Savage's Law of Expediency: You want it bad, you'll get it bad.