Hi there misc! I'm having trouble connecting to my router. Any help would be appreciated.
I can get athn0 to "link", but then it sends a dozen DHCPREQUESTs, and then sends DHCPDISCOVERs until it sleeps... I've never had this problem before. Last time I switch routers, I just changed nwid, and wpakey with ifconfig, then ran dhclient for athn0 and it worked. This time i've tried setting chan, bssid, nwid, nwkey, wpakey, and wpaakms. I've set these parameters with ifconfig, and also entered into my /etc/hostname.athn0 file. I've also tried entering (into the /etc/hostname.athn0 file) "dhcp" and "dhcp NONE NONE NONE" before any parameters. Usually, the anth0 won't link, just sleeps. But sometimes I can get it to send some DHCPREQUESTs and DHCPDISCOVERs before sleeping... >_< Um...I haven't changed much. Just edited the /etc/pf.conf file (just delete all blank lines and comments to make it smaller :P) and did whatever afterboot said, oh and also right at the end of /etc/netstart I added "ifconfig athn0 lladdr random" to randomize my MAC on each boot. Sometimes I try running /etc/netstart athn0 instead of dhclient athn0. Oh, and also I edited /etc/dhclient.conf a little, just to make it try longer before going to sleep, but doesn't help. Anyone have any ideas??? I'm totally stuck! (reading RFC 2131 right now...) Thanks!!! P.S. using openbsd 5.2, running on a toshiba netbook.

