From owner-freebsd-hackers@freebsd.org Fri Sep 1 18:26:36 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9488E1FA7E for ; Fri, 1 Sep 2017 18:26:36 +0000 (UTC) (envelope-from j.deboynepollard-newsgroups@ntlworld.com) Received: from know-smtprelay-omc-10.server.virginmedia.net (know-smtprelay-omc-10.server.virginmedia.net [80.0.253.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 33C86835CE for ; Fri, 1 Sep 2017 18:26:35 +0000 (UTC) (envelope-from j.deboynepollard-newsgroups@ntlworld.com) Received: from [192.168.1.5] ([86.10.211.13]) by know-smtprelay-10-imp with bizsmtp id 4JRN1w00P0HtmFq01JRNN3; Fri, 01 Sep 2017 19:25:22 +0100 X-Originating-IP: [86.10.211.13] X-Authenticated-User: J.deBoynePollard-newsgroups@NTLWorld.COM X-Spam: 0 X-Authority: v=2.1 cv=SeoKDalu c=1 sm=1 tr=0 a=SB7hr1IvJSWWr45F2gQiKw==:117 a=SB7hr1IvJSWWr45F2gQiKw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=x7bEGLp0ZPQA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=89gA_nVi2DQupjHvDmAA:9 a=8hjerSVpUnQ0UbXx:21 a=paioX-cxIUvzcqAK:21 a=pILNOxqGKmIA:10 a=hww22_IDFtXdcSnDCc0A:9 a=_W_S_7VecoQA:10 Subject: Archnosh 1.35 networking References: <20170831222647.19f1a5c1@kadisius> To: Supervision , Debian users , FreeBSD Hackers From: Jonathan de Boyne Pollard Message-ID: <7b3f64d0-1bed-4dad-c9db-75e6f39bab36@NTLWorld.COM> Date: Fri, 1 Sep 2017 19:25:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20170831222647.19f1a5c1@kadisius> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 18:26:37 -0000 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 %