*BSD News Article 86735


Return to BSD News archive

#! rnews 2602 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!arclight.uoregon.edu!mr.net!newshub.tc.umn.edu!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and PPP dialup with Netcom Netcruiser account...
Date: 20 Jan 1997 20:57:40 GMT
Organization: Private BSD site, Dresden
Lines: 40
Message-ID: <5c0m84$q2k@uriah.heep.sax.de>
References: <pigdogE48q4C.2L9@netcom.com> <5bu0k0$haf@news.fred.net>
  <pigdogE4A7Mz.K5F@netcom.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.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34015

pigdog@netcom.com (Pigdog from SF Bay) wrote:

> ..., so I think my problems lies with the nameserver addresses
> in resolve.conf, or the configuration for tun0 in the sysconfig file where
> it wants the gateway IP and the netmask, which I do not have for
> Netcom.
> 
> Currently, I'm using the following DNS in the resolve.conf:
> 
> 199.182.120.203
> 199.182.120.202

Can't help you on this.  Though, any machine on the Internet running a
nameserver could basically serve you.  If you fail to locate one close
to you, why not setting up a (caching-only) nameserver yourself?
That's a matter of two minutes:

	cd /etc/namedb
	sh make-localhost

...and enable its startup in /etc/sysconfig (with the commented out
version of named_flags there).  Now, simply delete resolv.conf, or put
127.0.0.1 there.  Your server will query the root servers itself then,
and cache the answers.  If you know of some servers at Netcom, you can
also put them as `forwarders' in /etc/namedb/named.boot -- this might
speedup the lookups (by participating in their cached results).

> And in the /etc/sysconfig file I have the following entry for tun0...

Drop it.  It serves no purpose.  The tun0 interface is only useful in
the context of a process running on it (ppp), and this process takes
care itself to properly ifconfig the interface.  While it is not
running, tun0 must be marked down.

-- 
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. ;-)