Topic: OpenBSD 4.4 and ral0

So I finally got a well supported wireless card and I have a rather stupid question regarding configuration:  My router provides an 802.11b/g wireless AP using WPA2 TKIP-AES authentication.  My openbsd box is running obsd-4.4 (i386) and is using ral0.

/etc/hostname.ral0:
dhcp NONE NONE NONE nwid blahrg wpa wpapsk $(wpa-psk blahrg secret_password)

and ifconfig ral0:
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:1d:7d:46:84:e9
        groups: wlan
        media: IEEE802.11 autoselect (DS1)
        status: no network
        ieee80211: nwid blahrg wpapsk secret_password
f59e76bb61 wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip wpagroupcipher tkip 100dBm
        inet6 fe80::21d:7dff:fe46:84e9%ral0 prefixlen 64 scopeid 0x1


All the examples in manfile and on the internet seem really simple, but I cannot get my machine to join the network.  Am I missing something really simple?

Re: OpenBSD 4.4 and ral0

Post the complete output of dmesg(8).

Re: OpenBSD 4.4 and ral0

Sorry, it took so long to get back to you.

dmesg:

Loading...                                           
probing: pc0 com0 com1 pci mem[639K 63M a20=on] 
disk: hd0+
>> OpenBSD/i386 BOOT 3.02
>> OpenBSD/i386 BOOT 3.02
boot> 
booting hd0a:/bsd: 6238560+1041588 [52+319712+302630]=0x7896c4
entry point at 0x200120

[ using 622768 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org   
                                                                                
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008                       
    deraadt@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 = 55017472 (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                                                                
pci0 at mainbus0 bus 0: configuration mode 1 (bios)                             
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 steppi0
gpio0 at elansc0: 32 pins                                                       
ral0 at pci0 dev 16 function 0 "Ralink RT2561S" rev 0x00: irq 10, address 00:1d9
ral0: MAC/BBP RT2561C, RF RT2527                                                
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, c
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, ad
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, ae
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                                          
softraid0 at root                                                               
root on wd0a swap on wd0b dump on wd0b                                          
Automatic boot in progress: starting file system checks.                        
/dev/rwd0a: file system is clean; not checking                                  
setting tty flags                                                               
starting network                                                                
ral0: no link ............. sleeping                                            
sis0: no link ............. sleeping                                            
starting system logger                                                          
starting initial daemons:.                                                      
savecore: no core dump                                                          
checking quotas: done.                                                          
building ps databases: kvm dev.                                                 
clearing /tmp                                                                   
starting pre-securelevel daemons:.                                              
setting kernel security level: kern.securelevel: 0 -> 1                         
creating runtime link editor directory cache.                                   
preserving editor files.                                                        
starting network daemons: sendmail inetd sshd.                                  
starting local daemons:.                                                        
standard daemons: cron.                                                         
Sat Aug 16 14:12:40 PDT 2008                                                    
                                                                                
OpenBSD/i386 (soekris.hsd1.or.comcast.net.) (tty00)                             
                                                                                
login: