Date: Sun, 24 Jul 2011 01:52:33 +0200 From: Jerome Herman <jherman@dichotomia.fr> To: freebsd-questions@freebsd.org Subject: Re: Lennart Poettering: BSD Isn't Relevant Anymore Message-ID: <4E2B5EC1.2@dichotomia.fr> In-Reply-To: <4E2B4A46.6060603@cran.org.uk> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E2B5EC1.2>