<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Hi Kent et al,<BR>
I haven't done this yet but intend to try.<BR>
<BR>
What I'm thinking is to use the GUI networking tool System / Administration / Networking and use it's location profile to set up different wireless profiles. If these are kept separate, this would allow my work and home SSID to be stored with the profile and activated at a couple of clicks of the mouse.<BR>
<BR>
It does mean that only your default profile will work at boot and you have to wait till you're in the GUI to change but I'm hoping this is how it will work and make this reasonably simple.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Kind Regards Russell<BR>
==================<BR>
www.windsorcycles.com.au<BR>
bikes.no-ip.info<BR>
Linux user #369094<BR>
==================
</TD>
</TR>
</TABLE>
On Tue, 2005-04-05 at 17:56 -0400, Zach wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Kent,</FONT>
<FONT COLOR="#000000">More details, please. Sounds like what you're doing really rocks. </FONT>
<FONT COLOR="#000000">I'm especially interested in the ifplugd doohickey. Sounds like a</FONT>
<FONT COLOR="#000000">daemon that detects media presence on your eth0, then fires off some</FONT>
<FONT COLOR="#000000">script to ifdown eth1, ifup eth0, or something like that. I'd like to</FONT>
<FONT COLOR="#000000">know more.</FONT>
<FONT COLOR="#000000">Zach</FONT>
<FONT COLOR="#000000">> Date: Tue, 5 Apr 2005 14:39:38 -0500</FONT>
<FONT COLOR="#000000">> From: Kenton Brede <<A HREF="mailto:kbrede@nixnotes.org">kbrede@nixnotes.org</A>></FONT>
<FONT COLOR="#000000">> Subject: Re: Wireless profiles</FONT>
<FONT COLOR="#000000">> To: Ubuntu Help and User Discussions <<A HREF="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</A>></FONT>
<FONT COLOR="#000000">> Message-ID: <<A HREF="mailto:20050405193938.GA1288@brede.us">20050405193938.GA1288@brede.us</A>></FONT>
<FONT COLOR="#000000">> Content-Type: text/plain; charset=us-ascii</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> On Tue, Apr 05, 2005 at 02:16:01PM -0400, John DeCarlo (<A HREF="mailto:johndecarlo@gmail.com">johndecarlo@gmail.com</A>) wrote:</FONT>
<FONT COLOR="#000000">> > I would like recommendations on a package that will keep track of my</FONT>
<FONT COLOR="#000000">> > wireless connections and their setup.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > So, at home I have WEP encryption, SSID X, etc.</FONT>
<FONT COLOR="#000000">> > At the library I use their unencrypted wireless</FONT>
<FONT COLOR="#000000">> > At work there is another encryption setup and SSID,</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > Right now I am still changing it all by hand. I was just about to</FONT>
<FONT COLOR="#000000">> > script the various changes I make when I thought that one of the</FONT>
<FONT COLOR="#000000">> > packages available for Ubuntu might well do the trick.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > I searched on wireless in synaptic, but it found a bunch of packages -</FONT>
<FONT COLOR="#000000">> > too many to try them all.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > Suggestions?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> What I did is take out all entries from /etc/network/interfaces except</FONT>
<FONT COLOR="#000000">> lo. Create two new files in /etc/network/, one for wireless and one for</FONT>
<FONT COLOR="#000000">> wired. I hacked /etc/init.d/networking so that it looks for my home network</FONT>
<FONT COLOR="#000000">> SSID. If it finds that SSID then it it starts the wireless interface</FONT>
<FONT COLOR="#000000">> with the appropriate WEP key. Otherwise it snags the SSID presented and</FONT>
<FONT COLOR="#000000">> starts without WEP. For my wired connection I installed ifplugd and set</FONT>
<FONT COLOR="#000000">> it up so it kills my wireless connection when I plug in the cable and</FONT>
<FONT COLOR="#000000">> starts my wired network and reverses this when I unplug the cable.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> If none of that made sense, whether I'm at home or at work my wireless</FONT>
<FONT COLOR="#000000">> auto starts at boot. If I want a wired connection, I plug the cable</FONT>
<FONT COLOR="#000000">> in, wireless drops and wired is activated. When I pull the cable the</FONT>
<FONT COLOR="#000000">> wireless is activated.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> If no one responds with a, 'just install this and your gold,' and you</FONT>
<FONT COLOR="#000000">> would like more details, let me know.</FONT>
<FONT COLOR="#000000">> Kent</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> --</FONT>
<FONT COLOR="#000000">> "Our lives begin to end the day we become silent about things that matter."</FONT>
<FONT COLOR="#000000">> - Martin Luther King Jr.</FONT>
<FONT COLOR="#000000">></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>