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=10.0.1.31 >> GATEWAY=10.0.1.1 >> PREFIX=24 >> BROADCAST=192.168.0.255 Here, I should have written BROADCAST=10.0.1.255. > > 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=10.0.1.31 > GATEWAY=10.0.1.1 > PREFIX=24 > BROADCAST=192.168.0.255 > ####### Probably, what Bruce wrote is more correct: BROADCAST=10.0.1.255 > > 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. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page