Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 20:52:01 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Teddy Wang <teddy@usa1.com>
Cc:        questions@freebsd.org
Subject:   Re: Problems with User PPP and Dynamic IP assignment
Message-ID:  <Pine.BSI.3.94.960928205003.461B-100000@gdi.uoregon.edu>
In-Reply-To: <199609271919.MAA17492@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Sep 1996, Teddy Wang wrote:

> I'm trying to get my FreeBSD 2.1.5 running PPP with my local provider.
> So far I've set up the following files...
> 
> In the /etc/hosts file:
> 127.0.0.1		localhost
> 204.249.255.200		teddy.usa1.com teddy
> I made up the number for teddy.usa1.com because my local provider will
> dynamically assign me an IP.

You should probably choose a bogus IP for yourself then (ie, in the
10.x.x.x range).

> In the /etc/sysconfig file:
> network_interfaces="lo0 tun0"
> ifconfig_lo0="inet localhost"

> ifconfig_tun0="inet teddy.usa1.com 204.249.224.1 netmask 0xffffffff"

The tun0 is unnecessary.  iijppp will configure tun0 for you.

> User PPP dials successfully when I type:
> 
> ppp> dial simplesite
> 
> But the connection won't let me route to the world until I type:
> 
> PPP> add 0 0 HISADDR

That's right.  I have the same problem.  :-/  It has to do with your
/etc/ppp.linkup file.  I haven't had that file work right yet, but YMMV.

> My netstat -r after user ppp:
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif
> Expire default            cs1-wak-ma.usa1.ne UGc        17        6   
>   tun0 localhost          localhost          UH          0       14   
>    lo0 wakma1-5           local              UH          0        0   
>    lo0
> 
> netstat after user ppp never returns, but hangs.  Netscape and Mosaic
> both refuse to load.

That sounds like a nameserver resolution problem.  Can you ping the other
side using it's IP address successfully?

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960928205003.461B-100000>