Archnosh 1.35 networking

From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups_at_NTLWorld.COM>
Date: Fri, 1 Sep 2017 19:25:22 +0100

Thomas:

> [...] the new networking documentation [...]
>
This will benefit a general readership, as well as you looking towards
Archnosh 1.35.

When you upgrade to 1.35, there will be two ways of configuring things.
You can either write a Debian-style /etc/network/interfaces file, or you
can employ a FreeBSD-like rc.conf. Both styles will work on FreeBSD,
TrueOS, Debian, and (I hope) Arch. The former you will find is
translated into the latter. For more detail on that translation
process, see the new doco. Here is an example from one of my machines.

jdebp % 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).

auto lo
iface lo inet loopback
iface lo inet static
     address 127.53.53.1
     netmask 255.0.0.0
     scope host
iface lo inet6 loopback
iface lo inet6 static
     address ::2/128
     scope host
allow-auto eth1
iface eth1 inet dhcp
iface eth1 inet6 auto
allow-auto rename2
iface rename2 inet dhcp
iface rename2 inet6 auto

jdebp % sed -ne '/etc.network.interfaces/,/console-setup:/p' /etc/system-control/convert/rc.conf
# Converted from /etc/network/interfaces:
network_interfaces="eth1 rename2 lo "
ifconfig_eth1="AUTO DHCP inet "
ifconfig_rename2="AUTO DHCP inet "
ifconfig_lo="AUTO inet 127.0.0.1 "
ifconfig_lo_ipv6="inet6 ::1 "
ifconfig_lo_aliases="inet 127.53.53.1 netmask 255.0.0.0
inet6 ::2/128"
# Converted from /etc/default/console-setup:
jdebp %
Received on Fri Sep 01 2017 - 18:25:22 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC