Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!uunet!in1.uu.net!207.22.81.9!europa.clark.net!news.msfc.nasa.gov!news.sgi.com!enews.sgi.com!news.caldera.com!news.eli.net!s_leigh.dtint.com!user From: seth_leigh@dtint.com (Seth Leigh) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ppp auto redial after lost connection? Date: Mon, 17 Feb 1997 13:40:06 -0800 Organization: Digital Technology International, Inc. Lines: 40 Message-ID: <seth_leigh-1702971340060001@s_leigh.dtint.com> References: <01bc19cb$48ea4760$05e955c2@iaipc0.iai.rssi.ru> <330379AD.41C6@urc.tue.nl> NNTP-Posting-Host: itchy.itsnet.com Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35681 I had the opposite problem. My machine would maintain the connection forever, even though I had set it up to time out after 5 minutes of inactivity. I tracked down the offending requests, and discovered that even though I didn't do anything myself, some sort of traffic went out every 30 seconds. After a lot more reading, I discovered that my options I sent to 'routed' were set to -s (or -q, I think I could be backwards in my memory), which made routed broadcast its routing info every 30 seconds. This meant that I had at most 30 seconds of network inactivity before my machine broadcast its routing info to the machine at my ISP on the other end of the modem, and so it of course never timed out. I changed the option to -q, which doesn't broadcast the routing info, and now my machine really does time out the connection after 5 minutes of inactivity. If your routed currently is not broadcasting routing info, I might guess that changing it to do so might cause your machine to redial no longer than 30 seconds after the connection is lost. Try it out. Read the man pages for routed, because I may have the two options (-s and -q) backwards in my head. I made the change in the routed options in the /etc/sysconfig file. This has been an official SWAG, so no derision if it doesn't work. ;-) In article <330379AD.41C6@urc.tue.nl>, Peter Benschop <rcbapb@urc.tue.nl> wrote: > I am using a permanent ppp connection over a serial line. However the > modem on the other side of the line is reset every 24 hours and the > connection is lost. Is there an easy solution to make ppp redial after a > lost connection? It redials automatically when _I_ make a request, but > the outside world can't enable the connection, so nobody can gain access > to my computer when I'm not there and the connection is lost. > Any ideas? > > Thanks, > Peter. -- J. Seth Leigh seth_leigh@dtint.com Digital Technology Int. (801)226-2984 500 W. 1200 South, Orem UT, 84057 FAX (801) 226-8438