Subject: Re: port-i386/10634: 802.11 cards not configured
To: None <>
From: Kevin Sullivan <>
List: netbsd-bugs
Date: 07/20/2000 12:40:45
Content-Type: text/plain; charset=us-ascii

On Thu, 20 Jul 2000 10:12:23 +0900, says
>	this looks to me that you were very lucky.  from code inspection,
>	if you specify "media autoselect", it turns off adhoc mode bit
>	(= turns the card into IBSS mode).  "media autoselecdt" does not do
>	adhoc/IBSS mode selection automagically.

In my /etc/dhclient.conf, I have:

interface "wi0" {
    media "-mediaopt adhoc nwid CMU", "mediaopt adhoc", "-mediaopt adhoc nwid ANY";

which tells dhclient to first check for the CMU BSS (at work), then an
adhoc network (at home), and finally an open BSS network.  Now we just need
a way to configure encryption keys from ifconfig.

The wavelan Win98 drivers have configurable "profiles".  Maybe we could add
a "profile" option to ifconfig and then configure the profiles with
wiconfig.  Thus:

wiconfig wi0 -X work -n CMU
wiconfig wi0 -X work -p 1
wiconfig wi0 -X work -k sekrit -v 1
wiconfig wi0 -X work -e 1
wiconfig wi0 -X home -p 3
wiconfig wi0 -X home -e 0

ifconfig wi0 profile work
ifconfig wi0 profile home


Content-Type: application/pgp-signature

Version: 2.6.2