SETTING UP DIAL-IN SYSTEM 10 (16)
Mobile Phones
3.1 21.04.99
Copyright©Nokia Mobile Phones 1999
A more elaborate session. The user must execute the following dialog with the IAP to start PPP negotiations:
Sender Message
IAP Login:
User Myusername<CR>
IAP Password:
User 2secret4u<CR>
IAP #
User ppp<CR>
IAP Your IP address is 123.132.123.123 and please
use 123.123.123.1 as your DNS server. <CR>
IAP (begins PPP)
The following script will establish the connection:
Script sample for Case 2.
# Great Access service login script
# In case the line is busy
ABT "NO CARRIER" ABT BUSY
# Timeout should be set if there are problems
TOUT 25
# Send CR if Login: doesn't appear, and when it appears send
# the username
ogin:-""-ogin: Myusername
# Ask password from the user when the IAP sends a string with
# 'ord:' in it.
ord: %askq(Give Password)%
# When the IAP sends '#' send 'ppp' if it does not send '#' send a
# Carriage Return. '/' is required to distinguish the '#' character.
/#-""-/# "ppp"
# Wait for keyword " is " (/s is a space) and wait for the IP
# address (/A), then send nothing (/c)
/sis/s/A /c
# Wait for keyword " use " (/s is a space) and wait for the DNS
# address (/D), then send nothing (/c)
/suse/s/D /c
# End of script, PPP starts
3.6. Octal Values of Characters
If there are problems in transmitting some characters, you can always use the special sequence /ddd, where ddd is
the octal value of a character.
Here are the octal values:
Non-Printing Characters
Octal Character Remark
000 CTRL-@ NUL (Null prompt)
001 CTRL-A SOH (Start of heading)
002 CTRL-B STX (Start of text)