From owner-freebsd-questions Tue Jan 28 16:57:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA25958 for questions-outgoing; Tue, 28 Jan 1997 16:57:22 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA25953 for ; Tue, 28 Jan 1997 16:57:12 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.4/8.6.12) with SMTP id QAA21309; Tue, 28 Jan 1997 16:56:57 -0800 (PST) Date: Tue, 28 Jan 1997 16:56:57 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Kevin Eliuk cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD-2.1.6 and ppp to pap ISP In-Reply-To: <32EA650A.3A0D@sunshine.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 25 Jan 1997, Kevin Eliuk wrote: > I am new user of FreeBSD and am having problems with user ppp setting > up the configuration. > > Symptoms I have noticed are I can connect be authenticated and can ping > my host by 'ping 204.191.204.254' for eg.. I have also noticed recently > that the ifconfig tun0 maintains it's settings and only after I close > the connection does it change to the show ipcp settings in ppp. You should not configure tun0 ever; ppp takes care of it. Once ppp establishes the connection, it configures tun0 appropriately and executes the commands in /etc/ppp/ppp.linkup, which should reset the routes. When ppp exists, it will remove the routes it's added, so when it quits entirely (not when it disconnects with -auto on), it will ifconfig tun0 down and remove routes. > Two other things I am curious about is that when I put the netmask value > of 255.255.255.0 in the ppp.conf in either hex or as shown it displays > in show ipcp as neg... 255.255.255.255/32. Also with the os I did not > receive getbyhostname,etc. and wondered if this was my problem. The netmask is OK; it's just presenting it in the alternate notation. 'getbyhostname' isn't a program, it's a library call, and the real name is 'gethostbyname'. If you're getting errors from it, your nameservice isn't working properly. Make sure that /etc/resolv.conf, /etc/hosts, and /etc/host.conf are set properly. > The attachment by the time you read this may be reconfigured but > I include it anyway. This is a UNIX support list; I don't think any of us have a copy of Write available. :) Try reposting in plain text. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major