From owner-freebsd-questions Fri Mar 30 22:13:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id B4D9C37B719 for ; Fri, 30 Mar 2001 22:13:22 -0800 (PST) (envelope-from root@pukruppa.de) Received: from [195.20.224.208] (helo=mrvdom01.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 14jEdR-0001IU-00; Sat, 31 Mar 2001 08:13:17 +0200 Received: from pd90172aa.dip.t-dialin.net ([217.1.114.170]) by mrvdom01.schlund.de with esmtp (Exim 2.12 #2) id 14jEdP-0004gT-00; Sat, 31 Mar 2001 08:13:15 +0200 Date: Sat, 31 Mar 2001 08:05:20 +0000 (GMT) From: Peter Ulrich Kruppa To: Islandman Cc: Subject: Re: DSL doesn't stay up, keep alive DOESN'T In-Reply-To: <3AC51920.ACF04D58@centurytel.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, Islandman wrote: > FreeBSDers, > I have a DSL net connection which lately has been locking up. I > *thought* that my settings would keep my connection alive and/or > reconnect when I lost the connection, but it doesn't seem to do it. I > am able to hangup my session: > > localhost# pp ppp > root 484 0.0 1.2 2424 1448 ?? Ss 3:31PM 0:00.22 > /usr/sbin/ppp -quiet -ddial -nat pppoe I use # /usr/bin/ppp -auto pppoe (For more information have a look at # man ppp) Uli. > > and restart: > > localhost# /etc/netstart > Doing stage one network startup: > Doing initial network setup:. > de0: flags=88c3 mtu 1500 > inet6 fe80::200:c5ff:fe47:d7ef%de0 prefixlen 64 scopeid 0x1 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > ether 00:00:c5:47:d7:ef > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP > 10baseT/UTP > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > Starting ppp as "root"Additional routing options: tcp extensions=NO TCP > keepalive=YES. > routing daemons:. > localhost# > > But loose all existing ssh sessions in the process. My ppp.conf is > below. > > For the DSL connection, how can I "keep it up"? > > Many thanks in advance!! > > -Brian > > > default: > set log Phase Chat LCP IPCP CCP tun command > nat enable yes > nat same_ports yes > nat use_sockets yes > set redial 15 28800 > set reconnect 15 28800 > > pppoe: > set device PPPoE:de0: > set mru 1492 > set mtu 1492 > set speed sync > set lqr 2 > set lqrperiod 5 > set cd 5 > set dial > set login > set timeout 0 > set authname ctn73839 # not my acutal account or pass :) > set authkey CXkQ41ZV > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR # Add a (sticky) default route > enable dns # request DNS info (for > resolv.conf) > > set server /var/run/internet "" 0177 > > > -- > | Brian D. Schieber, Vashon Island, WA > | email: brian_schieber@email.com > | chat: brian_schieber (MSN), brianschieber (AIM) > | phone: (206) 463-2451, cell: (206) 290-8070 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ################################################### # # # www.pukruppa.de www.2000d.de # # # ################################################### To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message