Hi,

I'm looking to create or cobble together functionality that automates
network connections as a user roams around with a laptop. The idea is
to respond to changing network availability: wifi network is known, so
connect, or cable was plugged in, or connect for the first time and
remember, etc).

On Linux, this is provided by program called NetworkManager. I'm
pretty sure it's are Linux-specific and, anyway, it depends
on DBus (a separate messaging system). I was hoping to create
something a little more self contained. I did explore a couple
of avenues.

One was the "wiconfig" script mentioned on Undeadly a while
back. This didn't connect, seemingly because it tried to use WEP, not
WPA. I didn't want to debug a shell script to find out why.

Another possibility is using ifstated. However it looks like WiFi
interfaces are always "up", even in the "no network" state, so it's
unclear whether the required state transitions would actually happen
But I haven't verified that, so I can't dismiss this as a solution.

An argument could be made that this is of marginal utilty. How hard is
it to use ifconfig, anyway? But I figured it might be an interesting
exercise and may be a nice convenience. Any advice, or discussion
would be appreciated.

Chuck

Reply via email to