From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 23:52:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A873106566B for ; Sat, 23 Jul 2011 23:52:14 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 386A78FC08 for ; Sat, 23 Jul 2011 23:52:13 +0000 (UTC) Received: from [192.168.1.18] (unknown [178.33.164.134]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id 259F33DD075 for ; Sun, 24 Jul 2011 01:49:04 +0200 (CEST) Message-ID: <4E2B5EC1.2@dichotomia.fr> Date: Sun, 24 Jul 2011 01:52:33 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4E23989F.7010701@gmail.com> <4e242fab.s4vpgxxZEUq0LFDq%perryh@pluto.rain.com> <1311017168.44397.YahooMailRC@web36508.mail.mud.yahoo.com> <13800_1311018255_4E248D0F_13800_81_1_D9B37353831173459FDAA836D3B43499C521864F@WADPMBXV0.waddell.com> <20110718162245.0d426239@scorpio> <20110719032131.GA29635@guilt.hydra> <20110719085529.1671ec7f@scorpio> <20110722105642.d21067c0.freebsd@edvax.de> <20110722125826.GA73065@guilt.hydra> <20110722110540.6105ccc9@scorpio> <20110723215807.GA78426@guilt.hydra> <4E2B4A46.6060603@cran.org.uk> In-Reply-To: <4E2B4A46.6060603@cran.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Sun, 24 Jul 2011 01:49:05 +0200 (CEST) Subject: Re: Lennart Poettering: BSD Isn't Relevant Anymore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2011 23:52:14 -0000 On 24/07/2011 00:25, Bruce Cran wrote: > On 23/07/2011 22:58, Chad Perrin wrote: >> Do you realize that MS Windows has nothing equivalent to rc.conf or >> /etc/network/interfaces? > > It does: it's in the registry. > HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces > contains a list of interfaces and their settings. Yeap, just a small detail, it doesn't bind the configuration to a device, but to a connection interface, which in turn is bound either to a control interface or to another service interface. Which in turns can be bound either to a final control interface, to another service interface or even to another connection interface. All these bearing names in form of their class id + uid : {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} You basically turn around in circle for hours, looking for the next clue, if you do not use windows tools to do the job. Sure you can write WSH/WPS to do the mapping for you, but that is still using windows tools. And I definitly would not edit those manually except for very simple changes, the imbrication of layers of control sets/interfaces/devices can result in unexpected results (for example in the likely case where you have a firewall, a tunnel, a VPN or anything at all also using the interface you are editing). I remember crying tears of blood when I had to remove (not disable, destroy) from one tunnel connection all the 7 different version of IPv6 windows put on each and every network interface. > > %SystemRoot%\System32\drivers\etc contains several BSD configuration > files for DNS settings, protocols etc. >