Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 1999 02:13:40 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        stuart@i2k.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: ppp problems 
Message-ID:  <199906040113.CAA04090@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Thu, 03 Jun 1999 17:33:39 EDT." <Pine.BSF.4.05.9906031723470.1248-100000@comp1.net.local> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@uk.FreeBSD.org>




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?199906040113.CAA04090>