From owner-freebsd-questions Fri Apr 26 12:24:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id 284E137B41A for ; Fri, 26 Apr 2002 12:24:26 -0700 (PDT) Received: by axel.truedestiny.net (Postfix, from userid 1000) id CE00F49AB2; Fri, 26 Apr 2002 21:24:27 +0200 (CEST) Date: Fri, 26 Apr 2002 21:24:27 +0200 From: Axel Scheepers To: Anthony Carmody Cc: Axel Scheepers , freebsd-questions@FreeBSD.ORG Subject: Re: DHCP client on 4.4 Message-ID: <20020426212427.B34264@mars.thuis> Reply-To: Axel Scheepers References: <00f701c1eb1e$d7fbbc70$6700a8c0@interfa.fortune> <20020425223509.F24392@mars.thuis> <002701c1ecbc$b62aa760$6700a8c0@interfa.fortune> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002701c1ecbc$b62aa760$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Fri, Apr 26, 2002 at 10:49:27AM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 26, 2002 at 10:49:27AM +1000, Anthony Carmody wrote: > i have it on the network now. some things are a bit weird thou..... > > i only have the rc.conf configured. as per the comments in the files > suggest. I did not think i had to have the hosts file configured to get Can you include them here please? A 'normal' setup should list something like: ifconfig_ed1="DHCP" to start the dhclient script at boot time (you might rm & touch dhclient.conf and dhclient.leases if you're having problems to get an ip) > virtual hosts to work with an external DNS server. in fact I am sure thats > what i had working previously. anyway the short of it is i have the http Does something like host -t any work? It should list a name and ip for the host, and moght print some extra stuff about it, all aquired from the dns server. In a 'setup' the host which will be queried is defined in /etc/resolv.conf, it should look like: search nameserver dnsserver.ip.number The dhclient script should set this up automagically, if not you might consider putting in these values by yourself, but keep in mind you need to reconfigure the dns server to not to touch /etc/resolv.conf (or make it immutable) > server working and now i am attemting to build an internal messaging server > [jabber] for the developers to use. and i am having routing issue now :~] Again, dhclient should supply the default route to use. If non provided, you might either do static routing (add them by hand in /etc/rc.local or something) or run a route discovery daemon, as routed. Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop. ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message