Devuan GNU+Linux is a free software operating system for your computer. Free software means you are free to use, copy and distribute, study, change the software, and share your modifications with the community.

Network configuration

This document provides generic instructions for configuring the network when migrating from Debian to Devuan.

When migrating you can choose between using a network manager or configuring the network manually.

Manual configuration has the advantage of not requiring dbus or a network manager. For remote migrations you should always use manual network configuration or you will very likely lose network access during migration.

Using a network manager has the advantage of being easy to use and having a GUI interface.

Using a network manager

Several network mangers are available.

Install the chosen package.

root@debian:~# apt-get install network-manager

Manual wired network configuration

In newer Debian releases you will be presented with the counter intuitive interface names, such as ens3 so for safety add lines for your current interface name as well as the intuitive device name.

Note that after migration the Debian style interface will not be found so will simply not be configured.

Wired connections can be managed by adding configuration lines to the interfaces file.

root@debian:~# editor /etc/network/interfaces

Automatic network configuration

This will configure the network automatically whenever a link is detected. Adjust this according to your interface name if necessary.

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug ens3
iface ens3 inet dhcp

Static network configuration

Or configure the network statically.

auto eth0
iface eth0 inet static

auto ens3
iface ens3 inet static

Manual wireless network configuration

This is similar to wired networks except you will need to provided authentication details. If you need automatic network configuration, you should use a network manager.

Edit the interfaces file to configure the host on the wireless network.

root@debian:~# editor /etc/network/interfaces

Adjust the interfaces file to suit your interface and network configuration.

allow-hotplug wlan0
iface wlan0 inet dhcp
        wpa-ssid myssid
        wpa-psk mypassphrase

This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [CC BY-SA 4.0] license. All trademarks are the property of their respective owners. This work is provided “AS IS” and comes with absolutely NO warranty.

This site is free of cookies and javascript