****************************************************************************** * _ __ _ __ _ __ _ * * | '_ \| '_ \| '_ \ ___ ___ _| |_ _ _ _ __ * * | |_) | |_) | |_) |/ __| / _ \_ _| | | | '_ \ * * | .__/| .__/| .__/ \__ \| __/ | | | |_| | |_) | * * |_| |_| |_| |___/ \___| |_| \___/| .__/ .help * * |_| * * * ****************************************************************************** This help file was created on Sunday July 28, 1996 - revised on Wednesday Aug 7, 1996 - revised on Saturday Aug 17, 1996 by MrSully Setting up PPP is not easy, it is timely and in some cases a pain in the butt. But, I have made it a little easier for you. I compiled a list of sources for help on PPP and everyone I found was different. It was not until I met WingMan on IRC that I found the easiest way to setup PPP. WingMan is the creator of pppsetup and he has giving me permission to revamp the pppsetup.README file to my new PPPsetup.help file. This file does not just teach you how to use pppsetup like the original pppsetup.README but it teaches you in the best way how to compile and configure your system for PPP. I hope you find this file helpful in setting up PPP and if you feel like it you can tell me if this file worked by emailling me at mrsully@stealth.net Enjoy +------------------------------------------------+ | Contents | | ======== | | 1.) What you need | | 2.) Where to get it | | 3.) Compile and install the new kernel | | 4.) How to use pppsetup | | 5.) Other help | +------------------------------------------------+ 1.) What you need ================= You need a kernel that supports PPP. I recommend that you get the latest version (2.0.11 at time this file was revised) You also need the latest version of PPP, currently ppp-2.2.0f And if you are reading this you need pppsetup 2.) Where to get it =================== The kernel can be found at ftp://sunsite.unc.edu/pub/Linux/kernel ppp-2.2.0f and pppsetup are at ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/ppp 3.) Compile and install the new kernel ====================================== This is the long part and if you are pressed for time you should start it later. I have tried to make this as easy as possible but if after reading this you still need help you can email me at mrsully@stealth.net. 3.1) mkdir /etc/ppp - this will create the directory where options, pap-secrets, chap-secrets, and some other files go. This directory may already be there and if so just leave it. 3.2) Put the linux source and PPP source in /usr/src 3.3) cd /usr/src - Now we are going to unpack the source files. To do this you want to issue the command tar zxvpf linux-2.0.10.tar.gz (or whatever version you have) tar zxvpf ppp-2.2.0f.tar.gz (or whatever version you have) 3.4) cd ppp-2.2.0f - in this directory you want to issue the command ./configure This will create links to the Makefiles 3.5) Now we need to install the include files. Use the command make kernel to do this. This script may not add anything to your system, please do not try to force it to if it doesn't, you could mess things up. 3.6) cd /usr/src/linux - It is time to configure the kernel itself. Use make config You want to answer YES to promting (the first question) and yes to all the networking questions. The main thing though is to answer YES to networking support, network device support, and PPP. 3.7) Great, your new kernel is configured and now we are going to compile it. (Get the coffee now) Before we go and compile it we need to check to make sure the files were created correctly make dep After you make dep you want to clean things up alittle make clean Make clean will get rid of some files you don't need anymore and is a good idea to do. 3.8) make zImage make zImage is the longest part. It is the compile command for the kernel. 3.9) If you are awake it is time to now install the kernel. That's right ALL that waiting and you are not done yet. cd /usr/src/linux/arch/i386/boot This is where the kernel was put after the compile completed. rdev -R zImage 1 cp zImage /vmlinuz After that you want to type: setup and reconfigure your system and then make a new boot disk. (Very important if you want your system to boot) 3.10) cd /usr/src/ppp-2.2.0f - We need to compile pppd and chat now, to do this use the command make This won't take long 3.11) The next step is to install pppd, chat, etc... make install Now, if you folowed the directions and luck is with you, you now have PPP installed on your system. To use it just go down to the next section. 4.) How to use pppsetup ======================= pppsetup was created by a friend named WingMan. It is easy to use and so it is my recommendation for the newbie. 4.1) You NEED to be root to run this script without problems 4.2) put the script in your /root directory and chmod 755 pppsetup This will make it so you can run the script 4.3) type: pppsetup and answer the questions. You should have this infomation ready when you run pppsetup - ISP's phone number - ISP's DNS (Domain Name Servers) numbers - All the login promts your server gives you +--------------------------------------+ | Here is a sample. | | My ISP has the following | | server user: | | I say mrsully | | server password: | | I say ******** | | So my server says user: and password:| | and I say mrsully and ******** | +--------------------------------------+ 4.4) After you run pppsetup you will now have ppp-go in your /root directory. To run it just type: ./ppp-go Wait two minutes and off you go with PPP Now, was that hard? I didn't think so. Good luck and Enjoy! MrSully 5.) Other help ============== You can find help on efnet IRC in channel #linux Also, all the linux ftp site have HOWTO files and help files for all aspects of linux. You can also email me and I will try to help you out in any way I can. To report bug's make comments or complaints on pppsetup please email wingman@infohwy.com To make comments suggestions or complaints about this file please email me at mrsully@stealth.net