The Weasel
How to make your personal computer accessible over the Internet (despite dynamic IP addressing)
Problem: Most dialup Internet service providers use what is called dynamic IP addressing; what this means is that your Internet address is different each time you connect to your ISP. For normal use this is not a problem, however if you want to be able to run server programs that others can access, you need a way of advertising your computer's current Internet address.
Solution: Weasel is a utility which automatically generates an HTML file containing up to date links to your computer. It then posts this file to your permanent Web site for others to access.
How it is used
You supply the program with a template HTML file into which special commands are placed as required. The program processes the template file and produces a temporary file where the special commands have been substituted with the command's replacement text. See the table in the User's Guide
This temporary file is then uploaded to the location of your choice using FTP.
Typically the HTML file will contain links to an FTP or HTTP (WWW) server running on your computer but you are not limited to this, you could, for example, also have a link to a TELNET server.
In actual fact the template file does not have to be an HTML file it can be any ASCII text file, which may lead to other uses for the program. eg If you have a UNIX shell account Weasel could be used to generate a .plan
file so that a finger request to that account returns the current Internet addressing information of your personal computer.
Ideally it is best to have Weasel run automatically just after a connection to your ISP has been made, however you can always run it manually if you can't figure out how to get it to run automatically.
I use OS/2 and I use the PPPDIAL REXX script which provides the auto run facility. The Injoy OS/2 replacement dialer directly supports the launching of programs upon connection.
For other platforms you will have to figure out if it can be run automatically for yourself.
What you will need:
FAQ - Frequently asked questions