Connecting to the SCS dialups under Linux
To connect to the SCS dialups via modem under Linux, you'll need to create three files:
/etc/sysconfig/network-scripts/ifcfg-ppp0
DEVICE=ppp0 ONBOOT=no MODEMPORT=/dev/modem LINESPEED=115200 HARDFLOWCTL=yes DEFROUTE=yes PAPNAME=<username> PPPOPTIONS=noipdefault
Make sure that /dev/modem is a symlink to a real device, for example, if your modem is on COM1, it should point to /dev/ttyS0. Make sure that the device /dev/modem points to is really the modem. If you have a winmodem, it might need special configuration under linux, or it might not work at all.
/etc/sysconfig/network-scripts/chat-ppp0
"" ATDT6211139 CONNECT
Edit the number following the ATDT appropriately. For example, if you were dialing in from off campus, it would be ATDT14126211139. Check the dialups page for more details.
/etc/ppp/pap-secrets
# Secrets for authentication using PAP # client server secret IP addresses <username> ppp0 <password>
You'll need to replace the username and password above with the appropriate values.(Usually your kerberos ID and password)
Once the three files are created, make sure that there is an /etc/ppp/peers directory, if you haven't already created one. pppd will put entries in this directory. That's all there is to it. To bring up the PPP connection, run:
/etc/sysconfig/network-scripts/ifup ifcfg-ppp0
To bring it down, you can run:
/etc/sysconfig/network-scripts/ifdown ifcfg-ppp0

