[SOLVED] LFS: "eth0 does not exist" w/ multiple interfaces. Also, system will not shutdown.

User Name

Remember Me?

Password

Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Followed by the login prompt. I also get the Interface eth0 doesn't exist. [WARN] line at (attempted) shutdown.
In my configuration, I have the integrated ethernet port in my motherboard, while also a standard 10/100 Linksys PCI card. (My full setup should be in my sig)

I'm not all the clear with networking, but what I'm trying to do is set up the linksys card (eth0) with a router for Internet access, and have the integrated one set up for future use. I was trying to see if I could get eth0 to at least connect to the router so the router would detect it's hostname and I could add it to the router's DCHP reservation, but do I need to set up the DHCP client in LFS before any kind of connection with the router?

The "xx:xx:xx:xx:xx:xx" is the MAC address of the integrated ethernet port.

For the sake of this post, I will say the hostname is actually "hostname".

Here's my /etc/hosts:

Quote:

# Begin /etc/hosts (network card version)

127.0.0.1 localhost
192.168.1.x hostname

# End /etc/hosts (network card version)

"x" being the static IP I set up on the router for hostname

here is my /etc/udev/rules.d/70-persistent-net.rules:

Quote:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

On another note, my system will not shutdown after the "shutdown -h now" command is issued. It goes through the whole process of killing process, etc, but when the computer would normally shut off, it simply turns back on as though I had rebooted it.
I've read the FAQ on this, and know that it is probably something with the kernel, however, I don't know where to look. I know AHCI is enabled.

Thanks, any help is appreciated!
My system should be in the sig within a few minutes after the post.

This points to a missing network driver in the kernel (I'm talking about eth0). Select the correct driver for this network card.

Quote:

Followed by the login prompt. I also get the Interface eth0 doesn't exist. [WARN] line at (attempted) shutdown.

If eth0 wasn't brought up correctly it cannot be brought down correctly. This will disappear after you solved the network driver problem.

Check your log files to figure out which network card is detected. Lspci isn't installed yet so you cannot use that to check the other card, you might want to check the log files of another linux distro running on that machine (or if you used the LFS liveCD, use the lspci command that is present).

Quote:

I'm not all the clear with networking, but what I'm trying to do is set up the linksys card (eth0) with a router for Internet access, and have the integrated one set up for future use. I was trying to see if I could get eth0 to at least connect to the router so the router would detect it's hostname and I could add it to the router's DCHP reservation, but do I need to set up the DHCP client in LFS before any kind of connection with the router?

DHCP isn't part of LFS, have a look at the BLFS book and follow the steps to set up DHCP (client).

But you first need to solve the network card issue. Everything else will probably fall into place once that is resolved.