Coping with multiple wireless and wired nets.

Dan Pelleg daniel+fbsdm at pelleg.org
Tue May 25 12:29:45 PDT 2004


"Shaun T. Erickson" <ste at smxy.org> writes:

> Ok. I installed 5.2.1 on a laptop the other night, which went quite
> nicely. During the install, it detected my wireless card, just fine. It
> wanted to dhcp for it, but that (correctly) failed, as my net uses wep. So,
> it punted me to the manual interface configuration screen, where I was
> easily able to tell it everything it needed to successfully get me on the
> air. I was a happy camper.
>
> Questions:
>
> 1) How do I tell the system the ssid, wepmode, and key, and then have it get
> everything else via dhcp, during boot up?
>

In the right interface clause in /etc/dhclient.conf add:
media "ssid MYSSID nwkey MYKEY";

> 2) How do I *easily* handle multiple wireless nets? I will be using the
> laptop on a number of them.

media "ssid MYSSID1 nwkey MYKEY1", "ssid MYSSID2 nwkey MYKEY2", "ssid - wepmode off";


-- 

  Dan Pelleg


More information about the freebsd-mobile mailing list