[lfs-support] Ethernet Card Not Found

Pierre Labastie pierre.labastie at neuf.fr
Sun Nov 24 11:33:16 PST 2013


Le 24/11/2013 19:24, David Kredba a écrit :
> Do you have pciutils installed?
> If not install it (you can use liveCD or what you used to do first
> installation and chroot inside your current system or download it and
> copy in if you have USB storage working etc.).
> Then start in single mode and post output of lspci -v.
> 
> David
> 
> 2013/11/24 Alan Feuerbacher <alanf00 at comcast.net>:
>> On 11/24/2013 10:33 AM, Bruce Dubbs wrote:
>>> Alan Feuerbacher wrote:
>>>> On 11/24/2013 12:19 AM, Bruce Dubbs wrote:
>>
>> Per Ken's suggestion, I added the ethernet driver for my Realtek
>> ethernet device, recompiled the kernel, reinstalled systemd/udev from
>> scratch. Still no luck.
>>
>> When linux starts, I see a message:
>> "Bringing up the eth0 interface... skipped"
>>
>> When I try to bring up the network with ifup I get this:
>>
>> ifup eth0
>> #######
>>      Bringing up the eth0 interface...
>>      Adding IPv4 address 10.0.1.1 to the eth0 interface...Cannot find
>> device "eth0"
>> *****
>>
>> *****face eth0 doesn't exist.
>> #######
>>
>>>> Ok, then I must have missed something when building the system. What do
>>>> I look for in the LFS book to build the right ethernet driver?
>>>
>>> Bring up a working system and run lsmod.
>>
>> I get this:
>>
>> lsmod
>> ######
>> Module                  Size    Used by
>> x86_pkg_temp_thermal    4511    0
>> ######
I think Bruce was talking about a working distribution (the one you used to
build LFS for example). Boot it and run lsmod.
The information you get there could indicate the right driver for the kernel.

Before that and if you are still on LFS:
ip link list

If you see only lo and sit0, it means you do not have the good device driver
in the kernel. If you see something like enp0s2, it means something is wrong
with the udev files, but at least you can try to bring that interface up.

Also, I see:
 Adding IPv4 address 10.0.1.1 to the eth0 interface

Are you sure you want 10.0.1.1? Usually, the .1 address is that of the
ethernet hub which connects your local network to the outside world. I'd try
10.0.1.9 (unless you have many computers on your local network, that address
should be free...)

Regards
Pierre

>>



More information about the lfs-support mailing list