i can't get a connection with my ISP, Netcom. I am following the procedures
outlined on their web support page, that is:
Subject: Your WebTech Support Query
Connecting to Netcom with Linux
SETTING UP DNS
Put the following in /etc/resolv.conf:
THE CHAT SCRIPT
Put the following in /etc/ppp/chatscript:
ABORT 'NO CARRIER'
THE PPPD CONFIGURATION FILE
Put the following in /etc/ppp/options:
THE PPP-ON SCRIPT
This is the shell script you run to bring your connection up. Put the
following in /usr/sbin/ppp-on:
# ppp-on - Set up a PPP link
# Change this to suit
# cua0 = COM1, cua1 = COM2, cua2 = COM3, cua3 = COM4
# use this dummy IP address for dynamic IP
if [ -f $LOCKDIR/LCK..$DEVICE ]; then
echo "PPP device is locked"
/usr/sbin/pppd -d /dev/$DEVICE 115200 connect "/usr/sbin/chat -v -f
G_DIR/chatscript" defaultroute $MYIP: && exit 0
echo "PPP call failed"
THE PPP-OFF SCRIPT
This is the shell script you run to take your connection down. Put the
following in /usr/sbin/ppp-off:
# ppp-off - Take down a PPP link
if [ "$1" = "" ]; then
if [ -r /var/run/$DEVICE.pid ]
kill -INT `cat /var/run/$DEVICE.pid`
if [ ! "$?" = "0" ]; then
rm -f /var/run/$DEVICE.pid
echo "ERROR: Removed stale pid file"
echo "PPP link to $DEVICE terminated."
echo "ERROR: PPP link is not active on $DEVICE"
you try to connect, you should watch this file for possible problems.
To do this, type:
tail -f /var/log/messages
Press Ctrl-C when you're done. If all goes well, you'll see something
similar to the following:
(TODO: Sample connection log)
To check the status of the PPP interface, type:
The output should be similar to the following. If the command
generated no output, the link is not up.
ppp0 Link encap:Point-Point Protocol
inet addr:220.127.116.11 P-t-P:18.104.22.168 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:5513 errors:0 dropped:0 overruns:0
TX packets:6351 errors:0 dropped:0 overruns:0
When i run the previous command, all of the addresses have a 0 in each
I have also tried using a script-based connection using KPPP, and the script
sends the login name and password, and then the modem hangs up, and I get
the following message in the log window:
pppd timed out
Does anyone have any idea what's wrong?