Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 1999 17:46:21 +0200 (CEST)
From:      Branko Kmetec <branko.kmetec@mra.si>
To:        freebsd-questions@freebsd.org
Cc:        Branko Kmetec <brane@frida.mra.si>
Subject:   pppd problems
Message-ID:  <Pine.BSF.3.96.990620173320.10389B-100000@frida.mra.si>

next in thread | raw e-mail | index | archive | help
I have some problems with connecting to ISP through pppd. When I connect
to ISP, I received IPs but I can't route through or ping to IP at ppp0.

After I run pppd I receive:

bash# Jun 20 17:18:41 master pppd[5296]: pppd 2.3.5 started by root, uid 0
bash# Jun 20 17:18:44 master pppd[5296]: Connect: ppp0 <--> /dev/cuaa0
bash# Jun 20 17:18:46 master pppd[5296]: local  IP address 212.30.66.134
      Jun 20 17:18:46 master pppd[5296]: remote IP address 212.30.66.251

With ifconfig -a I get valid IPs for ppp0, but I can't ping them. With
netstat -r I don't get nothing.

My configuration files are:

/etc/ppp/options
/dev/cuaa0 115200
connect "usr/bin/chat -f /etc/ppp/dial.chat"
crtscts         # enable hardware flow control
modem           # modem control line
noipdefault     # remote PPP server must supply your IP address.
                # if the remote host doesn't send your IP during IPCP
                # negotiation , remove this option
passive         # wait for LCP packets
defaultroute    # put this if you want that PPP server will be your
                # default router
user branilov

For user branilov I have a line in /etc/ppp/chap-secrets (ISP uses chap
authentication).

/etc/ppp/dial.chat
ABORT BUSY
ABORT 'NO CARRIER'
TIMEOUT 5
'' ATZ
OK ATB4
OK ATDT088032320
TIMEOUT 5
CONNECT

Any ideas what could be a problem?

Regards,

	Brane




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990620173320.10389B-100000>