[lfs-support] Ethernet Card Not Found

Alan Feuerbacher alanf00 at comcast.net
Mon Nov 25 17:28:52 PST 2013


On 11/25/2013 11:32 AM, Bruce Dubbs wrote:
> Alan Feuerbacher wrote:
>
>> r8169                  71677  0
>
> This is what you need to configure in your kernel.  Use y and not m.

Done.

My earlier emails indicate that I've gotten the card working.

> Then when you boot, you should see a device in /sys/class/net.  It may
> be p4p1 or something else.

enp3s0

> You should have a file /etc/sysconfig/ifconfig.eth0
>
> ONBOOT=yes
> IFACE=p4p1
> SERVICE=ipv4-static
> IP=10.0.1.2   # Change to 10.0.1.x to not conflict with other systems
> GATEWAY=10.0.1.1
> PREFIX=24
> BROADCAST=10.0.1.255

I now have:

ifconfig.enp3s0
######
ONBOOT=yes
IFACE=enp3s0
SERVICE=ipv4-static
IP=10.0.1.31
GATEWAY=10.0.1.1
PREFIX=24
BROADCAST=192.168.0.255
######

The IP address is borrowed from my Fedora installation. Should I change 
".31" to ".XX" so that LFS does not conflict with Fedora? I suppose not, 
since only one will be running at any time.

> Generally a 10.x.x.x network has PREFIX=8 and BROADCAST=10.255.255.255,
> but  PREFIX=24 works too.

What are the ins and outs of choosing 8 or 24? How about the BROADCAST 
address? I have no clue why one should choose "10.0.1.255" over 
"192.168.0.255" (picked only because an earlier poster put it in his 
example file). Can you point me to some detailed documentation?

Alan



More information about the lfs-support mailing list