Hiya montmarte.

First off I'm a noob myself and I also don't use wireless on OpenBSD. :]

Still here's a couple of things.
I'm sure at some point you'll find out the OpenBSD man pages are
excellent, I think it can be helpful to specify which man pages you're
reading (it lets people know you are reading the right ones). If you
do have a driver issue, or anything remotely hardware related, append
a dmesg to the bottom of your mail. In this case it might provide a
clue about em0 and also make sure ath0 is correct.

Have you read ath(4) - especially HARDWARE?
Ditto hostname.if(5)?
Ditto ifconfig(8) - especially nw* versus wpa*?

I find when working out something new it can help to simplify the
methodology in the interim. In this case maybe you could configure a
static IP on your access point and set this in your hostname.if(5).

Make sure pf is out of the way - pf is on by default in OpenBSD.
>From memory an empty pf.conf will do it.

I wouldn't worry about BIND, unless wireless land has changed since I
used it you won't need to worry about naming to get IP connectivity.
Further your resolv.conf(.tail) doesn't look right:
lookup file bind
nameserver: 127.0.0.1

The keywork lookup tells the resolver to use your host file first and
then named.
Having a nameserver address as a loopback is presumably to do lookups
with named? See the redundancy there?
If you use BIND (named) then a nameserver is a fallback and could
point to your ISP nameservers for example. See resolv.conf(5).

No doubt someone will come along and help you out better at some point
but perhaps you could simplify for the moment, provide some answers:
Are you using WEP or WPA?
Where does em0 intend to go (was it only a fallback for ath0 not
working and did you plug it into the same router)?
Is your router configured correctly?

Best wishes.

dmesg attached:

# dmesg
OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 z
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 268009472 (255MB)
avail mem = 250978304 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
pcibios0 at bios0: rev 2.1 @ 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: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address 00
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,4
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 1
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,4
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 2
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,4
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 357o
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wiry
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFJ-256>
wd0: 4-sector PIO, LBA, 245MB, 501760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0,t
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
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
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
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask 73e7 netmask ffe7 ttymask ffff
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
clock: unknown CMOS layout
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to