home *** CD-ROM | disk | FTP | other *** search
- ; This is a sample DOS script to replace AmiTCP:bin/startnet from
- ; the original AmiTCP 3.0b distribution.
- ;--------------------------------------------------------------
- runback AmiTCP:AmiTCP
- WaitForPort AMITCP >nil:
- AmiTCP:bin/ifconfig lo0 localhost >nil:
- ; I use the cslip0 interface below, try slip0 if compressed SLIP is
- ; not available from your provider. Be sure to use the same interface
- ; here as you used in SLIPStart.rexx.
- ; Next, the "$ip" is the environment variable set up by the scripts
- ; which will be *your* host address for this SLIP session. 8)
- ; Next, you supply the host address (i.e. the address of your provider).
- ; The address mask after "netmask" should not need to be changed.
- AmiTCP:bin/ifconfig cslip0 $ip 129.123.45.0 netmask 255.255.255.0 >nil:
- ; Add any aliases you like, be sure to include "localhost" tho.
- AmiTCP:bin/route add me.mydomain.edu localhost >nil:
- ; Here, you specify the default gateway address given by your provider.
- AmiTCP:bin/route add default 129.123.45.2 >nil:
- Assign TCP: Exists >nil:
- IF Warn
- Mount TCP: from AmiTCP:devs/Inet-Mountlist >nil:
- EndIf
- runback AmiTCP:bin/inetd
-
-