Date: Fri, 4 Jun 1999 11:46:20 +0200 From: Alexander Maret <maret@axis.de> To: "'stuart@i2k.com'" <stuart@i2k.com> Cc: "'questions@FreeBSD.ORG'" <questions@FreeBSD.ORG> Subject: RE: ppp problems Message-ID: <91DA20EC3C3DD211833400A0245A4EA9BA0E86@erlangen01.axis.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91DA20EC3C3DD211833400A0245A4EA9BA0E86>