Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev messes up /etc/conf.d/net
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Tue Jul 02, 2013 10:59 pm    Post subject: udev messes up /etc/conf.d/net Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Jul 03, 2013 6:51 am    Post subject: Reply with quote

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
View user's profile Send private message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 140
Location: Finland

PostPosted: Wed Jul 03, 2013 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Wed Jul 03, 2013 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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