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 . . .
dmesg | fgrep -i pppand if you don't see something like:
PPP: version 2.3.7 (demand dialling) PPP line discipline registered. registered device ppp0You'll need to recompile your kernel and add PPP support.
#!/bin/sh exec /usr/sbin/pppd /dev/ttyS1 115200Where 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.
#!/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
connect "/usr/sbin/chat -f /etc/ppp/chat3" modem lock crtscts defaultroute user _YOUR USER NAME_ noipdefault
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
# 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