---------------------------------------------------------------------------- PPP setup in RedHat with netcfg Author : Terry 'Mongoose' Hendrix II Email : stu7440@westga.edu Version: 2.1 Date : 1999.05.02 ISP : MindSpring With Redhat ( newer than 4.2 ) PPP support is built in your kernel, so there is no compiling to be done. Also netcfg should be installed by default. Read my modem.txt to setup your modem first. ---------------------------------------------------------------------------- 1. Now you need to setup the rest in a program called netcfg. Execute 'netcfg&'. Rest of this document section pertains to netcfg. 2. In the "Hostname:" box, type your nickname for your computer. In "Domain:" you should type "mindspring.com". Skip the next box. In "Nameservers" type "207.69.188.185", and press enter then type "207.69.188.186". 3. Click on the "Hosts" tab. Click "Add". In the "IP:" box type "0.0.0.0", since we're using a dynamic IP. In the "Name:" box type ms123456.users.mindspring.com Replace the ms123456 with your own MindSpring user name. In "Nicknames:" type another nickname for your computer. Click "Done". 4. Click on the "Interfaces" tab. Click "Add". Select ppp, click "OK". Enter the phone number of the dail-up server. You want PAP. Enter your MindSpring username for PPP login name. Enter your MindSpring password for PPP password. Click the box's "Save". Edit your selected pppN for custom use. If you call more than one dail-up repeat this step, until you have a pppN each of your MindSpring dail-ups. After you finish the setup, come back to this menu and use the "Activate"/"Deactivate" buttons to log in/off MindSpring. Now the next steps were "unoffically" suggested by MindSpring, but you need to do them. You may already have these files configured propery, but double-check. 5. Modify your /etc/host.conf (if necessary) to the following: order hosts,bind multi on 6. Add the following line to your /etc/hosts.deny file: ALL: ALL 7. Add the following line to your /etc/hosts.allow file: ALL: 127.0.0.1 8. Make some quick connect scripts. Execute these commands as root: echo "/sbin/ifup ppp0" > /root/pon echo "/sbin/ifdown ppp0" > /root/poff chown 700 /root/pon chown 700 /root/poff Execute ~/pon as root to dail up your ISP. Execute ~/poff as root to disconnect from your ISP.