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

Sometimes you will want to manually configure networking. This has the advantage that it does not depend on D-Bus and does not require a network manager.

Wired connections

Wired connections can be managed by configuring them in the interfaces configuration 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

Static network configuration

If you need static network configuration, adjust this to suit your interface name and network.

auto eth0
iface eth0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        gateway 192.168.1.1

Wireless connections

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

Edit the interfaces file to setup 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.