View previous topic :: View next topic |
Author |
Message |
ruddy32 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 May 2014 Posts: 40 Location: France
|
Posted: Wed Aug 20, 2014 6:41 am Post subject: systemd udev renamed network |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
creaker l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 14 Jul 2012 Posts: 651
|
Posted: Wed Aug 20, 2014 7:38 am Post subject: |
|
|
append "net.ifnames=0" to kernel command line. It will prevent renaming. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ruddy32 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 May 2014 Posts: 40 Location: France
|
Posted: Wed Aug 20, 2014 11:53 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Wed Aug 20, 2014 12:37 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
creaker l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 14 Jul 2012 Posts: 651
|
Posted: Wed Aug 20, 2014 12:40 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|