Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!newsfeed.internetmci.com!news.wco.com!news From: "Jeffery T. White" <zellion@cyberwind.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: PPP auto always connects Date: 10 Sep 1996 06:23:24 GMT Organization: West Coast Online's News Server - Not responsible for content Lines: 126 Message-ID: <01bb9ee1$c5316700$df6d04c7@zellion.cyberwind.com> References: <01bb9e00$d64bc8a0$df6d04c7@zellion.cyberwind.com> <3234758B.63D9@www.play-hookey.com> NNTP-Posting-Host: cw223.cyberwind.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BB9EA7.18D28F00" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Internet News 4.70.1155 This is a multi-part message in MIME format. ------=_NextPart_000_01BB9EA7.18D28F00 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ken Bigelow <kbigelow@www.play-hookey.com> wrote in article <3234758B.63D9@www.play-hookey.com>... > Jeffery T. White wrote: > > > > My PPP auto connection won't disconnect and stay that way. As soon as it > > times out or my ISP times me out it radials. This happens even when the BSD > > system is the only thing powered on on the net so I'm sure it is something > > in the system. I've tried the tcpdump but it needs some device I don't have > > in my kernel and I'm hoping someone here knows the problem so I can avoid > > the kernel build on a 386 :(. > > > > I've also tried adding all the filters I can think of that won't directly > > be a problem, i.e.. I have left such things as DNS alone. > > > > I'm running 2.1.5-RELEASE, with everything pretty much as the manuals and > > the web pages say to do it. The system acts as a router for 2 Win95 > > machines with gateway=YES and routed -s in sysconfig. > > > > I guess it could be worse, at least I can connect. Only thing is I have to > > turn off the modem to stop it! :) > > > > Check your configuration files in /etc/ppp -- what is specified in case > of a loss of IP connection? Also, if you have any active tasks that > expect to access your ISP (such as the nameserver), that action will > force a re-connect. > -- > > Ken > > Are you interested in | > byte-sized education | http://www.play-hookey.com > over the Internet? | > Got it working... just needed a filter for outbound RIP packets. Turns out routed sends one every minute or two to confirm it's tables. Since when I do reconnect I rebuild the tables based on the address I get from my ISP end I could give a lick about maintaining the old ones. Anyway the following line added to the default dfilters does the trick: # Don't dial with ICMP packet or a routed packet.... set dfilter 0 deny icmp set dfilter 1 deny udp src eq 520 <<< This is the new line... set dfilter 2 permit 0/0 0/0 -- | Jeffery T. White | email: zellion@cyberwind.com | | Cyberwind, The wind knows... | http://www.cyberwind.com ------=_NextPart_000_01BB9EA7.18D28F00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 = color=3D"#000000" face=3D"Courier New">Ken Bigelow <<font = color=3D"#0000FF"><u>kbigelow@www.play-hookey.com</u><font = color=3D"#000000">> wrote in article <<font = color=3D"#0000FF"><u>3234758B.63D9@www.play-hookey.com</u><font = color=3D"#000000">>...<br>> Jeffery T. White wrote:<br>> > = <br>> > My PPP auto connection won't disconnect and stay that way. = As soon as it<br>> > times out or my ISP times me out it radials. = This happens even when the BSD<br>> > system is the only thing = powered on on the net so I'm sure it is something<br>> > in the = system. I've tried the tcpdump but it needs some device I don't = have<br>> > in my kernel and I'm hoping someone here knows the = problem so I can avoid<br>> > the kernel build on a 386 = :(.<br>> > <br>> > I've also tried adding all the filters I = can think of that won't directly<br>> > be a problem, i.e.. I have = left such things as DNS alone.<br>> > <br>> > I'm running = 2.1.5-RELEASE, with everything pretty much as the manuals and<br>> = > the web pages say to do it. The system acts as a router for 2 = Win95<br>> > machines with gateway=3DYES and routed -s in = sysconfig.<br>> > <br>> > I guess it could be worse, at = least I can connect. Only thing is I have to<br>> > turn off the = modem to stop it! :)<br>> > <br>> <br>> Check your = configuration files in /etc/ppp -- what is specified in case<br>> of = a loss of IP connection? Also, if you have any active tasks that<br>> = expect to access your ISP (such as the nameserver), that action = will<br>> force a re-connect.<br>> -- <br>> <br>> = Ken<br>> <br>> Are you interested in |<br>> = byte-sized education | <font = color=3D"#0000FF"><u>http://www.play-hookey.com</u><font = color=3D"#000000"><br>> over the Internet? = |<br>><br><font size=3D2>Got it = working... just needed a filter for outbound RIP packets. Turns out = routed sends one every minute or two to confirm it's tables. Since when = I do reconnect I rebuild the tables based on the address I get from my = ISP end I could give a lick about maintaining the old ones. Anyway the = following line added to the default dfilters does the trick:<br><br># = Don't dial with ICMP packet or a routed packet....<br> set dfilter 0 = deny icmp<br> set dfilter 1 deny udp src eq 520	<<< This = is the new line...<br> set dfilter 2 permit 0/0 0/0 = &= nbsp; <br><br><br>-- <br>| Jeffery T. = White<br>| email: <font = color=3D"#0000FF"><u>zellion@cyberwind.com</u><font = color=3D"#000000"><br>|<br>| Cyberwind, The wind knows...<br>| = <font color=3D"#0000FF"><u>http://www.cyberwind.com</u><font = color=3D"#000000"><br><br><br><br><br><font size=3D2><br> </p> </font></font></font></font></font></font></font></font></font></font></f= ont></font></font></body></html> ------=_NextPart_000_01BB9EA7.18D28F00--