You are not logged in.

#1 2005-08-23 09:04:29

wiremore
Member
Registered: 2005-08-23
Posts: 43

simple wireless autodetection

I wrote a simple wireless autodetection script for arch. I bring my laptop between several wireless networks often, and having to switch the key settings manually was getting to be a pain.

http://wiki.archlinux.org/index.php/Sim … odetection

Offline

#2 2005-08-23 09:12:02

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: simple wireless autodetection

In my repo you can find an implementation of the new Arch initscripts (as yet unreleased) that have been patched with an autodetection system created by iphitus - which does not rely on the scan function - you might find that a somewhat  more complete approach

Offline

#3 2005-08-23 16:12:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: simple wireless autodetection

wiremore wrote:

I wrote a simple wireless autodetection script for arch. I bring my laptop between several wireless networks often, and having to switch the key settings manually was getting to be a pain.

http://wiki.archlinux.org/index.php/Sim … odetection

That's actually very elegantly done.  For the record, you may want to checkout the initscripts in the testing repo, as they support roaming wireless profiles.

Offline

#4 2005-08-23 23:56:52

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: simple wireless autodetection

dibble, I looked at the initscripts in your repo, but for the life of me, I can't find the autodetection stuff. How does it work?

I did check out the testing repo. I was using that for a while, but, unless i messed something up, you still have to manually switch between network profiles when changing networks.

Offline

#5 2005-08-24 06:41:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: simple wireless autodetection

wiremore wrote:

dibble, I looked at the initscripts in your repo, but for the life of me, I can't find the autodetection stuff. How does it work?

I did check out the testing repo. I was using that for a while, but, unless i messed something up, you still have to manually switch between network profiles when changing networks.

well, yeah, but shouldn't you know what network you're connecting to?

Offline

#6 2005-08-24 09:25:22

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: simple wireless autodetection

http://www.archlinux.org/pipermail/arch … 05251.html

That explains how the "autodetection" works - you simply list your profiles in NET_PROFILES - make the last profile an ESSID "any" profile and it should do exactly what your script does but without the need for "scan" - which is why iphitus made it that way

Offline

#7 2005-08-25 02:57:14

pantyhacker
Member
From: Canada
Registered: 2005-08-04
Posts: 14

Re: simple wireless autodetection

thats the beauty of *nix, the many different ways to accomplish the same task!  amen to open source! <3

Offline

Board footer

Powered by FluxBB