The Setting up of ppp on grumpy 13/6/95
1) edited /etc/inittab and changed
t1:23:off:/sbin/getty -N ttyd1 co_9600 # alt console
to
t1:23:off:/etc/uucp/uugetty ttyf1 dx_38400 # ppp mode
2) Did a 'telinit q'
3) Edited /usr/lib/uucp/Dialers and changed
usr =W-, "" \dATs0=0\r\c OK\r-\rATs0=0\r\c-OK\r ATdt\T\r\c CONNECT
to
usr =W-, "" \pAT\r OK\r ATdt\T\r\c CONNECT
4) I then ran
/usr/lib/uucp/fix-usr -i -m SPORTSTER -s 38400 1
to configure the modem (attached to port 1 with a homemade modem cable, see
instructions in the Owner's Manual - can be bought from SGI for 150 pounds)
5) I added the following lines to /usr/lib/uucp/Devices
#My entries for slip-grumpy to run (SAP)
Direct ttyd1 - Any direct
Direct ttym1 - Any direct
Direct ttyf1 - Any direct
ACUslip ttyf1 null 38400 212 x usr
6) I then used cu to connect to demon to get our IP number ...
grumpy Root uucp> cu -d -s 38400 -l ttyf1
altconn called
Device Type Direct wanted
mlock ttyf1 succeeded
opening with O_NDELAY set
clear O_NDELAY
filelock: ok
fixline(4, 38400)
processdev: calling setdevcfg(cu, Direct)
gdial(direct) called
getto ret 4
device status for fd=4
F_GETFL=2,iflag=`12045',oflag=`0',cflag=`2277',lflag=`0',line=`1'
cc[0]=`177',[1]=`34' , [2]=`10' , [3]=`25' , [4]=`1' , [5]=`0' , [6]=`0' , [7]=`0' ,
call _mode(1)
Connected
_receive started
transmit started
at
OK
atdt 01132984848
CONNECT 28800/ARQ
g.demon.co.uk (ttyc19):
demon login: msilancs
Your account has been set up, and you now need to set the password on
it. Please pick a password that is at least 5 characters long, and
contains at least 1 letter and one digit. The password's case (capital
or little letter) matters, so make a note of it. When you type it in,
you will not see anything on the screen. This is normal.
Your account has been set up, and you now need to set the password on
it. Please pick a password that is at least 5 characters long, and
contains at least 1 letter and one digit. The password's case (capital
or little letter) matters, so make a note of it. When you type it in,
you will not see anything on the screen. This is normal.
Password:
Now type it in again to make sure it wasn't mistyped:
Now looking up some information. This may take up to 5 minutes.
msilancs: IP Address: 158.152.156.153 Running PPP on ttyc19
All PoPs up. pubnews down.
finger status@gate.demon.co.uk for more information. Last change 13/06 12:40
Welcome to Demon Internet. Please do the following:
a) Make a note of the password that you just entered.
b) Note down your IP address [158.152.156.153]
The fact that your password has been set on your account will take an
hour to spread around the local network. When that time has passed,
SLIP/PPP mode will be enabled on your account; do not try using your
account before then. Please arrange for the dial script on your
Internet software (communications or terminal emulation software is not
adequate) to handle the following:
ogin: msilancs
word:
ocol: ppp [ Other possibilities here are "slip" or "rfc1172" ]
Your password is now set, the connection will now hang up. Do not try
to reconnect to your account for at least one hour.
NO CARRIER
7) Put IP address into hosts file
158.152.156.153 slip-grumpy
8) Put the following line in /usr/lib/uucp/Systems (Preston vPOP 'phone number)
ppp-dialup Any ACUslip 38400 01772484848 "" \r\c ogin:--ogin: msilancs assword:
mypasswd ocol: ppp
9) Disable route broadcasting - THIS IS VERY IMPORTANT - since you don't want
to advertise to the whole world that your machine is a possible link to the
INTERNET! Change /etc/config/routed.options and put the -q option in.
10) Create a script to start up ppp automatically at boot time ...
/etc/rc2.d/S99ppp
#!/bin/sh
# ppp boot startup script (to debug put in a -d or -dd)
echo "Starting ppp"
/usr/etc/ppp -r ppp-dialup &
11) Create a ppp configuration file /etc/ppp.conf ...
ppp-dialup quiet remotehost=158.152.1.222 lochost=158.152.156.153
uucp_name=ppp-dialup active_timeout=1200 inactive_timeout=120
add_route
12) Delete any default route
13) Start the ppp daemon and see what happens!