[lfs-support] Ethernet Card Not Found

Fernando de Oliveira famobr at yahoo.com.br
Mon Nov 25 17:42:20 PST 2013

Em 25-11-2013 21:44, Alan Feuerbacher escreveu:
> On 11/25/2013 10:15 AM, Fernando de Oliveira wrote:
>> Em 25-11-2013 11:59, Alan Feuerbacher escreveu:
>>> 2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
>>> state UP mode DEFAULT group default qlen 1000
>>>       link/ether 30:85:a9:8f:31:09 brd ff:ff:ff:ff:ff:ff

>> ONBOOT=yes
>> IFACE=p4p1
>> SERVICE=ipv4-static
>> IP=
>> PREFIX=24

Here, I should have written BROADCAST=

> That helped, thank you. What finally solved the problem, though, was 
> William's suggestion to look at /sys/class/net, which now contains the 
> directory enp3s0.

William's advice was the good advice. That is what I do.

> Perhaps this got created after I recompiled the kernel 
> with the driver for my Realtek network device. I looked at the linux 
> .config file and it now has the line "CONFIG_R8169=y" which is correct.
> The file that worked:
> ifconfig.enp3s0
> #######
> ONBOOT=yes
> IFACE=enp3s0
> SERVICE=ipv4-static
> IP=
> #######

Probably, what Bruce wrote is more correct: BROADCAST=
> Some questions and comments to help me really understand what's going on 
> with this file:
> Short of going through the rigamarole that I just did, namely, looking 
> at /sys/class/net/ and finding a cryptically named directory like 
> "enp3s0", with the help of a number of experts, how does a newbie like 
> me figure all this out ahead of time? Such as exactly what "IFACE" means 
> and what you're supposed to put there?

IFACE is the interface name that you found after William's instruction.
Before, you would have eth0, but udev changed. I can only reply to some
of your questions. Bruce or William or Ken can explain better, I just
say "weird" names.

I was going to proceed, but just seen Bruce has answered.

Anayway, glad you have it working, now.


More information about the lfs-support mailing list