Hello @Misc, I have an OpenBSD 4.7 (i386) based router with a ral(4) card in it. For some reason, my old iBook cannot seem to join the AP, either unencrypted or encrypted. My other clients (a Windows Vista machine and a few Debian machines have no such issues). The iBook gives me the wonderfully descriptive error: "Unknown error joining the wireless network". Running a tcpdump on the ral0 interface doesn't actually show any packets during the process while the lovely little OSX pinwheel spins aimlessly before failing to connect. Does anyone here on misc have some troubleshooting ideas? Anyone seen this problem before?
/etc/hostname.ral0: inet 192.168.2.1 255.255.255.0 192.168.2.255 media autoselect \ mediaopt hostap nwid radical_land chan 11 ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:1d:7d:46:84:e9 description: Wifinet priority: 4 groups: wlan media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap) status: active ieee80211: nwid radical_land chan 11 bssid 00:1d:7d:46:84:e9 100dBm inet6 fe80::21d:7dff:fe46:84e9%ral0 prefixlen 64 scopeid 0x1 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 and the WPA2 version: inet 192.168.2.1 255.255.255.0 192.168.2.255 description "Wifinet" \ media autoselect mode 11g mediaopt hostap nwid radical_land chan 11 \ wpa wpapsk `wpa-psk radical_land password` ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:1d:7d:46:84:e9 description: Wifinet priority: 4 groups: wlan media: IEEE802.11 autoselect mode 11g hostap status: active ieee80211: nwid radical_land chan 11 bssid 00:1d:7d:46:84:e9 wpapsk 0xDEADBEEF wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip 100dBm inet6 fe80::21d:7dff:fe46:84e9%ral0 prefixlen 64 scopeid 0x1 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 and /etc/pf.conf: # macros ext_if="sis0" int_if="sis1" apple_if="sis2" wifi_if="ral0" table <bogons> persist file "/etc/bogon-bn-agg.txt" # options set require-order yes set block-policy return set optimization normal set skip on lo0 # flag packets from all internal interfaces for NAT match out on $ext_if inet from !($ext_if:network) to any nat-to ($ext_if:0) # policy: default deny on all inbound traffic on all interfaces block in log # immediately pass out traffic on external interface, modulate state to make # ISNs (initial sequence numbers) harder to guess pass out quick on $ext_if proto tcp modulate state # policy: default allow on all outbound traffic on all interfaces pass out # antispoofing for internal interfaces antispoof quick for { $int_if $apple_if $wifi_if } # ingress/egress bogon filtering block in quick log on $ext_if from <bogons> block out quick log on $ext_if from <bogons> # allow internal traffic in, except from untrusted --> trusted pass in on $int_if from $int_if:network pass in on $apple_if from $apple_if:network to !$int_if:network pass in on $wifi_if from $wifi_if:network to !$int_if:network # allow ssh traffic on trusted interface pass in log on $int_if inet proto tcp from $int_if:network to $int_if port 22 # redirect external ssh traffic from ????? pass in log on $ext_if inet proto tcp to ($ext_if) port ?????? \ rdr-to 127.0.0.1 port 22 and finally the dmesg: OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class) cpu0: FPU real mem = 66678784 (63MB) avail mem = 54943744 (52MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/50/27, 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: (uniprocessor) 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 0 gpio0 at elansc0: 32 pins ral0 at pci0 dev 16 function 0 "Ralink RT2561S" rev 0x00: irq 10, address 00:1d:7d:46:84:e9 ral0: MAC/BBP RT2561C, RF RT2527 sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, address 00:00:24:c6:4d:ec 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 5, address 00:00:24:c6:4d:ed nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 9, address 00:00:24:c6:4d:ee 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: <SanDisk SDCFH2-004G> wd0: 4-sector PIO, LBA, 3919MB, 8027712 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 f1c5 netmask ffe5 ttymask ffff vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted