[vox-tech] Automatic wifi settings on boot?

Chanoch (Ken) Bloom kbloom at gmail.com
Wed Feb 4 12:03:21 PST 2009


On Wed, 2009-02-04 at 10:56 -0800, Bill Kendrick wrote:
> Is there an easy way to get a Linux laptop to connect to one of
> a number of wireless networks, based on which ESSID it sees?
> 
> Last time I checked (kernel has upgraded since), my wifi gets kind of
> finicky if it tries to connect to a WAP that isn't there.
> (e.g., if I leave my home WAP, which requires a key, in
> /etc/network/interfaces but then go boot up at Mishka's or Common Grounds,
> it seemed like I needed to alter 'interfaces' and then do a reboot to
> ever get it to work... just running 'sudo /etc/init.d/networking restart'
> didn't seem enough.)

`/etc/init.d/networking restart` is a bit drastic a hammer for just
about anything dealing with network interfaces. Use the `ifup` and
`ifdown` commands instead.

--Ken

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20090204/31844360/attachment.pgp 


More information about the vox-tech mailing list