From owner-freebsd-questions Sat Sep 27 17:57:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA24136 for questions-outgoing; Sat, 27 Sep 1997 17:57:09 -0700 (PDT) Received: from mail10.voicenet.com (mail10.voicenet.com [207.103.0.6]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA24128 for ; Sat, 27 Sep 1997 17:57:04 -0700 (PDT) Received: (qmail 8940 invoked from network); 28 Sep 1997 00:56:48 -0000 Received: from rotary835-pri.voicenet.com (HELO athena.ferraro.net) (207.103.143.149) by mail10.voicenet.com with SMTP; 28 Sep 1997 00:56:47 -0000 Received: from localhost (chris@localhost) by athena.ferraro.net (8.8.7/ATHENA-8.8.7) with SMTP id UAA09783; Sat, 27 Sep 1997 20:48:12 -0400 (EDT) Date: Sat, 27 Sep 1997 20:48:11 -0400 (EDT) From: Chris To: questions@freebsd.org, brian@awfulhak.org Subject: Re: PPP problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 27 Sep 1997, Brian Somers wrote: > > Occasionally, PPP traffic just stops. PPP won't pass any traffic. The > > routing tables do not change. The problem occurs randomly. Outgoing ping > > traffic simply is not returned, but does not return a message (ie. no > > route to host). I can ping other systems on my local network and myself > > without problems. I have noticed that it occurs much more often under high traffic, when the traffic is traveling to many different sites/addresses. > [perfectly fine routing table deleted] > > Does the connection close ? No, I am sure the line is still active. > I've seen ppp doing this once or twice, for no reason. Everything > seems to "hang", and a short while later things are fine again. I > haven't treated it as a potential problem yet 'cos I consider such > things to be potential "glitches" with my ISP. > > If it's happening reasonably consistently for you, you'll need to > diagnose it a bit more - there are instructions now in section 10 of > the FAQ on how to do this. I was unable to find anything about diagnosis under section 10 of the FAQ on www.freebsd.org. Of course, I could easily have missed it. No traffic is going out the link. I determined this by sending ping packets to a Win95 machine that was connected to the Internet. I was able to ping it and watch the green modem light light when I was not having a problem. Then I waited until the link wasn't functioning and pinged the Win95 system again. The modem lights stayed red, indicating no activity. However, if I attempt to access a web page on my system from another Internet connected computer, I see the IP in the netstat -n output with the words "SYN_SENT" next to it. The status never changes to ESTABLISHED. This seems to indicate that traffic is entering the link. I just tried to upgrade to the Sept 24th release of PPP, but I couldn't get it to compile I ended up with: ld: -ldes: no match *** Error code 1 Stop. *** Error code 1 Stop. > > You'll probably need to "set log +tcp/ip" in addition, but you only > need do this while the connection is "pausing". Set yourself up a > script: > > #! /bin/sh > val=+ > test ."$1" = .off && val=- > exec pppctl -p mypasswd 3000 set log ${val}tcp/ip I tried using this script, but I couldn't figure out where the logging information went. I check /var/log/messages, but there is nothing indicating any logging is taking place. > You can then find out if the traffic is actually going out or not. > Of course if you have an external modem, you can probably just look > at the TX light. I have an internal modem. > >-- >Brian , , > >Don't _EVER_ lose your sense of humour.... Thank you, Chris