From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GPrHX-0002ow-OO for garchives@archives.gentoo.org; Wed, 20 Sep 2006 01:53:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8K1qg1s016707; Wed, 20 Sep 2006 01:52:42 GMT Received: from mail-ihug.icp-qv1-irony5.iinet.net.au (ihug-mail.icp-qv1-irony5.iinet.net.au [203.59.1.199]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8K1mOAl027460 for ; Wed, 20 Sep 2006 01:48:26 GMT Received: from 203-59-216-240.dyn.iinet.net.au (HELO moriah.localdomain) ([203.59.216.240]) by mail-ihug.icp-qv1-irony5.iinet.net.au with ESMTP; 20 Sep 2006 09:48:17 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.09,187,1157299200"; d="scan'208"; a="926276924:sNHT2647560796" Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 4CB8383B88 for ; Wed, 20 Sep 2006 09:48:14 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SrTrJC4v01zL for ; Wed, 20 Sep 2006 09:48:12 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 36F61820A9 for ; Wed, 20 Sep 2006 09:48:12 +0800 (WST) Subject: Re: [gentoo-user] Can the new baselayout handle multiple networks seamlessly? From: "W.Kenworthy" To: gentoo-user@lists.gentoo.org In-Reply-To: <20060920010521.40cf553f@hactar.digimed.co.uk> References: <1158706691.19961.17.camel@bunyip> <20060920010521.40cf553f@hactar.digimed.co.uk> Content-Type: text/plain Date: Wed, 20 Sep 2006 09:48:11 +0800 Message-Id: <1158716891.19961.25.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: f62ce7c0-199a-4229-8fe2-eb61f154092f X-Archives-Hash: fc58501ab62cd64d9d6537cde2d3197f If I set the NIC to DHCP as you advise, you are implying that gentoo will handle the various fixed IP's, subnets, gateways and differing vpn schemes automaticly? How can it do that? Only some of the networks (only three in fact) use DHCP. ifplugd looks interesting - possibly the best I can do will be to use ifplugd to trigger if-up and if-up will have to contain the various add ons like the vpns and service restarting with functions to detect which to run where. No relief from the nightmare I am afraid ... BillK On Wed, 2006-09-20 at 01:05 +0100, Neil Bothwick wrote: > On Wed, 20 Sep 2006 06:58:11 +0800, W.Kenworthy wrote: > > > Also, is there an integrated way to plug in a network cable and have a > > config RELIABLY recognised and trigger the necessary actions? Its not a > > good look to arrive at lecture in front of 30-50 people and struggle to > > connect to the local network, which seems par for the course for gentoo! > > emerge ifplugd, but don't try to configure it, Gentoo's networking > scripts handle that automatically. > > Set your wired interface to use DHCP and it should set itself up > automatically. If you want something else done when connecting or > disconnecting the cable, such as shutting down wireless or restarting > services, look at the preup/postup/predown/postdown functions > in /etc/conf.d/net.example. > > -- gentoo-user@gentoo.org mailing list