Johan wrote:
> Hansen Cahyono skrev:
> > Johan <johan <at> linner.biz> writes:
> > > Ok, I have narrowed the problem down.
> > > If I don't use a wep key (ifconfig ral0 -nwkey) then dhcpd works
> > > and the client gets the ip. So it seems like some kind of problem
> > > with hostap/ral/nwkey together with dhcpd... 
> > 
> > Try to create a bridge and add both of the interfaces (sis0 and
> > ral0) to the bridge, but only run dhcpd on sis0.
> 
> Tried bridging ral0 and sis0, still no dhcp lease.
> 
> I've found a workaround though:
> Entering the nwkey as dec not hex and all works fine;
> This works: ifconfig ral0 nwkey abcde
> This does NOT work: ifconfig ral0 nwkey 0x1234567890
> The clients I have tried is all Windows XP, don't know if this is a
> windows related client thing or something weird with
> ral/hostap/nwkey/dhcpd.

FWIW, and not that I doubt you, but I flagged this thread, just setup my
first ral-based 11g hostap pilot system using 3.9-release and Windows XP
SP2 clients and, using a similar setup, cannot reproduce the issue.

Details:

$ dmesg | grep ral0
ral0 at cardbus1 dev 0 function 0 "Ralink Technology, Inc., RT2500,
802.11  CardBus Reference Card": irq 11, address 00:0e:3b:07:a2:13
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525

$ cat /etc/hostname.ral0
inet 192.168.255.254 255.255.255.224 NONE \
        nwid openbsd nwkey 0x5a5b3813297372517d647b294a mediaopt hostap

$ cat /etc/dhcpd.interfaces
ral0

It's nice to finally break the ~600KB/s 11b barrier with OpenBSD hostap.
A quick test using 128-bit WEP, the default channel and ftp reveals
~20Mb/s.

Thanks "devs."

Reply via email to