home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Magazin 1996 March
/
CD_03_96.BIN
/
direct
/
qsockpro.qip
/
ISYS.MPS
< prev
next >
Wrap
Text File
|
1996-02-14
|
1KB
|
64 lines
# Isys Germany VJPPP & PPP / VJSLIP & SLIP...
# 08/08/95 BC
String username
String password
String framing
String IPAddress
# Trace on
SetTimeout 60
CfgGetValue "Username" username
if result = 0 then
GetInput "Enter your user name" username
if result = 0 then
Print "Warning, no username entered"
else
Print "Username set to ["; username; "]"
endif
endif
CfgGetValue "Password" password
if result = 0 then
GetPassword "Enter your password" password
if result = 0 then
Print "Warning, no password entered"
else
Print "Password set."
endif
endif
CfgGetValue "Framing" framing
if result = 0 then
Abort "Can't read 'Framing' setting from qdeck.ini"
endif
CommWaitFor "ogin:"
CommSend username
CommSend "%r"
CommWaitFor "asswort:"
CommSend password
CommSend "%r"
if framing = "MPSLIP" then
print "..."
Print "Getting IP address for SLIP..."
CommSend "slip"
CommSend "%r"
CommWaitFor "IP-nummer"
CommReadIPAddr IPAddress
CfgSetValue "IPAddress" IPaddress
print ""
Print "IP Address set to ["; IPAddress; "]"
print ""
CommSend "surfen"
CommSend "%r"
else
CommWaitFor "PPP"
print ""
Print "Framing is PPP"
print ""
endif
END