Subject: Re: WEP support for atu device
To: Andy Ruhl <acruhl@gmail.com>
From: Joseph A. Dacuma <jadacuma@ched.gov.ph>
List: netbsd-users
Date: 01/19/2007 15:48:08
Hi Andy!
>
> Might as well post your ifconfig.atu0 file, but give a fake key.
>
> I've got WEP working with wi0, seems like it shouldn't be any
> different for atu0?
>
> Andy
>

Thanks for your reply. True, atu is quite old and should be supported. My
rc.conf has these entries:

ifconfig_atu0="media DS11 chan 11 mode 11b ssid bsdnetwork nwkey
0xdeadbeef12"
dhclient=yes

Even if I set it manually, configure it with a static IP, still it wouldnt
work.

atu0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid bsdnetwork nwkey bsdne
	powersave off
	chan 11
	address: 00:0f:66:10:3e:fe
	media: IEEE802.11 autoselect mode 11b
	status: no network
	inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::20f:66ff:fe10:3efe%atu0 prefixlen 64 scopeid 0x3

Note that the nwkey is just imaginary but on my actual ifconfig -a result
the (64bit WEP) hex values is translted correctly to human readable
format.

The said nwkey entry is verified working since I copy-pasted the exact
values minus 0x using Windows XP. Same machine, same unit of wireless
adapter, same AP. Works ok with 3.1 stable without WEP. I may have missed
something.

Joseph