REM  Batch file to automate signing into your Netware server using IP
REM  tunneling via SLIP
REM
REM  Remove all comments to the right of the commands before using.

@ECHO OFF             ;Turn command echo off
C:\SLIPNET\LSL        ;Load the link support layer
C:\SLIPNET\SLIP_PPP   ;load LAN Workplace SLIP driver

:DIALER
C:\SLIPNET\MODEM 1 DIAL ATDT555-4637 ;Dialout 1st number using com1
C:\SLIPNET\MODEM 1 CARRIER           ;Check for presence of modem carrier  
IF NOT ERRORLEVEL 1 GOTO CONNECTED   ;If carrier present, goto connected
C:\SLIPNET\MODEM 1 DIAL ATDT555-9834 ;dialout using 2nd number
C:\SLIPNET\MODEM 1 CARRIER           ;Check for presence of modem carrier
IF NOT ERRORLEVEL 1 GOTO CONNECTED   ;if carrier present, got connected 
GOTO DIALER

:CONNECTED
RING 5          ;Sound ring tone with RING.COM utility to notify you 
                ;that you're connected
CLS             
ECHO.
ECHO Please hit return a few times to generate a Username: prompt.
ECHO.
PAUSE
C:\SLIPNET\MODEM 1 TERM   ;Puts you in terminal emulation mode so you 
                          ;can sign on and get your IP number, if 
                          ;needed
 
C:\DOS\EDIT C:\SLIPNET\NET.CFG  ;Insert your assigned IP number
C:\SLIPNET\TCPIP                ;Load the TCP/IP protocol stack
C:\SLIPNET\IPTUNNEL             ;Load the IP tunnel driver
C:\SLIPNET\IPXODI               ;Load IPXODI
C:\SLIPNET\VLM                  ;Load VLM's
CHDIR \
CD NOVUTIL                      ;Directory where your network utilites 
                                ;are locally stored
LOGIN                           ;Sign into your network
