From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 07:51:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE90B16A400 for ; Wed, 7 Feb 2007 07:51:25 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bay0-omc3-s41.bay0.hotmail.com (bay0-omc3-s41.bay0.hotmail.com [65.54.246.241]) by mx1.freebsd.org (Postfix) with ESMTP id 8C37713C4AA for ; Wed, 7 Feb 2007 07:51:24 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bayc1-pasmtp03.bayc1.hotmail.com ([65.54.191.163]) by bay0-omc3-s41.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Tue, 6 Feb 2007 23:51:24 -0800 X-Originating-IP: [70.53.155.213] X-Originating-Email: [pmatulis@sympatico.ca] Received: from tantra ([70.53.155.213]) by bayc1-pasmtp03.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Feb 2007 23:51:23 -0800 From: Peter To: freebsd-questions@freebsd.org Date: Wed, 7 Feb 2007 02:51:34 -0500 User-Agent: KMail/1.9.1 References: <54f1b6eb0702062310v538af38eva80208b6e7157ca5@mail.gmail.com> In-Reply-To: <54f1b6eb0702062310v538af38eva80208b6e7157ca5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702070251.35210.pmatulis@sympatico.ca> X-OriginalArrivalTime: 07 Feb 2007 07:51:24.0154 (UTC) FILETIME=[C3A425A0:01C74A8C] Cc: Brian Walker Subject: Re: ppp interruption X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 07:51:30 -0000 Le Mercredi 7 F=E9vrier 2007 02:10, Brian Walker a =E9crit=A0: > Greetings all, > > Problem with maintaining the internet connection: on startup I do: > > # ppp -ddial internet > > and all is well. It may be 2 days, it may be one hour later I fail to > connect to mail and internet. When I check the connection using: > > $ bash-2.05b$ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire default 202.64.10.27 UGS 0 18028 > tun0 127.0.0.1 127.0.0.1 UH 0 =20 > 441 lo0 202.64.10.27 210.17.143.28 UH 1 0 > tun0 > > So all would still appear to be OK, but nevertheless I get no mail > and no connection to a web page. OK, I redo ppp -ddial internet, and > I get the following netstat -rn printout: > > bash-2.05b$ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use=20 > Netif Expire > default 202.64.10.32 UGS 0 18090 =20 > tun1 127.0.0.1 127.0.0.1 UH 0 =20 > 441 lo0 202.64.10.27 210.17.143.28 UH 0 =20 > 0 tun0 202.64.10.32 210.17.197.153 UH 1 =20 > 0 tun1 > > > And all works for a while, but ..... stops. So I reboot, and all > works like a charm. > > Checking /var/log/ppp.log I see episodes of this: > > Feb 7 12:18:17 ppp[9716]: Warning: iface add: ioctl(SIOCAIFADDR, > 210.17.198.175 -> 202.64.10.32): File exists > Feb 7 12:18:17 ppp[9716]: Error: ipcp_InterfaceUp: unable to set ip > address > Feb 7 12:18:32 ppp[9716]: Phase: bundle: Terminate > Feb 7 12:18:32 ppp[9716]: Phase: deflink: open -> lcp > Feb 7 12:18:32 ppp[9716]: Phase: deflink: Disconnected! > Feb 7 12:18:32 ppp[9716]: Phase: deflink: lcp -> logout > Feb 7 12:18:32 ppp[9716]: Phase: deflink: logout -> hangup > Feb 7 12:18:32 ppp[9716]: Phase: deflink: Disconnected! > > But reconnecting gives this output: > > Feb 7 13:53:08 ppp[1292]: Phase: Using interface: tun1 > Feb 7 13:53:08 ppp[1292]: Phase: deflink: Created in closed state > Feb 7 13:53:30 ppp[1357]: Phase: PPP Started (ddial mode). > Feb 7 13:53:30 ppp[1357]: Phase: bundle: Establish > Feb 7 13:53:30 ppp[1357]: Phase: deflink: closed -> opening > Feb 7 13:53:30 ppp[1357]: Phase: deflink: Connected! > Feb 7 13:53:30 ppp[1357]: Phase: deflink: opening -> dial > Feb 7 13:53:30 ppp[1357]: Phase: deflink: dial -> carrier > Feb 7 13:53:31 ppp[1357]: Phase: Received NGM_PPPOE_ACNAME (hook > "VTA23-1-RX") > Feb 7 13:53:31 ppp[1357]: Phase: Received NGM_PPPOE_SESSIONID > Feb 7 13:53:31 ppp[1357]: Phase: Received NGM_PPPOE_SUCCESS > Feb 7 13:53:31 ppp[1357]: Phase: deflink: carrier -> login > Feb 7 13:53:31 ppp[1357]: Phase: deflink: login -> lcp > Feb 7 13:53:32 ppp[1357]: Warning: deflink: Reducing configured MRU > from 1500 to 1492 > Feb 7 13:53:32 ppp[1357]: Phase: bundle: Authenticate > Feb 7 13:53:32 ppp[1357]: Phase: deflink: his =3D PAP, mine =3D none > Feb 7 13:53:32 ppp[1357]: Phase: Pap Output: myname@myisp ******** > Feb 7 13:53:32 ppp[1357]: Phase: Pap Input: SUCCESS () > Feb 7 13:53:32 ppp[1357]: Phase: deflink: lcp -> open > Feb 7 13:53:32 ppp[1357]: Phase: bundle: Network > Feb 7 13:53:32 ppp[1357]: Phase: deflink: IPV6CP protocol reject > closes IPV6CP ! > > > 1. What are the possible causes? > 2. Why does the routing table still show an active connection? > 3. What steps could I take in troubleshooting? You know the drill. Give us something to work with (hint: ppp.conf). PM