On Tue, Sep 2, 2008 at 9:41 PM, William Tracy <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am playing with LFS for the first time on my Dell Inspiron 1420n.
> (At some point, I might write a beginners' walkthrough for getting LFS
> working on this laptop model.) Overall, I like what I've seen so far
> of LFS.
>
> Except for some oddness with the SCSI drive on my machine (kernel
> modules don't help much for mounting the root directory when you're
> not using initrd ...) all of the problems I've had earlier I've traced
> directly to something stupid I did.

Yeah, initramfs is definitely the way to go, but it can be a serious
pain to setup. Bryan Kadzban created an initramfs tool, but it hasn't
made it into LFS yet. Someday.

> Now, I successfully compiled the DHCP client without the iproute
> patch, as I intended to use net-tools, which I also built
> (successfully, I thought). Now, if I boot up with the ethernet cable
> already plugged in, I get an IP address and can surf the web in
> glorious ASCII with Lynx.
>
> I can run:
> ifconfig eth0
>
> and see the information about that device and IP address. However, if I run:
> ifconfig down eth0
>
> or:
> ifconfig up eth0
>
> I get:
> eth0: Host name lookup failure
> ifconfig: '--help' gives usage information
>
> At a glance, does this look like a simple configuration problem, or
> did I screw up the build itself?

That's because you need to run the DHCP client again after you bring
the device up again. You can do something like
"/etc/rc.d/init.d/network start" again to run the LFS network scripts.

> While I'm emailing the list, I have to comment on the BLFS book
> itself: Overall, the structure seems sane, but I absolutely cannot
> fathom why dhcpcd is covered under "Basic Networking", while DHCP is
> covered under "Servers". This seems completely the reverse of what I
> would expect. Am I missing something?

The DHCP package contains both a client (dhclient) and a server
(dhcpd) for running a DHCP server. The client is covered here, which
is under "Basic Networking":

http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html

Sort of unfortunate, but that's how it goes.

> Thanks for any replies; I look forward to inflicting a new level of
> pain on myself with wireless networking once I have net-tools
> behaving. :-D

Wireless is not a lot of fun, especially if encryption is involved. I
don't think we cover it much at all in BLFS. I personally let
NetworkManager handle all the details, but getting that all built and
setup is another story altogether.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to