Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!bubba.ucc.okstate.edu!news.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!news.clark.net!rwatson From: rwatson@clark.net (Robert Watson) Newsgroups: comp.os.386bsd.questions Subject: Re: Resolv.conf bootup problem Date: 28 Jan 1995 19:03:30 GMT Organization: The Star-Lit BBS, Bethesda, Maryland, USA Lines: 35 Message-ID: <3ge4e2$pr0@clarknet.clark.net> References: <3gdr0b$kg7@News1.mcs.com> NNTP-Posting-Host: clark.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 PL2] jfroths@mcs.com wrote: : FreeBSD 2.0 - configuring SLIP : Without my service providers nameserver in my /etc/resolv.conf I have to telnet : with IP addresses. With it in, it works fine, but during bootup when it runs startnet : it says "starting network" then stops for a few minutes, then says "writing to routing : socket: Network is unreachable" then a couple lines later "starting network daemons: : portmap routed printer sendmail" then hangs for a minute, then " inetd" : Any ideas on how to stop these delays during boot? What's probably happening is you have bind listed before hosts in /etc/host.conf -- when you boot up, you list system names in your netstart or such, and in order for the various daemons to load up, it first has to resolve the addresses. You should probably list all hosts you access at bootup in your hosts file, or just refer to them by IP until you've connected to the service provider and bind can actualy do soemthing. Should probably leave bind first in host.conf, actually.. The hang on sendmail is sendmail trying to resolve various hostnames, I would guess. Our simple hosts file looks something like this (as opposed to a later complicated one): # hosts: 127.0.0.1 localhost localhost 198.3.254.3 gateway.us.sidwell.edu gateway 137.39.1.10 netblazer.falls-church.va.alter.net --- netblazer being the host at the other end of the slip line, gateway being this end. It could be your lack of a localhost definition that causes the delay. Also give a call to ifconfig lo0 localhost up or such sometime in netstart. Hope that helps some..