Linux PPP

Before you begin you should decide whether you prefer to follow the short set of instructions below, or a long, detailed set of instructions from a chap in Australia.

You'll need to download some packages, and some scripts. The packages need to be gotten elsewhere, but you can download the scripts now.

Here is the readme file, just so you have an idea of what you are getting yourself into:

Here's the add-on's for getting ppp up at Mesa State on a Linux box.

Disclaimer:  No warrenties.

REQUIREMENTS

   1) chat and pppd --- these come in a package somewhere, 

	ftp://sunsite.unc.edu/pub/Linux

      is sure to have them.  They come with a ppp-on and
      ppp-off (on which these are based).  Make sure your
      path doesn't find those instead of these ppp-on/off
      scripts first.

    2) ppp channel enabled in your kernel.  If you get

      ppp0: unknown interface

      when you type `ifconfig ppp0' then get into /usr/src/linux
      and build/install a new kernel with the ppp network device.

    3) This package of scripts to start them up.

INSTALLATION

(1) Put ppp-on, ppp-off, and ppp-ip in /usr/local/bin and set exectute
    permissions:

	cp ppp-* /usr/local/bin
        chmod 755 /usr/local/bin/ppp-*
	chown root:root /usr/local/bin/ppp-*
        chmod u+s /usr/local/bin/ppp-off
        chmod u+s /usr/local/bin/ppp-unlock

(2) Put resolv.conf in /etc/.  

	mv /etc/resolv.conf /etc/resolv.conf-
	cp resolv.conf /etc/

(4) Edit ppp-on & ppp-unlock to set your configuation: device, pass-
    word, phones, etc., you should set DEBUG "T" while getting the 
    system configured.

    I have a Practical Peripherals 14.4K modem, but the AT
    commands are standard enough that I expect what's in the script
    will work for you.  Still, for some you will have to change the
    init string---esp. those with 28.8 modems.

(5) Try it.  With DEBUG set there should be plenty of information
    written to the screen as ppp-on attemts to dial in and start
    pppd.  `chat' and `pppd' also log information into 

	/var/log/messages

    so look there.

    One you're happy with the process, you can turn off the DEBUG
    by setting it to "F" in the ppp-on script.

Notes: 

2) Sometimes the ppp-on will die without starting the pppd, 
   and not remove the lock file 

	/var/lock/LCK..$DEVICE

   You may have to do this yourself.

3)  ppp-ip reports your dynamically assigned ip address---handy for
    setting remote display variables, for example.
	
Good Luck!