How is your network setup?

Hello,

We are working hard on YunoHost 13 migration and we want to know more how the network is configured in your instances.

Which mechanism is in use to configure network on your instance ?

  • /etc/network/interfaces
  • netplan
  • systemd-networkd
  • NetworkManager config ???
  • an other method (for example scripts)
  • i don’t know
0 voters

Could you share the result of those commands ?

Be careful on those 3 commands to replace wifi password, ip address, and mac address (in interface name)

cat /etc/network/interfaces /etc/network/interfaces.d/* 
cat /etc/netplan/* 
cat /etc/systemd/network/*  
systemctl status networking
systemctl status systemd-network
systemctl status systemd-resolved
systemctl status NetworkManager
ip -br link show |cut -d" " -f1
grep -i "net.ifnames" /boot/grub/grub.cfg
cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
yunohost --version

About

The goal here is to know more on yunohost 12 and 13 instances in order to detect potential network issues after upgrading onto the next major version.

On my rpi

cat /etc/network/interfaces /etc/network/interfaces.d/*
cat /etc/netplan/*
cat /etc/systemd/network/*
source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
post-up ip a a XXXX::XXXX:acab/128 dev eth0
cat: '/etc/netplan/*': No such file or directory


● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Thu 2026-09-17 14:17:15 CEST; 1 week 0 days ago
Docs: man:interfaces(5)
Main PID: 942 (code=exited, status=0/SUCCESS)
CPU: 119ms

Sep 17 14:17:03 XXX.ovh systemd[1]: Starting networking.service - Raise network interfaces...
Sep 17 14:17:03 XXX.ovh ifup[580]: ifup: waiting for lock on /run/network/ifstate.eth0
Sep 17 14:17:15 XXX.ovh systemd[1]: Finished networking.service - Raise network interfaces.
Unit systemd-network.service could not be found.
Unit systemd-resolved.service could not be found.
Unit NetworkManager.service could not be found.
lo
eth0
wlan0
grep: /boot/grub/grub.cfg: No such file or directory
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory
yunohost:
repo: stable
version: 12.1.41.2
yunohost-admin:
repo: stable
version: 12.1.15
yunohost-portal:
repo: stable
version: 12.1.2
moulinette:
repo: stable
version: 12.1.4
ssowat:
repo: stable
version: 12.1.1

Bon dev :wink:

Hello, I replied directly in the main thread Issue · GitHub

BTW, “hardly working” => “je travaille à peine”, “working hard” => “je travaille durement” :slight_smile:

Thanks sadly, i am not a good english speaker, i try to remember that :sweat_smile:

Thanks @crustyourmind i see that you have old non predicatble interface name (eth0), i think there is a risk on upgrading to trixie and rebooting after… And i see that you doesn’t to have in your boot or udev a mechanism to keep old interface names…

But i am not sure of that, do you face some issue on that during the 11->12 upgrade ?

Ce rpi est relativement neuf, il n’a connu que Yunohost 12 :wink:

Sur mon VPS (il y déjà connu des upgrade de version de yunohost)

cat /etc/network/interfaces /etc/network/interfaces.d/\*
cat /etc/netplan/\*
cat /etc/systemd/network/\*

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/\*
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens4
iface ens4 inet dhcp

# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:

# network: {config: disabled}

auto lo
iface lo inet loopback

auto ens3
iface ens3 inet dhcp
iface ens3 inet6 static

address aa:bb:cc:dd:ee:ff

netmask 128

post-up /sbin/ip -6 route add aa:bb:cc:dd:ee:ff dev ens3

post-up /sbin/ip -6 route add default via aa:bb:cc:dd:ee:ff dev ens3

pre-down /sbin/ip -6 route del default aa:bb:cc:dd:ee:ff dev ens3

pre-down /sbin/ip -6 route del aa:bb:cc:dd:ee:ff dev ens3
cat: '/etc/netplan/*': No such file or directory
cat: '/etc/systemd/network/*': No such file or directory
root@cbiot:\~# systemctl status networking
systemctl status systemd-network
systemctl status systemd-resolved
systemctl status NetworkManager
ip -br link show |cut -d" " -f1
grep -i "net.ifnames" /boot/grub/grub.cfg
cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/\[0-9a-f:\]{17}/aa:bb:cc:dd:ee:ff/"
yunohost --version
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: e>
Active: active (exited) since Mon 2026-07-20 11:49:43 CEST; 2 months 6 day>
Docs: man:interfaces(5)
Main PID: 839 (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 9249)
Memory: 3.8M
CPU: 5.042s
CGroup: /system.slice/networking.service
└─615 dhclient -4 -v -i -pf /run/dhclient.ens3.pid -lf /var/lib/dh>

Sep 25 01:58:14 XXXX.fr dhclient\[615\]: suspect value in domain_search option ->
Sep 25 01:58:14 XXXX.fr dhclient\[615\]: Error printing text.
Sep 25 01:58:14 XXXX.fr dhclient\[615\]: bound to XX.YY.ZZ.AA -- renewal in 33>
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: DHCPREQUEST for XX.YY.ZZ.AA  on ens3 t>
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: DHCPACK of XX.YY.ZZ.AA  from XX.YY.ZZ>
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: suspect value in domain_search option ->
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: suspect value in domain_search option ->
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: Error printing text.
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: Error printing text.
Sep 25 11:23:29 XXXX.fr dhclient\[615\]: bound to XX.YY.ZZ.AA -- renewal in 33>
Unit systemd-network.service could not be found.
Unit systemd-resolved.service could not be found.
Unit NetworkManager.service could not be found.
lo
ens3
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory
yunohost:
repo: stable
version: 12.1.41.2
yunohost-admin:
repo: stable
version: 12.1.15
yunohost-portal:
repo: stable
version: 12.1.2
moulinette:
repo: stable
version: 12.1.4
ssowat:
repo: stable
version: 12.1.1

Si ça peut aider au dev de l’upgrade :wink:

Homeserver

cat /etc/network/interfaces /etc/network/interfaces.d/* 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp1s0
auto enp1s0

iface enp1s0 inet static
 address 192.168.1.19
 netmask 255.255.255.0
 gateway 192.168.1.1

:~# systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Mon 2026-07-20 04:24:47 CET; 2 months 6 days ago
       Docs: man:interfaces(5)
   Main PID: 785 (code=exited, status=0/SUCCESS)
        CPU: 259ms

juil. 20 04:24:44 ***.me systemd[1]: Starting networking.service - Raise network interfaces...
juil. 20 04:24:47 **.me ifup[689]: ifup: waiting for lock on /run/network/ifstate.enp1s0
juil. 20 04:24:47 *****me systemd[1]: Finished networking.service - Raise network interfaces.
:~# systemctl status systemd-network
Unit systemd-network.service could not be found.
:~# systemctl status NetworkManager
Unit NetworkManager.service could not be found.
:~# ip -br link show |cut -d" " -f1
lo
enp1s0
wlp2s0
:~# grep -i "net.ifnames" /boot/grub/grub.cfg
:~# cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
cat: /etc/udev/rules.d/70-persistent-net.rules: Aucun fichier ou dossier de ce type
:~# yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

Kimsufi

cat /etc/network/interfaces /etc/network/interfaces.d/* 
cat /etc/netplan/* 
cat /etc/systemd/network/*
cat: /etc/network/interfaces: No such file or directory
cat: '/etc/network/interfaces.d/*': No such file or directory
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        eno1:
            accept-ra: false
            addresses:
            - ****:****:****:****::1/128
            dhcp4: true
            gateway6: ****:****:****:****:ff:ff:ff:ff
            match:
                macaddress: **:**:**:**:**:**
            routes:
            -   to: ****:****:****:****:ff:ff:ff:ff/128
                via: '::'
            set-name: eno1
cat: '/etc/systemd/network/*': No such file or directory
:~# systemctl status networking
Unit networking.service could not be found.
:~# systemctl status systemd-network
systemctl status systemd-resolved
Unit systemd-network.service could not be found.
Unit systemd-resolved.service could not be found.
:~# systemctl status NetworkManager
Unit NetworkManager.service could not be found.
:~# ip -br link show |cut -d" " -f1
lo
eno1
eno2
:~# grep -i "net.ifnames" /boot/grub/grub.cfg
:~# cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory
:~# yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

Interesting

cat /etc/network/interfaces /etc/network/interfaces.d/* 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens18
iface ens18 inet dhcp
# This is an autoconfigured IPv6 interface
iface ens18 inet6 auto
cat: '/etc/network/interfaces.d/*': Aucun fichier ou dossier de ce type
cat /etc/netplan/* 
cat: '/etc/netplan/*': Aucun fichier ou dossier de ce type
cat /etc/systemd/network/*  
cat: '/etc/systemd/network/*': Aucun fichier ou dossier de ce type
systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Mon 2026-08-24 23:05:18 CEST; 1 month 1 day ago
       Docs: man:interfaces(5)
   Main PID: 682 (code=exited, status=0/SUCCESS)
        CPU: 111ms

août 24 23:05:18 me.ynh.fr systemd[1]: Starting networking.service - Raise network interfaces...
août 24 23:05:18 me.ynh.fr systemd[1]: Finished networking.service - Raise network interfaces.
systemctl status systemd-network
Unit systemd-network.service could not be found.
systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.
systemctl status NetworkManager
Unit NetworkManager.service could not be found.
ip -br link show |cut -d" " -f1
lo
ens18

grep -i “net.ifnames” /boot/grub/grub.cfg return nothing.

cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
cat: /etc/udev/rules.d/70-persistent-net.rules: Aucun fichier ou dossier de ce type

yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

Thanks for your hard work :clap:

On a proxmox VM

(nope means no files)

cat /etc/network/interfaces /etc/network/interfaces.d/*

This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
allow-hotplug ens18
iface ens18 inet static
address 192.168.20.11
netmask 255.255.255.0
gateway 192.168.20.1
cat: ‘/etc/network/interfaces.d/*’: Aucun fichier ou dossier de ce type

cat /etc/netplan/*
nope

cat /etc/systemd/network/*
nope

systemctl status networking
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Wed 2026-09-23 20:45:22 CEST; 2 days ago
Docs: man:interfaces(5)
Main PID: 635 (code=exited, status=0/SUCCESS)
CPU: 35ms
Warning: some journal files were not opened due to insufficient permissions.

systemctl status systemd-network
nope

systemctl status systemd-resolved
nope

systemctl status NetworkManager
nope

ip -br link show |cut -d" " -f1
lo
ens18

nope

cat /etc/udev/rules.d/70-persistent-net.rules | sed -E “s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/”
nope

yunohost --version
yunohost:
repo: stable
version: 12.1.41.2
yunohost-admin:
repo: stable
version: 12.1.15
yunohost-portal:
repo: stable
version: 12.1.2
moulinette:
repo: stable
version: 12.1.4
ssowat:
repo: stable
version: 12.1.1

Homeserver

cat /etc/network/interfaces /etc/network/interfaces.d/* 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s31f6
iface enp0s31f6 inet dhcp
# This is an autoconfigured IPv6 interface
iface enp0s31f6 inet6 auto
cat: '/etc/network/interfaces.d/*': No such file or directory
cat /etc/netplan/*
cat: '/etc/netplan/*': No such file or directory

cat /etc/systemd/network/*
cat: '/etc/systemd/network/*': No such file or directory

systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Sun 2026-09-20 23:50:57 CEST; 6 days ago
       Docs: man:interfaces(5)
    Process: 501 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
    Process: 642 ExecStart=/bin/sh -c if [ -f /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment --allow=hotplug; fi (code=>
   Main PID: 642 (code=exited, status=0/SUCCESS)
        CPU: 59ms

Sep 20 23:50:57 xxx.fr systemd[1]: Starting networking.service - Raise network interfaces...
Sep 20 23:50:57 xxx.fr systemd[1]: Finished networking.service - Raise network interfaces.
ip -br link show |cut -d" " -f1
lo
enp0s31f6
tun0
yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

Kimsufi

cat /etc/network/interfaces /etc/network/interfaces.d/*
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The normal eth0
allow-hotplug eth0
iface eth0 inet dhcp

# Additional interfaces, just in case we're using
# multiple networks
allow-hotplug eth1
iface eth1 inet dhcp

allow-hotplug eth2
iface eth2 inet dhcp

# Set this one last, so that cloud-init or user can
# override defaults.
source /etc/network/interfaces.d/*

auto eno1
allow-hotplug eno1
iface eno1 inet static
    address XXX.XXX.XXX.XXX
    netmask 255.255.255.0
    gateway XXX.XXX.XXX.254

iface eno1 inet6 static
    address 2001:41d0:2:b1dc::1
    netmask 128
    post-up /sbin/ip -f inet6 route add 2XXX:XXXX:X:XXXX:XX:XX:XX:XX dev eno1; /sbin/ip -f inet6 route add default via 2XXX:XXXX:X:XXXX:XX:XX:XX:XX
    pre-down /sbin/ip -f inet6 route del 2XXX:XXXX:X:XXXX:XX:XX:XX:XX dev eno1; /sbin/ip -f inet6 route del default via 2XXX:XXXX:X:XXXX:XX:XX:XX:XX
auto lo
iface lo inet loopback

cat: '/etc/netplan/*': No such file or directory
root@linux07:~# cat /etc/systemd/network/*
cat: '/etc/systemd/network/*': No such file or directory
systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Sat 2026-06-20 23:54:00 CEST; 3 months 6 days ago
       Docs: man:interfaces(5)
   Main PID: 939 (code=exited, status=0/SUCCESS)
        CPU: 46ms

Notice: journal has been rotated since unit was started, output may be incomplete.
ip -br link show |cut -d" " -f1
lo
eno1
cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eno1"
yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1

VM Proxmox

cat /etc/network/interfaces /etc/network/interfaces.d/* 
cat: /etc/network/interfaces: No such file or directory
cat: '/etc/network/interfaces.d/*': No such file or directory

cat /etc/netplan/* 
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        eth0:
           addresses:
             - XXX.XX.XX.XX/24
           nameservers:
             search:
             - domain.tld
             addresses:
             - 127.0.0.1
           routes:
             - to: default
               via: XXX.XX.XX.X
           match:
                macaddress: xx:XX:XX:XX:XX:XX
           set-name: eth0
systemctl status networking
Unit networking.service could not be found.

systemctl status systemd-network
Unit systemd-network.service could not be found.

systemctl status NetworkManager
Unit NetworkManager.service could not be found.

systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.

ip -br link show |cut -d" " -f1
lo
eth
yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1
~$ cat /etc/network/interfaces /etc/network/interfaces.d/* 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5)

# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback


# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

# control-alias eth0
iface eth0 inet6 static
    address xxxx:xxxx:xxxx:xxxx::1/64
    dns-nameservers xxxx:xxxx:xxxx::add:1 xxxx:xxx:xxxx::add:2
    gateway xxxx::1

~$ cat /etc/netplan/*
cat: '/etc/netplan/*': No such file or directory

~$ cat /etc/systemd/network/*
cat: '/etc/systemd/network/*': No such file or directory

~$ systemctl status networking
systemctl status systemd-network
systemctl status systemd-resolved
systemctl status NetworkManager
ip -br link show |cut -d" " -f1
grep -i "net.ifnames" /boot/grub/grub.cfg
cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
yunohost --version
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Sat 2026-09-05 23:02:10 UTC; 3 weeks 1 day ago
       Docs: man:interfaces(5)
   Main PID: 887 (code=exited, status=0/SUCCESS)
      Tasks: 1 (limit: 4529)
     Memory: 2.1M
        CPU: 1.941s
     CGroup: /system.slice/networking.service
             └─631 dhclient -4 -v -i -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0

Warning: some journal files were not opened due to insufficient permissions.
Unit systemd-network.service could not be found.
Unit systemd-resolved.service could not be found.
Unit NetworkManager.service could not be found.
lo
eth0
grep: /boot/grub/grub.cfg: Permission denied
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
Error: yunohost command must be run as root or with sudo.

~$ sudo grep -i "net.ifnames" /boot/grub/grub.cfg
Empty result

:~$ sudo yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

Hello,
My set-up is a pure debian install with Yunohost on the top, following carefully the documentation at On top of Debian | Yunohost
But Yunohost was installed on 2018 and since then has been updated/upgraded through Yunohost migration tools.
So you may know better than I what tools Yunohost is using to configure network :smile: !
All the best :waving_hand:

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug enp2s0
iface enp2s0 inet dhcp

cat: '/etc/network/interfaces.d/*': No such file or directory

cat: '/etc/netplan/*': No such file or directory

cat: '/etc/systemd/network/*': No such file or directory

In fact we don’t, cause you made an install “on top of debian”. If you have done it with iso or arm image, we could deduce some info, but with the “on top of debian” method it depends how you get the debian (debian VPS ? debian install from iso ? ).

Yunohost doesn’t manage ethernet network. It manages firewall, dns resolver, VPN and hotspots apps.

The goal here is to see if we should do something on managing ethernet network (or wifi) and see if during the migration some people could loose network access due to the migration to predictable interface name (it was already an issue in 11->12 migration). The difficulty is

  • with VPS provider, cause they use different tips to manage this problem
  • and users who already had the problem and solved it by doing some conf to keep ethX interface name

Here the results :

cat /etc/network/interfaces /etc/network/interfaces.d/*
cat /etc/netplan/*
cat /etc/systemd/network/*
source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
post-up ip a a fe80::42:acab/128 dev eth0
cat: '/etc/netplan/*': No such file or directory
systemctl status networking
systemctl status systemd-network
systemctl status systemd-resolved
systemctl status NetworkManager
ip -br link show |cut -d" " -f1
grep -i "net.ifnames" /boot/grub/grub.cfg
cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
yunohost --version
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Tue 2026-09-15 16:44:54 BST; 2 weeks 0 days ago
       Docs: man:interfaces(5)
   Main PID: 1033 (code=exited, status=0/SUCCESS)
        CPU: 35ms

Sep 15 16:44:39 lozach.eu systemd[1]: Starting networking.service - Raise network interfaces...
Sep 15 16:44:39 lozach.eu ifup[682]: ifup: waiting for lock on /run/network/ifstate.eth0
Sep 15 16:44:54 lozach.eu systemd[1]: Finished networking.service - Raise network interfaces.
Unit systemd-network.service could not be found.
Unit systemd-resolved.service could not be found.
Unit NetworkManager.service could not be found.
lo
eth0
wlan0
tun0
br-36d42e68853f
docker0
grep: /boot/grub/grub.cfg: No such file or directory
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1

I would add that I use openVpn (through FND VPN service) to manage my connection and have my domain connect to this ip. It allows me to have a dedicated ip even ìf I move my server and bypass the box port restriction and also not having my home ip exposed.

cat /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eno1
iface eno1 inet dhcp

systemctl status networking

● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Sat 2026-08-15 16:49:01 CEST; 1 month 15 days ago
Docs: man:interfaces(5)
Main PID: 679 (code=exited, status=0/SUCCESS)
CPU: 23ms

Warning: some journal files were not opened due to insufficient permissions.

ip -br link show |cut -d" " -f1

lo
eno1

yunohost --version

yunohost:
repo: stable
version: 12.1.41.2
yunohost-admin:
repo: stable
version: 12.1.15
yunohost-portal:
repo: stable
version: 12.1.2
moulinette:
repo: stable
version: 12.1.4
ssowat:
repo: stable
version: 12.1.1

Hi,

Here are the output of the commands on my home server.

nicolas@f:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp3s0
iface enp3s0 inet dhcp
# This is an autoconfigured IPv6 interface
iface enp3s0 inet6 auto


nicolas@f:~$ cat /etc/network/interfaces.d/*
cat: '/etc/network/interfaces.d/*': No such file or directory


nicolas@f:~$ systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Thu 2026-09-24 19:06:00 CEST; 6 days ago
       Docs: man:interfaces(5)
   Main PID: 798 (code=exited, status=0/SUCCESS)
        CPU: 22ms

Warning: some journal files were not opened due to insufficient permissions.


nicolas@f:~$ systemctl status systemd-network
Unit systemd-network.service could not be found.


nicolas@f:~$ systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.


nicolas@f:~$ systemctl status NetworkManager
Unit NetworkManager.service could not be found.


nicolas@f:~$ ip -br link show |cut -d" " -f1
lo
enp3s0
wlp4s0


nicolas@f:~$ grep -i "net.ifnames" /boot/grub/grub.cfg
grep: /boot/grub/grub.cfg: Permission denied


nicolas@f:~$ sudo grep -i "net.ifnames" /boot/grub/grub.cfg


nicolas@f:~$ cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory


nicolas@f:~$ sudo yunohost --version
yunohost:
  repo: stable
  version: 12.1.41.2
yunohost-admin:
  repo: stable
  version: 12.1.15
yunohost-portal:
  repo: stable
  version: 12.1.2
moulinette:
  repo: stable
  version: 12.1.4
ssowat:
  repo: stable
  version: 12.1.1

Mon serveur a été initialisé par le vendeur de la machine avec YunoHost 12.x. Je ne sais pas quelle procédure exacte a été utilisée. J’avais fourni le lien de l’installation de YunoHost au vendeur.

J’ai fait les upgrades à l’aide de l’interface WEB de YunoHost.

Nicolas

Worth the effort beyond the recommended pre-reboot detection?
Typical problem?: After a hyped change got pushed through, it becomes clear the advertised solution “predictable network name” isn’t predictable at all? (no universal solution at all?)

It replaces a potential ordering uncertaincy with plugable network adpaters accross reconfigurations, with a general naming uncertaincy for network adapters accross installs and hardware/software types?

In containers e.g., there isn’t any network setup, so there is nothing do for yunohost to support anyway (as naming depends on the containering software).

Interestingly, containers seem to allow to steer clear from these pitfalls to some extend (5. Issues to be aware of for trixie — release-notes documentation) and from the “teaching/using of MS systemd/linux” as a fix to whatever currently hyped problem that never broadly existed traps (instead of using and improving the modular and universal GNU/Linux “unix” shell tool philosophy to fix the problem [by persisting the initial names (enumeration order) by default]).

it’s predictable, but yunohost doesn’t manage the network config , so even if we could deduce the new interface name, it’s not enough to update network configuration in a secure way.

cat /etc/network/interfaces /etc/network/interfaces.d/* 

source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0

  iface eth0 inet static
      address nnn.nnn.nnn.nnn/24
      gateway nnn.nnn.nnn.1

  iface eth0 inet6 static
#      address EX-SERVEUR-IPv6/64
      address ACTUAL-SERVER-IPv6/64
#      gateway EX-GETWAY-IPv6
       gateway ACTUAL-GATEWAY-IPv6
# iface eth0 inet dhcp
#   post-up ip a a ffff::ffff:acab/128 dev eth0
# Here I let the acab, cause I saw another one and it make me laugh and happy. I love IPv6 for that kind of stuff.


cat /etc/netplan/* 
cat: '/etc/netplan/*': No such file or directory

cat /etc/systemd/network/* 
NOTHING



sudo systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Tue 2026-09-29 18:29:44 CEST; 1 day 18h ago
       Docs: man:interfaces(5)
   Main PID: 1238 (code=exited, status=0/SUCCESS)
        CPU: 36ms

Sep 29 18:29:39 DOMAIN.TLD systemd[1]: Starting networking.service - Raise network interfaces...
Sep 29 18:29:39 DOMAIN.TLD ifup[715]: ifup: waiting for lock on /run/network/ifstate.eth0
Sep 29 18:29:44 DOMAIN.TLD systemd[1]: Finished networking.service - Raise network interfaces.


sudo systemctl status systemd-network
Unit systemd-network.service could not be found.


sudo systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.


sudo systemctl status NetworkManager
Unit NetworkManager.service could not be found.


ip -br link show |cut -d" " -f1
lo
eth0
wlan0



sudo grep -i "net.ifnames" /boot/grub/grub.cfg
grep: /boot/grub/grub.cfg: No such file or directory
sudo grep -i "net.ifnames" /boot/firmware/grub/grub.cfg
grep: /boot/firmware/grub/grub.cfg: No such file or directory



cat /etc/udev/rules.d/70-persistent-net.rules | sed -E "s/[0-9a-f:]{17}/aa:bb:cc:dd:ee:ff/"
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory



sudo yunohost --version
yunohost: 
  repo: stable
  version: 12.1.41.2
yunohost-admin: 
  repo: stable
  version: 12.1.15
yunohost-portal: 
  repo: stable
  version: 12.1.2
moulinette: 
  repo: stable
  version: 12.1.4
ssowat: 
  repo: stable
  version: 12.1.1


Thank you and affection.