If you need a GUI, checkout LaptopNet instead. Netswitch and LaptopNet have similar end-user aims, but netswitch tries to be simpler -- it just remembers different network settings and lets the user set them with tools like netconf, vi or emacs.
Co-developers are welcome. In the sourcecode, see Notes C D and E for my desired changes. Plus, there may be user requests.
If you use netswitch please join the low-volume netswitch-users mailing list.
netswitch.pl [ -sS | -t test_base -e ] [ -q ] config
######################################################
Designed for laptop users who switch between non-DHCP networks.
Switches between the network configs stored in /usr/local/etc/netswitch.
-s saves the current network configuration as a new configuration set
-S like -s, except it will overwrite an existing saved configuration set
-t testing -- don't overwrite config files in /etc, use 'test_base' instead
-e invoke the network setup script after overwriting configuration set
-q quiet -- don't say what program is doing unless there is an error.
unless using the -s or -S options,
currently available configs are ( work home budapest )
Examples of Switching to a new Config:
--------------------------------------
netswitch.pl budapest # overwrites network config files with saved set
# called 'budapest'
netswitch.pl -e budapest # ditto, also invokes network setup script
Examples of Saving/Creating a new Config:
-----------------------------------------
netswitch.pl -s new # saves current network config files
# to saved set called 'new'
netswitch.pl -S replace # replaces saved set called 'replace'
# with current network config files
Warnings:
---------
Netswitch Copyright 2000 madebeer@igc.apc.org, relased under the GPL
(see: http://www.gnu.org/)
Use at your own risk --
it works for me on Slackware, and that is all I can say for it.
netswitch.pl may destroy your network configuration and behave badly.