Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 15:01:52 +0100
From:      "Martyn Hill" <m.hill@stjamessengirls.org.uk>
To:        "FreeBSD-questions" <freebsd-questions@freebsd.org>
Cc:        "Richard Stockley" <rws@procopia.com>, "David Goddard" <dmg@procopia.com>
Subject:   PPP and ADSL question
Message-ID:  <002301c23188$55037b40$0a00000a@stjames.net>

next in thread | raw e-mail | index | archive | help
We've been running our ADSL line successfully since it's installation last September. The ADSL router is configured as the
default route on a second NIC (fxp1) in our FreeBSD 4.5-RELENG box that acts as the school router.

UserPPP is enabled, but NAT is handled by the kernel alongside IPFW. UserPPP is configured in "ddial" mode. Ever since ADSL was
installed, the ppp.log file continually fills with the error message as follows (repeated about every 30 seconds):

Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: Disconnected!
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: carrier -> hangup
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: Connect time: 6 secs: 0 octets in, 0 octets out
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: : 0 packets in, 0 packets out
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 22 14:45:54 2002
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: hangup -> opening
Jul 22 14:45:54 sjrouter ppp[56]: tun0: Phase: deflink: Enter pause (30) for redialing.

Here's our ppp.conf (hidden passwords, obviously...)

default:

 ident user-ppp VERSION (built COMPILATIONDATE)
 set server nnn ***
 set log Phase Chat LCP IPCP CCP tun command
 set timeout 0

adsl:
 set device PPPoE:fxp1
 set authname ***
 set authkey ***
 set dial
 set login
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 disable pred1 deflate lqr
 deny pred1 deflate lqr
 add default HISADDR   # Add a (sticky) default route
 disable iface-alias

 set ifaddr *this NIC IP* #the static ADSL router IP# 255.255.255.255 0.0.0.0

Our rc.conf looks like this (partial...)

#
# UserPPP enabled, MJH 210801
#
ppp_enable="Yes"
ppp_profile="adsl"
ppp_mode="ddial"
#ppp_auto="Yes"
ppp_nat="No"

Question 1: Do I need to worry about the erroneous log entries?
Question 2: What role does PPP play when an an ADSL router is installed?
Question 3: How should UserPPP be configured in this instance?

Any help would be appreciated.

Martyn Hill
ICT Teacher and IT Co-ordinator
St James Independent School
London


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?002301c23188$55037b40$0a00000a>