From owner-freebsd-questions Mon Jul 22 6:54:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFDC337B405 for ; Mon, 22 Jul 2002 06:54:24 -0700 (PDT) Received: from smtp.mailbox.net.uk (smtp.mailbox.co.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB8243E67 for ; Mon, 22 Jul 2002 06:54:23 -0700 (PDT) (envelope-from m.hill@stjamessengirls.org.uk) Received: from [212.18.235.141] (helo=sjmobile) by smtp.mailbox.net.uk with smtp (Exim 3.36 #1) id 17Wddm-00030B-00; Mon, 22 Jul 2002 14:54:22 +0100 Message-ID: <002301c23188$55037b40$0a00000a@stjames.net> From: "Martyn Hill" To: "FreeBSD-questions" Cc: "Richard Stockley" , "David Goddard" Subject: PPP and ADSL question Date: Mon, 22 Jul 2002 15:01:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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