eth0 again

Kevin Fenzi kevin at scrye.com
Sun Jul 20 16:53:19 UTC 2014


On Sun, 20 Jul 2014 16:13:23 +0000 (UTC)
"Amadeus W.M." <amadeus84 at verizon.net> wrote:

> 
> I tried that (biosdevname=0) first, before I saw the new ways. No go.

Well, it's possible, and even likely that you have both. ;) 

ie, you are disabling the systemd one, but the biosdevname one kicks in
then. In any case, if you have it installed, yum remove biosdevname
that will rule it out. 

> > 2. Check /etc/sysconfig/network-scripts/ifcfg* files... move them to
> > the names with the mac addresses that you want. 
> 
> [root at phoenix ~]# ls /etc/sysconfig/network-scripts/ifcfg-*
> /etc/sysconfig/network-scripts/ifcfg-eth0
> /etc/sysconfig/network-scripts/ifcfg-lo
> 
> [root at phoenix ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 
> TYPE=Ethernet
> BOOTPROTO=none
> DEFROUTE="yes"
> IPV4_FAILURE_FATAL="no"
> IPV6INIT=yes
> IPV6_AUTOCONF="yes"
> IPV6_DEFROUTE="yes"
> IPV6_FAILURE_FATAL="no"
> NAME="eth0"
> UUID="8b3948d3-4447-4016-8d24-1e26f65a3008"
> ONBOOT=yes
> IPADDR0=192.168.1.40
> PREFIX0=24
> GATEWAY0=192.168.1.1
> DNS1=192.168.1.1
> USERCTL=no
> HWADDR=00:0C:F1:BC:29:FE
> IPV6_PEERDNS=yes
> IPV6_PEERROUTES=yes
>
> That's why I'm so baffled. Neither the old nor the new methods work. 

And that HWADDR is correct for the interface you want to be eth0?

> If I boot interactively, what should I be looking for?

I'd look in dmesg first... it should say it's renaming eth0 to em1 or
whatever there... 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140720/a8b4cc91/attachment.sig>


More information about the users mailing list