Hi there,
right after upgrading my boxes to the latest 4.8 release (from the
previous release) I've noticed that my access points wireless cease to
work. Please note that those access points are completely independent
and are used to serve different networks.

They're both using NICs that use the ral driver.

1st box brief details:
HP d530 ultra slim:
- Intel Pentium 4 CPU 2.66GHz
- real mem = 259551232 (247MB)
- avail mem = 242786304 (231MB)
- ral0: Ralink RT2561S (pci card)

2nd box brief details:
IBM Thinkpad A21m:
- Intel Pentium III 549 MHz
- real mem = 133722112 (127MB)
- avail mem = 120918016 (115MB)
- ral0: Ralink RT2561S (pcmcia card)

I'm actually use a little script to turn on the access point but the
command line that I use (on both) is mainly this:
ifconfig ral0 inet $AP_IPADDR netmask $AP_SUBMASK mediaopt hostap mode
11g chan 12 bssid $MAC_MASK nwid $NWID -powersave wpa wpaakms psk
wpaciphers ccmp wpagroupcipher ccmp wpaprotos wpa2 wpapsk
`cat /root/WPA-PSK-64HEX` debug up

I've left some macros unveiled because are not relevant to the scope.

This was working perfectly since the openbsd 4.6 (same hardware). On my
last version upgrade (few days ago) everything stopped working.

The interface comes up but there's no handshaking between devices....no
debug output. I've checked any log (firewall included) but there's
basically no related activity. On the client's point of view is possible
to see the network name broadcast but is not possible to connect. The AP
simply doesn't "answer".

So I've made a test on the thinkpad only because would have been much
easier due to its pcmcia card, on the other box the NIC is internal.
I've removed the card, and re-inserted. Everything looked fine but once
I activate the AP using the aforementioned command, the system gets
instantly frozen! No chance to write anything, nor to switch to another
virtual terminal. The network immediately stops working just like
anything else. I cannot provide any debug because the system never
leaves that frozen state. I've left it frozen for an hour. I just had to
do an hard reset.
The only way not to get it frozen again is to assure that the NIC is
already inserted during the bootstrap. In that case, the AP starts with
no problems. It's still not working but at least it doesn't cripple the
system.

This is my first bug submission to the OpenBSD community and I hope that
the information provided are sufficient to make you able to reproduce
the bug.

The inability to make my wireless networks working is a big discomfort
but the fact that the system gets entirely frozen and indefinitely
(temporarily speaking) it makes that critical.

If you need further information please don't hesitate to contact me.

Best Regards.

Reply via email to