I've spent the past few days trying to get a wireless LAN working off my OpenBSD gateway. There's a few interfaces in there, and I just moved to a house that uses WiFi a fair bit. I thought I'd do the bridging right on the gateway, so there's one less device running.
After a spate of other troubles, I've gotten most of it working. Part of that included upgrading to a -current as of this morning, from 3.7. I'm still having two ongoing problems, though: 1) DHCP. The DHCP server is running, and the logs show it handing out addresses. But the remote machine never gets the address. If I shift over to static addressing, it all Just Works. Note that this could be coincidence, because... 2) I have random periods where the WLAN just flat-out doesn't work. Like right now. When I try to ping out on ral0, this is what I get (note that 192.168.132.50 is a statically-assigned machine that is most definitely on the network): # ifconfig ral0 ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:12:17:85:9a:3b media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap) status: active ieee80211: nwid WINSTON68 chan 11 bssid 00:12:17:85:9a:3b 100dBm inet 192.168.132.8 netmask 0xffffff00 broadcast 255.255.255.0 inet6 fe80::212:17ff:fe85:9a3b%ral0 prefixlen 64 scopeid 0x3 # ping -c 1 192.168.132.50 PING 192.168.132.50 (192.168.132.50): 56 data bytes ping: sendto: No buffer space available ping: wrote 192.168.132.50 64 chars, ret=-1 # I did a few quick Google searches, but came up with nothing. Can anyone shed any light on this? All other interfaces seem to be working just peachy, so this seems to be a ral(4)-specific issue and not a general networking (i.e. buffer space) issue. - Damian ----- dmesg: OpenBSD 3.7-current (GENERIC) #0: Mon Jun 13 14:04:19 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Nehemiah ("CentaurHauls" 686-class) 1 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,CX8,SEP,MTRR,PGE,CMOV,PAT,MMX,FXSR,SSE cpu0: RNG AES real mem = 519614464 (507436K) avail mem = 467263488 (456312K) using 4278 buffers containing 26083328 bytes (25472K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(93) BIOS, date 11/25/02, BIOS32 rev. 0 @ 0xfb070 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 @ 0xf0000/0xdf44 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfded0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 5 7 11 12 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xfa00 0xd0000/0x800 0xd1000/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at 0xe0000000, size 0x10000000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci0 dev 8 function 0 "Intel 82557" rev 0x05, i82558: irq 11, address 00:80:5f:f7:45:53 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0 fxp1 at pci0 dev 9 function 0 "Intel 82557" rev 0x08, i82559: irq 12, address 00:d0:b7:23:65:34 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4 ral0 at pci0 dev 10 function 0 "Ralink RT2560" rev 0x01: irq 5, address 00:12:17:85:9a:3b ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 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 16 function 1 "VIA VT83C572 USB" rev 0x80: 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 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 7 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST340014A> wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX230E, QYS1> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11 address 00:40:63:c4:a1:8e ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface ukphy0: OUI 0x004063, model 0x0032, rev. 5 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask ffe5 netmask ffe5 ttymask ffe7 pctr: user-level cycle counter enabled dkcsum: wd0 matched BIOS disk 80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 pppoe0: phase establish pppoe0: phase authenticate pppoe0: phase terminate pppoe0: phase authenticate pppoe0: phase network