Re: Cannot get DHCP working
Ken Moffat <zarniwhoop <at> ntlworld.com>
2007-11-01 23:36:46 GMT
On Thu, Nov 01, 2007 at 01:08:16PM -0700, David Whitney wrote:
> Can someone please advise me if I have perchance missed a critical step in
> my system's configuration? The post I created within LinuxQuestions.org can
> be viewed here:
I can't access that - it drops me at linux-newbie-8/ and I didn't
notice any relevant topic. Actually, linux-newbie doesn't sound
like a good place to post LFS, let alone, clfs, problems.
> To summarize the post, my network interface is detected, the appropriate
> Linux kernel module is loaded, and I can configure the interface manually
> using ifconfig, yet I am unable to ping any system or even the router within
> my local network.
Now, recent udev has supplied its own version of 'ifconfig', and
for all I know it _might_ work, but 'ifconfig' hasn't been the
recommended way of setting an address in LFS-family builds for some
In the old stable book, the basics are in 'Creating Network
Interface Configuration Files' (11.14.2 in the arch I happen to be
looking at, probably the same in all arches, and probably the same
in the development book).
> If you have any suggestions as to where I should focus my efforts to resolve
> this issue, please let me know.
> Thank you.
> P.S. I have tried using a static-IP configuration as documented in CLFS,
> however that does not function either.
So, what doesn't work, and why do you think you should be using
dhclient ? Hints - you may need to describe your network, at least
in terms of the gateway, any dhcp server(s) you have. For instance,
my network runs on 192.168.x.0 (there is no need to specify the full
detail, as long as 'x' is a constant) and my server offers addresses
in the range 192.168.x.120 to 192.168.x.129 which means I know that
addresses below and above the 12n range are not offered - in
practice, my server and one or two other boxes use/used static
addresses - for your own network, you need to keep the details!
For a static local IP (which is usually easiest, unless all your
addresses come from a router) you have to know that the address you
pick is currently unique, and compatible with the gateway.
If you have been running a distro on the box that is running clfs,
the usual procedure is to take the settings from that. If you used
a Live CD, and you managed to get connectivity from that, again copy
FWIW, I use dhcp-3.0.5 on my current desktops, with the appropriate
das eine Mal als Tragödie, das andere Mal als Farce
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org