From owner-freebsd-questions Fri Jun 4 2:46:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hermes.axis.de (hermes.axis.de [194.163.241.7]) by hub.freebsd.org (Postfix) with SMTP id BA56214FD9 for ; Fri, 4 Jun 1999 02:46:21 -0700 (PDT) (envelope-from maret@axis.de) Received: from erlangen01.axis.de by hermes.axis.de via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 4 Jun 1999 09:46:22 UT Received: (private information removed) Message-ID: <91DA20EC3C3DD211833400A0245A4EA9BA0E86@erlangen01.axis.de> From: Alexander Maret To: "'stuart@i2k.com'" Cc: "'questions@FreeBSD.ORG'" Subject: RE: ppp problems Date: Fri, 4 Jun 1999 11:46:20 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I once had a similar problem using linux. I could use the connection a while but then it just froze. If you are having a slow connection then you must lower the mtu (Maximum Transmit Unit) and the mru (Maximum Receive Unit). Probably it should be enough to lower the mru. For a modem connection a mru of 296 should do it. You can't do a netstat -r if the connection is "down" because it tries to resolve domain names. Use netstat -nr instead. Alex > -----Original Message----- > From: stuart@i2k.com [mailto:stuart@i2k.com] > Sent: Donnerstag, 3. Juni 1999 23:34 > To: questions@FreeBSD.ORG > Subject: ppp problems > > > hi- > i wrote in a few days ago about a problem i was having where my > ppp connection would "freeze", and i would have to dialup > again, etc. I > had been using natd AND ppp -alias, which I quickly changed > after people > responded. I took all natd related stuff from my kernel and > recompiled. Now I start ppp using the command "ppp -background -alias > isp" without using natd at all. This machine is used as a gateway for > other computers on my lan. > After changing all of this, following the directions i received > exactly, I am still having the same "freezing" problem. Once > again, there > doesnt seem to be any particular reason that causes it to > freeze. Here is > the output from "netstat -r" after I connect successfully: > > Destination Gateway Flags Refs Use Netif > default speedbump2.i2k.com UGSc 5 5 tun0 > 10/24 link#1 UC 0 0 ed1 > localhost localhost UH 0 0 lo0 > speedbump2.i2k.com sb20-114.i2k.com UH 5 0 tun0 > > Once the "freeze" happens I can do a netstat -r and only > receive the first > line of this (Destination, Gateway, Flags, Refs, Use, Netif) > and I must > ctrl+c to get back to a prompt. > > Perhaps my problem is in my routing tables? In ppp.conf I use these > commands to setup my routes (taken directly from the handbook): > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > > Any help would be greatly appreciated on this frustrating problem. > Thanks, > > ben stuart > stuart@i2k.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message