mynw.pl
This program is Copyright (C) 2008 by
Jim Turner
Email: turnerjw784 - at - yahoo .dot com
All rights reserved.
You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
mynw.pl [-h|<options>]
mynw.pl is a Perl/Tk gui tool for quickly switching networks. It maintains a (Sprite XML) database of network configurations. This program is written for Mepis (other distros should work too, possibly needing minor tweaks) users with laptop computers to quickly change network setup without having to change (erase) their normal settings in the Mepis network setup gui.
Each configuration can be set up graphically, tested, used, and saved with a useful name for future reuse. Each configuration has a network interface associated with it, static IP information (or DHCP), static DNS (or DHCP DNS) and optionally (if a wireless interface) wireless information such as SID, WEP password, and other iwconfig parameters associated with it.
When the network is restarted to switch to a new interface, each network command is displayed just as it is executed showing you exactly what is being done! A status button also provides quick display of current ifconfig, iwconfig, resolv.conf, and route output to aid in any debugging.
There is also a wardrive button that calls swscanner to search quickly and easily search for access points when on the road. Edit the program and change swscanner to your favorite wardriving scanner, if desired.
mynw.pl can also be run strictly as a command-line utility if desired to quickly switch network "profiles" within bash scripts if desired.
Run mynw.pl -h for list of valid options and configured network profiles.
Software requirements:
Perl, Tk, DBI (plus a working, writable database - Sprite is the default), Tk::JBrowseEntry, and Tk::JDialog. NOTE: You do not need the Tk modules to use the tool as a command-line tool!
You will need to edit the program source file (mynw.pl) and change your database parameters, etc at the top of the program (see source comments) - mynw.pl needs a working, writable database that it can create a table in containing the profiles you set up. Any DBI-supported database including Sprite, mysql, CSV, etc. should suffice.
This program is copyrighted (c) 2008 by Jim Turner, all rights reserved. Use of this program is entirely at users' own risk, the author assumes no liability whatsoever for any loss either actual or perceived resulting from the use of this software. Author makes no warrants as to the usability or applicability of this software for any purpose either stated or implied.
This program is licensed under the GNU General Public License (GPL v3).
See below: