Cover V05, I05
Article
Figure 1
Figure 2
Figure 3
Listing 1
Listing 10
Listing 11
Listing 12
Listing 13
Listing 2
Listing 3
Listing 4
Listing 5
Listing 6
Listing 7
Listing 8
Listing 9
Sidebar 1
Sidebar 2
Sidebar 3

may96.tar


Listing 10: Example login session

#cu -d -b 8 -L serverPPP

conn(serverPPP)
Trying entry from '/etc/uucp/Systems' - device type
ACU-ppp.
Device Type ACU-ppp wanted
Trying device entry 'cua/a' from '/etc/uucp/Devices'.
processdev: calling setdevcfg(cu, ACU-ppp)
fd_mklock: ok
fixline(6, 9600)
gdial(hayes) called
Trying caller script 'hayes' from '/etc/uucp/Dialers'.
expect: ("")
got it
sendthem (DELAY
AT^M<NO CR>)
expect: (OK^M)
AT^M^M^JOK^Mgot it
sendthem (ECHO CHECK ON
A^JATTDDTT99887711223344^M^M<NO CR>)
expect: (CONNECT)
^M^JCONNECTgot it
STTY crtscts
getto ret 6
expect: ("")
got it
expect: ("")
got it
sendthem (^M^M^J^M)
expect: (ogin:)
timed out
sendthem (^M^J^M)
expect: (ogin:)
^PJ^M^M^Jlogin:got it
sendthem (trgPPP^M)
expect: (sword:)
trgPPP^M^JPassword:got it
sendthem (1gOOdPswd^M)
device status for fd=6
F_GETFL=2,iflag=`12005',oflag=`0',cflag=`2275',lflag=`0',line=`0'
cc[0]=`3',[1]=`34',[2]=`177',[3]=`25',[4]=`1',[5]=`0',[6]=`0',[7]=`0',
call _mode(1)
Connected
_receive started
transmit started

Login incorrect
login: trg
Password:
Last login: Tue Oct 10 07:51:40 on console
Sun Microsystems Inc.   SunOS 5.4       Generic July
1994
You have mail.

serverPPP%  finger trg
Login name: trg				In real life: Thom Garrett
Directory:  /home/trg				Shell: /bin/csh
On since Oct 10 07:51:40 on pts/12
26 seconds Idle Time
No unread mail
Plan:  Obtain a Plan.