Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2017 19:25:22 +0100
From:      Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM>
To:        Supervision <supervision@list.skarnet.org>, Debian users <debian-user@lists.debian.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Archnosh 1.35 networking
Message-ID:  <7b3f64d0-1bed-4dad-c9db-75e6f39bab36@NTLWorld.COM>
In-Reply-To: <20170831222647.19f1a5c1@kadisius>
References:  <20170831222647.19f1a5c1@kadisius>

next in thread | previous in thread | raw e-mail | index | archive | help
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 %




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b3f64d0-1bed-4dad-c9db-75e6f39bab36>