Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 1998 13:36:23 -0700
From:      brian@worldcontrol.com
To:        "Nghia Van Nguyen \(Nick\)" <nghia@ncat.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Dail out: ppp
Message-ID:  <19980705133622.A351@top.worldcontrol.com>
In-Reply-To: <Pine.OSF.3.90.980705131829.10903A-800000@vanity.ncat.edu>; from Nghia Van Nguyen (Nick) on Sun, Jul 05, 1998 at 01:32:13PM -0400
References:  <Pine.OSF.3.90.980705131829.10903A-800000@vanity.ncat.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On %M 0, "Nghia Van Nguyen (Nick)" <nghia@ncat.edu> wrote:
> default:
> set device /dev/cuaa1
> set speed 115200
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"


It may depend on which version of /usr/sbin/ppp you are using, but you
might try the following two changes and then email to the list the
data in /var/log/ppp.log and/or /var/log/ppp.tun0.log, or from whereever
the ppp log info ends up.

> infinet:
  set log +phase +chat +lqm +lcp +ipcp +ccp
> set phone 5445335
> set login "TIMEOUT 5 login:-\\r-login: myname word: password"
> set timeout 120
  set ifaddr 10.10.10.10/0 10.10.11.11/0 0.0.0.0 0.0.0.0
> add 0 0 HISADDR

You could also try setting the ifaddr line to
  set ifaddr 0/0 0

To properly get the PPP log data you might also have to add

!ppp
*.*                                             /var/log/ppp.log

to /etc/syslog.conf and

kill -1 `cat /var/run/syslogd.pid`

This depends on the version of PPP again, but should be a harmless
change.


> root =>ppp
> Working in interactive mode
> Using interface: tun0
> ppp ON dragon> dial infinet
> Dial attempt 1 of 1
> dial OK!
> login OK!
> ppp ON dragon> Packet mode.
> ppp ON dragon>

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?19980705133622.A351>