Wireless profiles
Kenton Brede
kbrede at nixnotes.org
Tue Apr 5 19:39:38 UTC 2005
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