Here are a few scripts to help you control your smoothwall. Because they are scripts, you can easily edit them to suit your needs or preferences.
chilli_control is a script that takes a command-line argument telling
it what to do with your smoothwall, ie connect, disconnect, or get the
status. This version is designed for smoothwall version 2.0 beta.
You will need to edit the script to set it up for your smoothwall.
If you use the same smoothwall version, you will probably only really
need to change the firewall IP address and port, maybe tell it your
web browser, and edit the getPassword subroutine to somehow generate
your password (for example by prompting you for it, or extracting it
out of a file, or by putting it directly in the script).
If you use a different smoothwall version you may need to change the
page locations for the dial for dialling and status pages. You probably
know the URL of the page that shows you the status, and you can find out
the dial page by looking at the source html for whichever page contains
the Connect (or Dial) and Disconnect buttons, and look at the ACTION= tag
of the form which contains those buttons.
Also you may need to change it to use http instead of https - I don't know
as I have never used another smoothwall version.
chilli_applet is a script which creates an applet within your
GNOME panel. The applet shows the status of the smoothwall with a smiley :) or a sad :( face. When you click on it with the left mouse button it pops up a window showing the uptime and allowing you to Connect, Disconnect or open your web browser to the smoothwall status page (these actions are performed using chilli_control, above). For popping up the window it requires my other program, pgrompt. The popup window is a bit superfluous because there are also menu options for doing the same things in the applet's right click m enu. If you don't want the popup window, you don't need pgprompt.
You can easily edit what the applet shows if you don't like the smiley.
Note that although this is an applet, it doesn't get restarted automatically - you'll need to make sure it gets run when you log in. It's position in your panel should be remembered fine though.
Because the applet uses the perl-GTK (or Gtk-Perl?) perl modules, you will will need to get them too.
Software downloads are released under the GNU GPL
All downloads and related files are released "as is" and their use is entirely at your own risk.
Sorry I haven't gotten around to doing these screenshots yet :(
||The applet in a panel.|
||The popup window.|