home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Magazin 1996 March
/
CD_03_96.BIN
/
direct
/
qsockpro.qip
/
L&F.MPS
< prev
next >
Wrap
Text File
|
1996-02-14
|
1KB
|
65 lines
# Lemke & Fuerst GbR VJPPP & PPP & SLIP...
# 16/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 # get framing layer (MPPPP, MPSLIP)
if result = 0 then
Abort "Can't read 'Framing' setting from qdeck.ini"
endif
CommWaitFor "ogin:"
CommSend username
CommSend "%r"
CommWaitFor "assword:"
CommSend password
CommSend "%r"
if framing = "MPSLIP" then
print ""
CommWaitFor "rotocol:"
CommSend "SLIP"
CommSend "%r"
Print "Getting IP address for SLIP..."
CommWaitFor "SLIP on"
CommReadIPAddr IPAddress
CfgSetValue "IPAddress" IPaddress
print ""
Print "IP Address set to ["; IPAddress; "]"
print ""
else
print ""
Print "Framing is PPP"
print ""
CommSend "PPP"
CommSend "%r"
endif
END