Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

device names in stretch

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
morgon
Posts: 189
Joined: 2010-08-28 03:04

device names in stretch

#1 Post by morgon »

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!

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: device names in stretch

#2 Post by GarryRicketson »

Did you do any searches ?
device names in debian stretch
Apparently this is not all that new:
https://lists.debian.org/debian-user/20 ... 01083.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

morgon
Posts: 189
Joined: 2010-08-28 03:04

Re: device names in stretch

#3 Post by morgon »

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.

Post Reply