From owner-freebsd-questions Thu Jun 3 18:14:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id D074415A33 for ; Thu, 3 Jun 1999 18:14:29 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA10032; Fri, 4 Jun 1999 02:14:21 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA04090; Fri, 4 Jun 1999 02:13:41 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906040113.CAA04090@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: stuart@i2k.com Cc: questions@FreeBSD.ORG Subject: Re: ppp problems In-reply-to: Your message of "Thu, 03 Jun 1999 17:33:39 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Jun 1999 02:13:40 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. The freeze happens because netstat is doing a dns lookup. Do a ``netstat -rn'' instead. > 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, The only help I can offer is the stuff in the FAQ at http://www.FreeBSD.org/FAQ/userppp.html :-/ > ben stuart > stuart@i2k.com -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message