device names in stretch

Kernels & Hardware, configuring network, installing services

device names in stretch

Postby morgon » 2017-07-08 18:54

Hi,

I've just done my first fresh install of a stretch system and I am a bit baffled that all the adapter-device names seem to follow some dark (probably systemd related) magick...

What I used to know as eth0 all of a sudden appears as enp2s0, wlan0 is now wlx64700220f7b2.

wtf?

I am sure there are good reasons for this but is there a way to get back the names I am used to?

Many thanks!
morgon
 
Posts: 70
Joined: 2010-08-28 03:04

Re: device names in stretch

Postby GarryRicketson » 2017-07-08 19:10

Did you do any searches ?
device names in debian stretch
Apparently this is not all that new:
https://lists.debian.org/debian-user/2015/08/msg01083.html
On 08/26/2015 06:47 PM, Tim Tepatti wrote:
> I've just done a fresh minimal install of Debian Stretch, and noticed
> something odd. In ifconfig and iwconfig, all of my adapters have weird
> names, like "ens2" instead of "eth0".

--- but is there a way to get back the names I am used to?

I don't know, but there is a whole bunch of results, I am sure some body
has thought of something.
Maybe keywords:
Code: Select all
 How to change device names in debian stretch


Never hurts to try
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4219
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: device names in stretch

Postby morgon » 2017-07-08 19:26

Yes, I did some searches (this is how I learnt it's systemd-related), but my questions was mainly if someone knew how to change it.

Now I dug up this:

"If you don't like it, use the "net.ifnames=0" boot parameter "

I'll try tomorrow.
morgon
 
Posts: 70
Joined: 2010-08-28 03:04


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable