Wireless profiles

Zach uid000 at gmail.com
Tue Apr 5 21:56:21 UTC 2005


Kent,

More details, please.  Sounds like what you're doing really rocks. 
I'm especially interested in the ifplugd doohickey.  Sounds like a
daemon that detects media presence on your eth0, then fires off some
script to ifdown eth1, ifup eth0, or something like that.  I'd like to
know more.

Zach

> Date: Tue, 5 Apr 2005 14:39:38 -0500
> From: Kenton Brede <kbrede at nixnotes.org>
> Subject: Re: Wireless profiles
> To: Ubuntu Help and User Discussions <ubuntu-users at lists.ubuntu.com>
> Message-ID: <20050405193938.GA1288 at brede.us>
> Content-Type: text/plain; charset=us-ascii
> 
> On Tue, Apr 05, 2005 at 02:16:01PM -0400, John DeCarlo (johndecarlo at gmail.com) wrote:
> > I would like recommendations on a package that will keep track of my
> > wireless connections and their setup.
> >
> > So, at home I have WEP encryption, SSID X, etc.
> > At the library I use their unencrypted wireless
> > At work there is another encryption setup and SSID,
> >
> > Right now I am still changing it all by hand.  I was just about to
> > script the various changes I make when I thought that one of the
> > packages available for Ubuntu might well do the trick.
> >
> > I searched on wireless in synaptic, but it found a bunch of packages -
> > too many to try them all.
> >
> > Suggestions?
> 
> What I did is take out all entries from /etc/network/interfaces except
> lo.  Create two new files in /etc/network/, one for wireless and one for
> wired.  I hacked /etc/init.d/networking so that it looks for my home network
> SSID.  If it finds that SSID then it it starts the wireless interface
> with the appropriate WEP key.  Otherwise it snags the SSID presented and
> starts without WEP.  For my wired connection I installed ifplugd and set
> it up so it kills my wireless connection when I plug in the cable and
> starts my wired network and reverses this when I unplug the cable.
> 
> If none of that made sense, whether I'm at home or at work my wireless
> auto starts at boot.  If I want a wired connection, I plug the cable
> in, wireless drops and wired is activated.  When I pull the cable the
> wireless is activated.
> 
> If no one responds with a, 'just install this and your gold,' and you
> would like more details, let me know.
> Kent
> 
> --
> "Our lives begin to end the day we become silent about things that matter."
>   - Martin Luther King Jr.
>




More information about the ubuntu-users mailing list