On 10/23/2013 10:18 AM, Dr.-Ing. Edgar Alwers wrote:
> Hi all,
>
> I work with BLFS, Kernel-3.8.5, KDE-4.10.2.
> As my motherboard went defect, I had to exchange it by a new ASRock G31M. So
> far, everything is working OK. However, I would appreciate, if someone can
> give me some explanations on what is running:
>
> I have an Realtek 8169. In /etc/sysconfig there is an ifconfig.eth0 like
> explained in the BLFS Book:
>
> ONBOOT=yes
> IFACE=eth0
> SERVICE=ipv4-static
> IP=192.168.178.227
> GATEWAY=192.168.178.1
> PREFIX=24
> BROADCAST=192.168.178.255
>
> Well, the points are:
>
> 1:) My system is renaming the interface during booting: ( dmesg )
> [    4.410110] systemd-udevd[1661]: renamed network interface eth0 to enp1s0
>
> 2.) I do not find any renaming action in udev 70-persistent-net.rules
>
> 3.) Inspite of wrong ifconfig.eth0, renaming etc., my PC is doing well and I
> can work on internet.
>
> Questions:
>
> 1:) what is hapening ? Is enp1s0 a sort of new Interface-standard ?
> Should I rewrite ifconfig.eth0 to a kind of ifconfig.enp1s0 ?
>
> As I said, my PC is doing communication, but I do not know why ;-)  Perhaps
> somebody can give me a hint and explain. I did not find any help googling.
>
> Thanks in advance,
> Edgar
>
>
enp1s0 is just a random name given to your ethernet adapter by the 
Kernel, you have edit you 70-persistent-net.rules and fix the entry that 
says eth0 (which should be your old ethernet adapter) and change the mac 
address to the mac address of your new ethernet adapter and on reboot it 
should be called eth0.

Casey
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to