*BSD News Article 63014


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in1.uu.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: User PPP Problems
Date: 24 Feb 1996 15:55:05 GMT
Organization: Private BSD site, Dresden
Lines: 28
Message-ID: <4gnccp$9g0@uriah.heep.sax.de>
References: <4gj02u$pir@baygull.rtd.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

jackhamr@RTD.COM (Christopher Wolff) writes:
> I'm running FreeBSD 2.1 on a pentium based PC with 16MB RAM and trying to 
> use User PPP to connect to the net.  I'm having a problem getting my 
> dynamically assigned ip address to resolve over to my hostname.  Is there 
> a way to get this to work or should i try kernel PPP with my dynamic IP?
> 
> I would greatly appreciate any help anyone can offer...It seems like 
> there must be a string i can put in place of an assigned ip address in 
> /etc/hosts.  Currently all i have in there is 127.0.0.1 localhost and 
> IFCONFIG goes nuts.

First, you could always ifconfig with a numeric IP address instead
of a name (and that's in fact a good idea at all).

Second, your ISP should offer the resolution between the IP address
and the name as part of his DNS.  It certainly does.  No need to put
this into your /etc/hosts.

Third, what the hell are you doing with ifconfig at all?  You don't
need it, nuke it, ppp does it for you after the line has come up (and
you don't need it earlier).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)