From: Tony Whitmore <tonywhitmore@us...> - 2004-01-23 23:57:22
Diwaker Gupta wrote:
> Hi everyone,
> This question is not directly related to ndiswrapper, but I hope
someone can help me out. Basically I want automatic configuration of
"profiles" for my wireless device -- so for instance, when I'm at home,
it should automatically associate to my home AP using the appropriate
WEP key, and if I'm at school, it should associate with the public APs
there with no WEP, and if I'm in my lab, it should associate with my
lab's AP with the appropriate AP and so on. I hope you get the picture.
> In windows, this is quite easily done. However, I havent been able to
figure out a neat and clean way of doing this with Linux distros. Does
anyone have any ideas?
Perhaps a shell script launched before the interface is bought up (this
is quite easy in Debian, not so sure about other distros.) This could
use the iwconfig commands to scan for an AP and then run a set of
commands depending on the AP located. That way you could set the WEP key
and ESSID depending on which AP you are in range of.
I'm sure someone will come up with a neat way of doing this in Perl, but
its not by speciality It's also late here so I can't come up with a s
ample script at the moment, but the theory is good.
-----BEGIN PGP SIGNED MESSAGE-----
on 01/24/04 00:57, Tony Whitmore wrote:
> Perhaps a shell script launched before the interface is bought up (this
> is quite easy in Debian, not so sure about other distros.) This could
> use the iwconfig commands to scan for an AP and then run a set of
> commands depending on the AP located. That way you could set the WEP key
> and ESSID depending on which AP you are in range of.
what about 'ifplugd' + 'waproamd'?
I think they make exactly what you need.
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----