home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1998 February
/
PCOnline_02_1998.iso
/
filesbbs
/
os2
/
ospfaq87.arj
/
OSPFAQ87.ZIP
/
sample
/
server
/
ppphost1.txt
< prev
next >
Wrap
Text File
|
1997-11-26
|
1KB
|
37 lines
/***************************************************************************/
/*** PPP-HOST Startup Rexx-Script ***/
/*** ***/
/*** ***/
/***************************************************************************/
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
Call SysCls
'@echo off'
say "======================================================================="
say ""
say " Starte PPP-Host Interface"
say ""
say "======================================================================="
say ""
say ""
say "INIT COM:2"
say ""
'mode com2:57600,n,8,1,,to=ON,xon=off,idsr=on,odsr=on,octs=on,dtr=hs,rts=hs,buffer=auto'
say ""
say ""
say "PPP wird in einer Hintergrund-Sitzung gestartet"
say ""
say ""
'Start "PPP-Host-GATE1" /C ppp.exe com2 57600 mru 1500 rtscts modem 192.168.2.1: netmask 255.255.255.0 priority 1 restart silent name gate1 +pap connect "slattach ATZ OK ATS0=2 OK "'
call syssleep 10
say " Konfiguriere Interface ...."
'ifconfig ppp0 192.168.2.1 up netmask 255.255.255.0'
say "Routing auf NETZ 192.168.3.0 "
'route add NET 192.168.3.0 192.168.2.1 1'
say ""
say "PPP-Host is running"
say ""
exit