*BSD News Article 77913


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 &lt;<font =
color=3D"#0000FF"><u>kbigelow@www.play-hookey.com</u><font =
color=3D"#000000">&gt; wrote in article &lt;<font =
color=3D"#0000FF"><u>3234758B.63D9@www.play-hookey.com</u><font =
color=3D"#000000">&gt;...<br>&gt; Jeffery T. White wrote:<br>&gt; &gt; =
<br>&gt; &gt; My PPP auto connection won't disconnect and stay that way. =
As soon as it<br>&gt; &gt; times out or my ISP times me out it radials. =
This happens even when the BSD<br>&gt; &gt; system is the only thing =
powered on on the net so I'm sure it is something<br>&gt; &gt; in the =
system. I've tried the tcpdump but it needs some device I don't =
have<br>&gt; &gt; in my kernel and I'm hoping someone here knows the =
problem so I can avoid<br>&gt; &gt; the kernel build on a 386 =
:(.<br>&gt; &gt; <br>&gt; &gt; I've also tried adding all the filters I =
can think of that won't directly<br>&gt; &gt; be a problem, i.e.. I have =
left such things as DNS alone.<br>&gt; &gt; <br>&gt; &gt; I'm running =
2.1.5-RELEASE, with everything pretty much as the manuals and<br>&gt; =
&gt; the web pages say to do it. The system acts as a router for 2 =
Win95<br>&gt; &gt; machines with gateway=3DYES and routed -s in =
sysconfig.<br>&gt; &gt; <br>&gt; &gt; I guess it could be worse, at =
least I can connect. Only thing is I have to<br>&gt; &gt; turn off the =
modem to stop it! :)<br>&gt; &gt; <br>&gt; <br>&gt; Check your =
configuration files in /etc/ppp -- what is specified in case<br>&gt; of =
a loss of IP connection? Also, if you have any active tasks that<br>&gt; =
expect to access your ISP (such as the nameserver), that action =
will<br>&gt; force a re-connect.<br>&gt; -- <br>&gt; <br>&gt; =
Ken<br>&gt; <br>&gt; Are you interested in &nbsp;&nbsp;|<br>&gt; =
byte-sized education &nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;<font =
color=3D"#0000FF"><u>http://www.play-hookey.com</u><font =
color=3D"#000000"><br>&gt; over the Internet? =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&gt;<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&#009;&lt;&lt;&lt; This =
is the new line...<br> set dfilter 2 permit 0/0 0/0 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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, &nbsp;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--