Hi I have a (slightly older, but still snazzy) generic acting as my gateway - see dmesg at bottom
my laptop internal wired NIC was acting funny, so I thought I'd try wireless to network through my net4801 gateway. Never using my wireless card before on the soekris (sat in the machine dormant for a year never configured), I thought I'd finally try out the excellent wireless support in OpenBSD. Following the man page, I have # cat /etc/hostname.ath0 inet 10.0.1.1 255.255.255.0 NONE media autoselect mediaopt hostap nwid my_net chan 11 Rebooted... I think it looks okay: # ifconfig -a lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3c groups: egress media: Ethernet autoselect (10baseT) status: active inet6 fe80::200:24ff:fec2:413c%sis0 prefixlen 64 scopeid 0x1 inet my.cable.ip.here netmask 0xfffff000 broadcast 255.255.255.255 sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3d media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::200:24ff:fec2:413d%sis1 prefixlen 64 scopeid 0x2 sis2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3e media: Ethernet autoselect (none) status: no carrier ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:02:6f:20:f5:99 media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap) status: active ieee80211: nwid my_net chan 11 bssid 00:02:6f:20:f5:99 inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 inet6 fe80::202:6fff:fe20:f599%ath0 prefixlen 64 scopeid 0x4 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224 pfsync0: flags=0<> mtu 1348 enc0: flags=0<> mtu 1536 and I had also changed my pf.conf to add the new interface as seen here: # cat /etc/pf.conf # $OpenBSD: pf.conf,v 1.28 2004/04/29 21:03:09 frantzen Exp $ # # See pf.conf(5) and /usr/share/pf for syntax and examples. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 # in /etc/sysctl.conf if packets are to be forwarded between interfaces. ext_if="sis0" int_if="sis1" wireless_if="ath0" set block-policy return set loginterface $ext_if scrub in all nat on $ext_if from !($ext_if) -> ($ext_if:0) rdr pass on $ext_if proto tcp to port 22 -> 10.0.0.2 port 22 rdr pass on $ext_if proto tcp to port 23 -> 10.0.0.2 port 80 block log all block drop in quick log on $ext_if proto { tcp, udp } from any os Linux to any port ssh pass quick on { lo0 $int_if $wireless_if } all pass out on $ext_if proto tcp all flags S/SA keep state pass out on $ext_if proto { udp, icmp } all keep state # Yet, my WinXP with Intel 2915a/b/g can't find it when scanning for networks to connect to. Following the manpage again, setting a WEP key, just in case...... # ifconfig ath0 nwkey 0x1deadbeef1 # ifconfig -a lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3c groups: egress media: Ethernet autoselect (10baseT) status: active inet6 fe80::200:24ff:fec2:413c%sis0 prefixlen 64 scopeid 0x1 inet my.cable.ip.here netmask 0xfffff000 broadcast 255.255.255.255 sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3d media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::200:24ff:fec2:413d%sis1 prefixlen 64 scopeid 0x2 sis2: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:24:c2:41:3e media: Ethernet autoselect (none) status: no carrier ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:02:6f:20:f5:99 media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap) status: active ieee80211: nwid my_net chan 11 bssid 00:02:6f:20:f5:99 nwkey 0x1deadbeef1 inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 inet6 fe80::202:6fff:fe20:f599%ath0 prefixlen 64 scopeid 0x4 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224 pfsync0: flags=0<> mtu 1348 enc0: flags=0<> mtu 1536 # Still looks okay, yet, can't seem to find it (sitting five feet away.) I only have this one internal miniPCI 2915 to try scanning it. Did I miss a step? or any recommendations on how to debug this? Any fancy trick I can try? much thanks b dmesg: ======= OpenBSD 3.7-current (GENERIC) #1: Sun Aug 7 10:21:03 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 586-class) 267 MHz cpu0: FPU,TSC,MSR,CX8,CMOV,MMX cpu0: TSC disabled real mem = 133799936 (130664K) avail mem = 115503104 (112796K) using 1658 buffers containing 6791168 bytes (6632K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 20/40/12, 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/0xa000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00 sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, address 00:00:24:c2:41:3c nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, address 00:00:24:c2:41:3d nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, address 00:00:24:c2:41:3e nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11 ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC1A, address 00:02:6f:20:f5:99 gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00 gpio0 at gscpcib0: 64 pins "NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-1024> wd0: 1-sector PIO, LBA, 977MB, 2001888 sectors wd0(pciide0:0:0): using PIO mode 4 geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 wdstatus 0 ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered isa0 at gscpcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1: npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask f3e5 netmask ffe5 ttymask ffe7 pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 ath0: device timeout # Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com