From owner-freebsd-current@FreeBSD.ORG Tue Jul 29 05:01:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CE3F37B401 for ; Tue, 29 Jul 2003 05:01:40 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1987043F75 for ; Tue, 29 Jul 2003 05:01:39 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h6TC1aYc067659; Tue, 29 Jul 2003 14:01:36 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h6TC1alH7324842; Tue, 29 Jul 2003 14:01:36 +0200 (MES) Date: Tue, 29 Jul 2003 14:01:36 +0200 (CEST) From: Martin Blapp To: Dominic Mitchell In-Reply-To: <20030729115106.GA45515@ppe.happygiraffe.net> Message-ID: <20030729140001.J25188@cvs.imp.ch> References: <20030729094308.L41136@cvs.imp.ch> <20030729115106.GA45515@ppe.happygiraffe.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: STEP 2, fixing dhclient behaviour with multiple interfaces X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 12:01:40 -0000 Hi, > > can access dhclient (or dhcpd) on the local machine without authentification. > > You can get omshell working without auth over tcp/ip - I managed this > today when playing. But a unix domain socket would be nicer because the > dhclient server binds to INADDR_ANY by default. Cool. Do you have any pointers for me to try ? Little example etc ? > At present, dhclient gets given a list of interfaces at startup-time. > Would it be better to start it in "no-interfaces" mode (-n -w) and > dynamically add /all/ interfaces using omshell? Exactly. Starting dhclient as a daemon without any interfaces. And just use omshell to add/remove interfaces. > Another (loosely related) thing is that we should be able to use omshell > to tell dhclient to pause before going into suspend. This is hinted at > in the dhclient man page, but it would be good to get it into the > standard infrastructure. Yup, that makes sence. Martin