NetSLIP v0.1b DIP Script for Establishing a SLIP Connection for Dynamic IP Accounts by Daryl Jurbala CAVEATS: This is freeware. If your enire neighborhood blows up because you used this script, it's not my problem. Copying is covered under the terms of the GNU Copyleft. WTF IS IT? NetSLIP is a simple DIP script which was created especially for v3.3.7l-uri of DIP connecting to Netaxs.Com (a Philadelphia Internet Provider). It can be easily modified for any other dialup service. INSTALATION: Put this script wherever you want. I keep mine in /etc. To execute it you need to first set up your defaults. LINE# What It Does ------ ------------------------------------------------------------------- 4 Modem com port. Change it to yours. 6 Serial line speed. Set it to something appropriate for your modem speed. 10 Leave this go until you know everything works. Then you can change it to 'echo off' to get rid of the verbose display and see only a few key prompts. 12 Put your modem's init string on this line. 15 Put your Internet Provider's phone number here. The one listed is the main line to netaxs. 25 Now here's where it gets tricky (if you aren't calling netaxs, that is). Netaxs outputs a welcome screen with a final line of 'What do you want to do now?', at which point you would type slip to get your slip login. If your provided prompts differently change this line to the last few characters of the prompt. (Netaxs users beware, this can safely be left alone calling the main Philly line, but some other annexes that I have seen give you a prompt like '[bbs,member, slip,ppp,cpcn,hangup]', in which case you should change the '?' to a ']'. 27 This is what you reply to the above prompt. Netaxs users should leave this alone. 29 This is the Username prompt. Some systems may prompt for 'login:' instead of 'Username:'. Make sure you change it if your system says the latter. Netax users leave this alone (again). 32 Your username. Change it. 33 This is your system's 'Password:' prompt. Most people won't need to change this. 36 Put your password here. 39 This line along with line 40 get the IP addresses that netaxs prints in the screen. The 'get $rmtip/$locip remote' commands simply watch the serail line input for the next valid IP address and define the variable with it. So if your provider displays the local IP first, switch these lines. If your peovider only displays the local IP, and your remote IP is fixed, you can subsitiute line 39 with 'get $rmtip '. Netaxs users don't even think about touching these lines. It will automatically grab the IP's, no matter which annex you call into. 45 This can be safely left untouched, especially if you don't know what the mtu parameter is for . 49 Netaxs and most other providers use CSLIP (SLIP with Compressed Headers). If your provider doesn't, change this to the appropriate protocol. That's it! It's simple. I wouldn't have released it if I hadn't heard so many people ask for the script every time I told them I had my box connected via SLIP on a dynamic IP link. So here it is. Any questions/comments/ flames/death threats can be sent to lucifuge@netaxs.com. THE FUTURE: Gee, this is such a complicated script (grin). The only other thing I plan on doing is making it work for PPP links as well, and maybe make it easier to set up automatically for some of the more popular providers.