OK, this page is supposed to guide you through getting PPP to work with the 3ComImpact IQ ISDN modem on Linux. It may or may not be accurate, since I wrote it quite a while after doing the install. It represents the steps I took to get things working with my particular ISP, and may or may not have everything you need. When I was trying to get things rolling, I found even imperfect info helpful, so I post what I did here . . .

I highly recommend "The Linux Network" from the M&T books Slackware series. It's what I first read to figure out PPP (I shamelesslly used SLIP long after it was passe, finally upgrading when I got an ISDN modem). I wasn't running slackware at the time, but it is a great intro to networking related stuff: gives you the basic facts, without treating you like an idiot . . .

  1. Initialize your ISDN modem using Windoze as described by manual

  2. Make sure you have PPP compiled into your kernel. Way I usually check is to
       dmesg | fgrep -i ppp
    
    and if you don't see something like:
    PPP: version 2.3.7 (demand dialling)
    PPP line discipline registered.
    registered device ppp0
    
    You'll need to recompile your kernel and add PPP support.

  3. Create the file /usr/sbin/PPP-on:
    #!/bin/sh
    exec /usr/sbin/pppd /dev/ttyS1 115200
    
    Where you replace ttyS1 with your serial port number. Linux is one less than what it is under dos. So if you are connecting the modem to Windoze's COM1, this is /dev/ttyS0.

  4. Create the file /usr/sbin/PPP-off:
    #!/bin/sh
    DEVICE=ppp0
    #
    # If the ppp0 pid file is present then the program is running. Stop it.
    if [ -r /var/run/$DEVICE.pid ]; then
            kill -INT `head -1 /var/run/$DEVICE.pid`
    #
    # If the kill did not work then there is no process running for this
    # pid. It may also mean that the lock file will be left. You may wish
    # to delete the lock file at the same time.
            if [ ! "$?" = "0" ]; then
                    rm -f /var/run/$DEVICE.pid
                    echo "ERROR: Removed stale pid file"
                    exit 1
            fi
    #
    # Success. Let pppd clean up its own junk.
            echo "PPP link to $DEVICE terminated."
            exit 0
    fi
    #
    # The PPP process is not running for ppp0
    echo "ERROR: PPP link is not active on $DEVICE"
    exit 1
    

  5. Create the file /etc/ppp/options:
    connect "/usr/sbin/chat -f /etc/ppp/chat3"
    modem
    lock
    crtscts
    defaultroute
    user _YOUR USER NAME_
    noipdefault
    

  6. Create the file /etc/ppp/chat3:
    ABORT BUSY
    ABORT "NO CARRIER"
    ABORT VOICE
    ABORT "NO DIALTONE"
    ABORT "NO ANSWER"
    "" ATZ
    OK ATS80=1
    OK ATDT _YOUR ISP PHONE NUMBER_
    CONNECT \d\c
    

  7. Create the file /etc/ppp/pap-secrets:
    # Secrets for authentication using PAP
    # client        server  secret                  IP addresses
    "_YOUR ISP LOGIN NAME_"    *      "_YOUR ISP PASSWORD_"
    

If a miracle occurs, you should now be able to log in as root, and type PPP-on to establish your PPP connection, and PPP-off to kill it. After PPP-on, scope /var/log/messages for info on the connection. Also, /etc/ppp/connect-errors has info in the event of login problems.


Click here to return to my Linux page.