Skip to content

Tool does not handle changed network interface names #6

@MartinRothschink

Description

@MartinRothschink

Hi, my upgrade from Debian 11 -> 12 failed today.
My server was set-up with Debian 9 and then upgraded to Debian 10 and 11.

The primary reason is a change of the network interface name.

Instead of eth0, enX0 is used in my case. This change is not handled by the tool currently.

See https://wiki.debian.org/NetworkConfiguration

See [NetworkInterfaceNames](https://wiki.debian.org/NetworkInterfaceNames). Since Stretch, new systems by default no longer use old-style interface names such as eth0, eth1, wlan0, wlan1. The new system uses names based on hardware location, like eno0, enp0s31f6, wlp1s7 (or in the case of USB dongles, MAC address: enx2c56ac39ec0d).

You can list interfaces with: ls /sys/class/net

Various examples below continue to use "eth0" as a default interface name, even though it is unlikely to exist on a modern system.

Upgrading and Network Interface Names
Stretch and Buster still retain support for the old naming system as long as the file /etc/udev/rules.d/70-local-persistent-net.rules is still in place, but users are advised to switch ahead of the upgrade to Bullseye.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions