Created at:

Modified at:

Debian networking

Network configuration under Debian

On Debian, all network management is made by a process called "NetworkManager". Its configuration can be found in /etc/network/interfaces. Here is an example of this file:

    # 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 eth0 lo
    iface lo inet loopback

    iface eth0 inet static

The auto keyword is important if you want the interfaces, after it, be configured automatically at booting. If you remove it, you will need to configure the interface automatically executing the following command: ifup eth0.

== apt Behing Proxy

Before calling apt-get, set the proxy in the http_proxy env var::

    export http_proxy=

Don't forget that it is not necessary to call sudo before it. sudo (AFAIK) uses the environment var of the shell it was called from.

If more than one user needs to use http proxy for apt-get, it might be a good idea to include the above line in the /etc/profile file.

apt-get thru proxy

SIOADDRT: no such process error


When configuring your network, you might get this error::

    SIOADDRT: no such process

It happens if your route is in a network that cannot be reached because of the network mask your are using. For example, you configured your machine with address, netmask and gateway See that gateway and address are in different networks. It can also happen in route configuration with the route(8) command because of the same reason.


Try putting both address and gateway in the same network and restart your network configuration.

Solution to SIOCADDRT no such process on Ubuntu