Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Weird device names
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ub1quit33
n00b
n00b


Joined: 24 May 2013
Posts: 16

PostPosted: Mon Sep 02, 2013 5:16 pm    Post subject: [SOLVED] Weird device names Reply with quote

I'm having an issue which isn't really critical, but is a minor annoyance. My kernel appears to be assigning odd names to my devices. More specifically, what is normally /dev/md0 has become /dev/md126, eth0 is named enp2s3, and wlan0 is wlp2s6. I'm using a stock kernel, version 3.2.45. So far my reading has given some indication that changing udev rules may help me out, but that's all I got so far. Anyone pointers are much appreciated!

Last edited by ub1quit33 on Mon Sep 02, 2013 9:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
alkan
Guru
Guru


Joined: 06 Aug 2004
Posts: 385
Location: kasimlar yaylasi

PostPosted: Mon Sep 02, 2013 5:47 pm    Post subject: Reply with quote

it might be related to something called "the new predictable interface names", recently there was a portage news item about that if i remember correctly.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Sep 02, 2013 6:33 pm    Post subject: Reply with quote

Code:
touch /etc/udev/rules.d/80-net-name-slot.rules
will restore the old net names after a reboot
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ub1quit33
n00b
n00b


Joined: 24 May 2013
Posts: 16

PostPosted: Mon Sep 02, 2013 9:45 pm    Post subject: Reply with quote

DONAHUE wrote:
Code:
touch /etc/udev/rules.d/80-net-name-slot.rules
will restore the old net names after a reboot


Bingo! That did it! Thanks so much!
Back to top
View user's profile Send private message
alkan
Guru
Guru


Joined: 06 Aug 2004
Posts: 385
Location: kasimlar yaylasi

PostPosted: Wed Sep 04, 2013 1:17 pm    Post subject: Reply with quote

That is to restore the old behaviour of udev. They might not support this forever, you may want to live with the new interface names as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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