Skip to content

Dedicated Hetzner install script sometimes gets network interface name wrong (but altname right) #14

@bitonic

Description

@bitonic

I've just used the Hetzner install script to install on a newly rented server. The network interface name is detected to be enp3s0. However once I reboot into nixos, that is only the altname:

[root@herc:~]# ip address
...
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
...
    altname enp3s0

While the altname works when manually configuring the network with the ip command, it seems to not work in configuration.nix. Once I rename enp4s0 to eno1 in configuration.nix things work at boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions