View previous topic :: View next topic |
Author |
Message |
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Tue Jul 02, 2013 10:59 pm Post subject: udev messes up /etc/conf.d/net |
|
|
What am I supposed to do about udev and how it renames my network devices?
E.g. it renames my eth0 to enp5s12. I tried to edit the net file and change config_eth0="dhcp" to config_enp5s12="dhcp" but this didn't work. Running simply dhcpcd from the terminal works fine though. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jul 03, 2013 6:51 am Post subject: |
|
|
Code: | touch /etc/udev/rules.d/80-net-name-slot.rules | will tell udev to leave the kernel assigned names alone restoring eth0 and wlan0
sounds like you did not remake the symlink: as in Code: | cd /etc/init.d
ln -s net.lo net.enp5s12 |
_________________ Defund the FCC. |
|
Back to top |
|
|
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
Posted: Wed Jul 03, 2013 9:01 am Post subject: |
|
|
I just disable this feature with net.ifnames=0 to kernel cmd line. (linux /boot/3.10.0-gentoo net.ifnames=0 to grub.cfg) _________________ https://github.com/defer- |
|
Back to top |
|
|
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Wed Jul 03, 2013 6:24 pm Post subject: |
|
|
DONAHUE wrote: | Code: | touch /etc/udev/rules.d/80-net-name-slot.rules | will tell udev to leave the kernel assigned names alone restoring eth0 and wlan0
sounds like you did not remake the symlink: as in Code: | cd /etc/init.d
ln -s net.lo net.enp5s12 |
|
Yeah, I ended up doing that, thanks though, I just hope that name will stay like that, and not change. |
|
Back to top |
|
|
|