Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd udev renamed network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ruddy32
n00b
n00b


Joined: 07 May 2014
Posts: 40
Location: France

PostPosted: Wed Aug 20, 2014 6:41 am    Post subject: systemd udev renamed network Reply with quote

Hi,
After system update, eth0 device is renamed to enp5s0 by systemd-udev. It makes no network interface available on the system. How to fix it?
Thanks
_________________
ruddy32
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Wed Aug 20, 2014 7:38 am    Post subject: Reply with quote

append "net.ifnames=0" to kernel command line. It will prevent renaming.
Back to top
View user's profile Send private message
ruddy32
n00b
n00b


Joined: 07 May 2014
Posts: 40
Location: France

PostPosted: Wed Aug 20, 2014 11:53 am    Post subject: Reply with quote

The system is installed with grub2 and udev-215.

Adding this option in boot command line does not make the system keep older eth name.
_________________
ruddy32
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Aug 20, 2014 12:37 pm    Post subject: Reply with quote

Do not know about systemd, but you can double-check if option is passed properly by running cat /proc/cmdline.
Below is cmdline from one of my boxes.

Code:
~ $ cat /proc/cmdline
root=/dev/sda1 net.ifnames=0 video=LVDS-1:d

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Wed Aug 20, 2014 12:40 pm    Post subject: Reply with quote

It works with udev-215 and grub2 just fine.
Check out whether option was added to command line or not with 'cat /proc/cmdline' ?

Oups, a bit late.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum