Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replacement for eth0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sun Jan 27, 2013 2:27 pm    Post subject: Replacement for eth0 Reply with quote

Apparently the new udev will no longer use eth0 as the default device name,
but for whichever device loads first. The recommendation is that a fixed
naming scheme uses anything _but_ eth0 (or wlan0) as the default, to avoid
clashes with kernel names.

Running "grep -R eth0 *" on /etc/ I get 140 hits, of which 10 seem to be actively
configuring software. This implies a fair amount of editing for the changeover,
with future installs having no idea what the default network name will be.

Does anyone have any idea what the new default network name to replace
etho might be, or will it be necessary to parse eg. ifconfig output to find it?

Will
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Jan 27, 2013 2:32 pm    Post subject: Reply with quote

Testing the new network scheme? :)

You could use MAC address, like shown in http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames with Option 4. mentioned there

Or you can go back to old eth* naming with the workaround script from https://bugs.gentoo.org/453494 if this is somehow urgent / production server / not a good time for migration / ...
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sun Jan 27, 2013 2:38 pm    Post subject: Reply with quote

Thanks for the reference, which I hadn't found. So it seems that eno0 is the new eth0;
or possibly abcd1234; or possibly anything at all except the deprecated eth0. Still, if it
saves 5 seconds on boot it must be a good thing, right?

Will
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sun Jan 27, 2013 2:41 pm    Post subject: Reply with quote

It's recommended for 'heavy users', contributors and developers to use the new networking scheme and report of any problems to https://bugs.gentoo.org/

I don't expect any major problems since any sane software lets you pick the interface used and not assume too much automatically.

This thread is mostly duplicate of this thread: https://forums.gentoo.org/viewtopic-t-948718-highlight-.html
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Mon Jan 28, 2013 11:45 am    Post subject: Reply with quote

Yes, it looks as if a simple run with sed will fix things, anyway as a first attempt.
Since most boards nowadays have a single onboard ethernet chip it would have
been helpful if the perpetrators of the change had used eth as the onboard
default rather than eno, but that probably wasn't shiny enough. Oh well,
at least I now know what to watch.

Thanks again - Will
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Mon Jan 28, 2013 11:49 am    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads, please follow up to Network: eudev does, udev does not [SOLVED]
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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