Roger's Quick (under 100 lines) Start Guide to PPP/modem Setup Information you need to know before you start: ITEM: FORMAT: EXAMPLE: DIALIN_NUMBER: nnn-nnnn LOGIN_ID: abcdef PASSWORD: xyz123 YOUR_HOST(*): xx.yy.zz.ww YOUR_HOST.foo.bar.com DOMAIN: yy.yy.zz foo.bar.com SERVER_HOST: aa.bb.cc.dd SERVER_HOST.foo.bar.com NET_MASK: qq.rr.ss.tt 255.255.255.0 NAME_SERVER: jj.kk.ll.mm relay.foo.bar.com relay MODEM: Modem_Brand Hayes MODEL: Modem_Model BAUD_RATE: nnnnn 38400 (or whatever) SERIAL_PORT: n 2 (or whatever) Ensure the following software is installed (eoe2 on 5.x, eoe on 6.x): eoe{2}.man.ppp Point-to-Point Protocol Man Pages eoe{2}.man.uucp UNIX-to-UNIX Copy Man Pages eoe{2}.sw.ppp Point-to-Point Protocol Software eoe{2}.sw.uucp UUCP Utilities Edit the following files: /etc/inittab: tSERIAL_PORT:23:off:/usr/lib/uucp/uugetty -N ttydSERIAL_PORT dx_BAUD_RATE # port SERIAL_PORT /etc/hosts: 127.0.0.1 localhost loghost xx.yy.zz.ww YOUR_HOST.DOMAIN.foo.bar.com YOUR_HOST aa.bb.cc.dd SERVER_HOST.DOMAIN.awk.grep.net SERVER_HOST jj.kk.ll.mm relay.DOMAIN relay 224.0.0.0 multicast /etc/resolv.conf: domain DOMAIN.sgi.com search DOMAIN.sgi.com [someotherdomain.sgi.com ...] nameserver jj.kk.ll.mm hostresorder local bind /etc/uucp/Devices: # PPP debugging settings #Direct ttydSERIAL_PORT - Any direct #Direct ttymSERIAL_PORT - Any direct #Direct ttyfSERIAL_PORT - Any direct # PPP run-time setting ACUslip ttyfSERIAL_PORT null BAUD_RATE 212 x MODEM14 << Must match ~uucp/Dialers entry >> /etc/uucp/Systems: ppp-SERVER_HOST Any ACUslip BAUD_RATE DIALIN_NUMBER "" @\r\c ogin:--ogin: LOGIN_ID assword: PASSWORD PPP /etc/ppp.conf: SERVER_HOST quiet remotehost=SERVER_HOST localhost=YOUR_HOST,NET_MASK uucp_name=ppp-SERVER_HOST active_timeout=300 inactive_timeout=30 add_route /etc/init.d/ppp: #!/bin/sh # PPP boot startup script case $1 in start) /etc/killall ppp if /etc/chkconfig ppp && test -x /usr/etc/ppp -a -s /etc/ppp.conf then /usr/etc/ppp -r SERVER_HOST & fi ;; stop) /etc/killall -TERM ppp ;; *) echo "usage: $0 {start|stop}" ;; esac Install, configure and test the modem: Assume Hayes compatible (14.4 or greater) on port #SERIAL_PORT. Run: su chown uucp.uucp /dev/tty[dmf]SERIAL_PORT /etc/telinit q << After editing /etc/inittab >> /etc/uucp/fix-MODEM -o -m MODEL -v -s BAUD_RATE SERIAL_PORT Setup system for PPP operation: su chown root.sys /dev/ttdfSERIAL_PORT chkconfig -f ppp on chkconfig gated off chkconfig named off chkconfig routed off chkconfig timed off chkconfig yp off reboot (*) Notes: - Change all the UPPER_CASE names to suite your situation. - Use the second serial port if possible; i.e. /dev/ttyd2. - YOUR_HOST and /etc/sys_id will be different. - Get PPP working before trying to optimize it.