I'm a bit new to OpenBSD and want to configure wireless networking,
as a client to an existing access point.
The box has a clean install of 5.4-release from install54.iso.
The wireless device is a Belkin F5D7050 wireless G USB network
adapter, which shows up as zyd0.

I can scan the network with 'ifconfig zyd0 scan' and the ESSID I'm
looking for shows up, but the radio keeps going up and down and I
can't get dhcp working on it.

The /etc/hostname.zyd0 file looks like:
nwid "What does the Mo'o say"
wpakey sillypassword
dhcp

This network id shows up when I use 'ifconfig zyd0 scan', so I'm
pretty sure the wireless device is up and listening.
e.g.
zyd0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:17:3f:52:1d:f3
    priority: 4
    groups: wlan
    media: IEEE802.11 autoselect (DS1 mode 11g)
    status: active
    ieee80211: nwid "What does the Mo'o say" chan 1 bssid
1c:c6:3c:4c:3e:67 33dB wpakey 0xblah wpaprotos wpa1,wpa2
wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip 100dBm
    nwid fatsole chan 6 bssid 00:14:bf:f9:60:34 39dB 54M
        privacy,short_slottime
        ... (many more) ...
    nwid "What does the Mo'o say" chan 1 bssid 1c:c6:3c:4c:3e:67
        43dB 54M privacy

Soo... how do I get dhcp working? I tried using 'dhclient zyd0' but
all I get is
DHCPDISCOVER on zyd0 to 255.255.255.255 port 67 interval 9
... (several more) ...
DHCPDISCOVER on zyd0 to 255.255.255.255 port 67 interval 4
No acceptable DHCPOFFERS received.
No working leases in persistent database - sleeping.

Any help would be appreciated.
Felix

I've attached some more info, just in case.

ifconfig zyd0 output:

zyd0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    lladdr 00:17:3f:52:1d:f3
    priority: 4
    groups: wlan
    media: IEEE802.11 autoselect (DS1 mode 11g)
    status: active
    ieee80211: nwid "What does the Mo'o say" chan 1
        bssid 1c:c6:3c:4c:3e:67 35dB
        wpakey 0xblah wpaprotos wpa1,wpa2
        wpaakms psk wpaciphers tkip,ccmp
        wpagroupcipher tkip 100dBm
    inet6 fe80::217:3fff:fe52:1df3%zyd0 prefixlen 64 scopeid 0x4

dmesg output (I didn't format this for width, sorry):


OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz ("GenuineIntel"
686-class) 1.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
real mem  = 1062330368 (1013MB)
avail mem = 1033502720 (985MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/14/07, BIOS32 rev. 0 @ 0xfb9b0,
SMBIOS rev. 2.5 @ 0xf0000 (50 entries)
bios0: vendor Dell Inc. version "1.0.5" date 09/14/2007
bios0: Dell Inc. Inspiron 530s
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG SLIC DMY2 APIC SSDT
acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5)
HUB0(S5) IGBE(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3)
EHC1(S3) EHC2(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz ("GenuineIntel"
686-class) 1.80 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEX0)
acpiprt2 at acpi0: bus -1 (PEX1)
acpiprt3 at acpi0: bus -1 (PEX2)
acpiprt4 at acpi0: bus -1 (PEX3)
acpiprt5 at acpi0: bus -1 (PEX4)
acpiprt6 at acpi0: bus -1 (PEX5)
acpiprt7 at acpi0: bus 2 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xb400!
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1800, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82G33 Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
intel_overlay_map_regs partial stub
inteldrm0: 1680x1050
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
em0 at pci0 dev 25 function 0 "Intel ICH9 IFE" rev 0x02: msi, address
00:1d:09:7e:74:04
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 19
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
pci2 at ppb1 bus 2
vendor "Conexant", unknown product 0x2f20 (class communications subclass
miscellaneous, rev 0x00) at pci2 dev 0 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 4 int 19 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Hitachi HDT725025VLA380>
wd0: 16-sector PIO, LBA48, 238418MB, 488281250 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD+-RW GSA-H73N, B103> ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 4 int
18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5
pciide1 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA,
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 4 int 19 for native-PCI interrupt
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8718F rev 3, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mtrr: Pentium Pro MTRR support
zyd0 at uhub1 port 1 configuration 1 interface 0 "Belkin USB2.0 WLAN" rev
2.00/48.10 addr 2
umass0 at uhub1 port 2 configuration 1 interface 0 "Lexar JD FireFly" rev
2.00/11.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Lexar, JD FireFly, 1100> SCSI0 0/direct
removable serial.05dca7613BO4QJV7TGMN
sd0: 7648MB, 512 bytes/sector, 15663104 sectors
umass1 at uhub1 port 5 configuration 1 interface 0 "TEAC CA-200" rev
2.00/4.08 addr 4
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <TEAC, USB HS-CF Card, 4.08> SCSI0 0/direct
removable
sd2 at scsibus2 targ 1 lun 1: <TEAC, USB HS-xD/SM, 4.08> SCSI0 0/direct
removable
sd3 at scsibus2 targ 1 lun 2: <TEAC, USB HS-MS Card, 4.08> SCSI0 0/direct
removable
sd4 at scsibus2 targ 1 lun 3: <TEAC, USB HS-SD Card, 4.08> SCSI0 0/direct
removable
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Dell Dell USB
Keyboard" rev 1.10/3.52 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 2 configuration 1 interface 0 "Dell Dell USB Optical
Mouse" rev 2.00/43.01 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on wd0a (50645c69c39815f7.a) swap on wd0b dump on wd0b
zyd0: HMAC ZD1211B, FW 47.25, RF AL2230, PA 0, address 00:17:3f:52:1d:f3

Reply via email to