Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Network Manual Setup

To set up networking the key file is /etc/network/interfaces. Examples of what to add to this file are included below, illustrating both DHCP for automatically obtaining network information from a server, and a manual setup.

When changes are made to the network manually, (e.g., by editing /etc/network/interfaces), restart the network with:

  # wajig restart networking

Note that to have networking started in this way you need to have auto eth0 in /etc/network/interfaces. Otherwise the start-up script /etc/init.d/networking will not start eth0. The start-up script calls ifup -a which only starts those interfaces marked as auto. You can still manually start the network with ifup eth0.

Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.