Subject: Re: port-i386/10634: 802.11 cards not configured
To: None <itojun@iijlab.net>
From: Kevin Sullivan <ksulliva@psc.edu>
List: netbsd-bugs
Date: 07/20/2000 12:40:45
--==_Exmh_2140865048P
Content-Type: text/plain; charset=us-ascii
On Thu, 20 Jul 2000 10:12:23 +0900, itojun@iijlab.net 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
-Kevin
--==_Exmh_2140865048P
Content-Type: application/pgp-signature
-----BEGIN PGP MESSAGE-----
Version: 2.6.2
iQCVAwUBOXcrjH4qeMKIUCpVAQHPyAP/aBiEzDyYRe3sxUIlunHWXbs7j56jcJ2A
hnLjsPHE8PkSIAR7HS7b14/fhRNHXO86N6rRQIUdlNF2H2JuQFMOJDcbyQCqiDj0
cgWVhzj6FaJDlou3S4D3s28i/8OHT69GJNexxyUy+ziW23A4HTo8apcKE+yhcBQk
WItOxvFqzFk=
=T0LK
-----END PGP MESSAGE-----
--==_Exmh_2140865048P--