Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 21:24:27 +0200
From:      Axel Scheepers <axel@axel.truedestiny.net>
To:        Anthony Carmody <carmoda@interfaceergonomics.com>
Cc:        Axel Scheepers <axel@axel.truedestiny.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: DHCP client on 4.4
Message-ID:  <20020426212427.B34264@mars.thuis>
In-Reply-To: <002701c1ecbc$b62aa760$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Fri, Apr 26, 2002 at 10:49:27AM %2B1000
References:  <00f701c1eb1e$d7fbbc70$6700a8c0@interfa.fortune> <20020425223509.F24392@mars.thuis> <002701c1ecbc$b62aa760$6700a8c0@interfa.fortune>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <some.host.you.want.to.reach>
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 <your.domain.here>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426212427.B34264>