From owner-freebsd-questions@FreeBSD.ORG Wed May 17 23:07:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1F80D16A6A0 for ; Wed, 17 May 2006 23:07:24 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 310A143D53 for ; Wed, 17 May 2006 23:07:22 +0000 (GMT) (envelope-from msoulier@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so344888uge for ; Wed, 17 May 2006 16:07:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=Up5JZs0UateKBOXd23kZRX8hgqb7wCtWjExBvXXs9jYDkcgp0kruu8sAIn8AX8SNu0jAOYyEwY0mCMj0L3VylX9fpdyQdG/3BnG/+47C7ORQA9BklGceGZfqQod/gJmxFF9vs8Xko/5ld2x7GQATOYaL8CYgrxZawiyyRNTyab0= Received: by 10.78.48.16 with SMTP id v16mr313905huv; Wed, 17 May 2006 16:07:21 -0700 (PDT) Received: by 10.78.53.2 with HTTP; Wed, 17 May 2006 16:07:21 -0700 (PDT) Message-ID: Date: Wed, 17 May 2006 19:07:21 -0400 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Google-Sender-Auth: 9a6ea46f97a6235f Subject: pppoe reliability 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, 17 May 2006 23:07:25 -0000 Hello, I'm trying FreeBSD as a PPPoE client for my ADSL connection. Setup was great, but I'm finding that when I lose a connection (troubles with my isp), the ppp command does not return like I would like it to. [root@kanga ~]# ppp -foreground -nat storm Working in foreground mode Using interface: tun0 tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 tun0: ID0: 0x282eed00 =3D fopen("/etc/ppp/ppp.conf", "r") tun0: Debug: ReadSystem: Checking storm (/etc/ppp/ppp.conf). tun0: Command: storm: nat enable yes tun0: Command: storm: set device PPPOE:fxp0 tun0: Command: storm: set authname msoulier@storm.ca tun0: Command: storm: set authkey ******** tun0: Command: storm: set dial tun0: Command: storm: set login tun0: Command: storm: add default HISADDR tun0: ID0: 9 =3D socket(17, 3, 0) tun0: ID0: -1 =3D write(9, data, 140) tun0: TCP/IP: rt_Set failure: tun0: TCP/IP: rt_Set: Cmd =3D Add tun0: TCP/IP: rt_Set: Dst =3D 0.0.0.0/0 tun0: TCP/IP: rt_Set: Gateway =3D 10.0.0.2 tun0: Debug: wrote -1: cmd =3D Add, dst =3D 0.0.0.0/0, gateway =3D 10.0.0.2 I just found the connection down because my modem lost sync, and the client didn't return. I was hoping that it would return so that I could script the client such that it would always retry, via supervise or runit. Any ideas? Thanks, Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein