Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 15:39:12 -0800
From:      Islandman <schieb@centurytel.net>
To:        freebsd-questions@freebsd.org
Subject:   DSL doesn't stay up, keep alive DOESN'T
Message-ID:  <3AC51920.ACF04D58@centurytel.net>

next in thread | raw e-mail | index | archive | help
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

and restart:

localhost# /etc/netstart
Doing stage one network startup:
Doing initial network setup:.
de0: flags=88c3<UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST> 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
<full-duplex> 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC51920.ACF04D58>