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 1GQTEF-0004dZ-KB for garchives@archives.gentoo.org; Thu, 21 Sep 2006 18:24:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8LINJka009140; Thu, 21 Sep 2006 18:23:19 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8LIGKYn001049 for ; Thu, 21 Sep 2006 18:16:20 GMT Received: by wr-out-0506.google.com with SMTP id i12so432482wra for ; Thu, 21 Sep 2006 11:16:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sx37Bl9Aj6rbT8Krl223rEnnkMYitV784jLJMPxRGRszTf4UxkrP5RfmD3bk21iDpmTEvoBI9qwVNMLoVyKIZIgpIpaN79KUyDEqtjewWq55fwRU/eDi+a5Rj+NN3/7LbKl7ihqyfolYvYuXWOEMwVAFbvLa9SaAAvnyhvEbXDQ= Received: by 10.90.27.6 with SMTP id a6mr7648515aga; Thu, 21 Sep 2006 11:16:19 -0700 (PDT) Received: by 10.90.95.19 with HTTP; Thu, 21 Sep 2006 11:16:19 -0700 (PDT) Message-ID: Date: Thu, 21 Sep 2006 11:16:19 -0700 From: "James Ausmus" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can the new baselayout handle multiple networks seamlessly? In-Reply-To: <20060920151340.4a643caf@hactar.digimed.co.uk> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1158706691.19961.17.camel@bunyip> <20060920010521.40cf553f@hactar.digimed.co.uk> <1158716891.19961.25.camel@localhost> <20060920084524.1004ea78@hactar.digimed.co.uk> <1158754885.14008.33.camel@rattus> <20060920143509.321203ab@krikkit.digimed.co.uk> <20060920151340.4a643caf@hactar.digimed.co.uk> X-Archives-Salt: 1cc41382-cfcc-4933-a323-9aae6c51b289 X-Archives-Hash: 0eaf3e7e288d6e49faac59c23cab3d12 On 9/20/06, Neil Bothwick wrote: > On Wed, 20 Sep 2006 14:35:09 +0100, Neil Bothwick wrote: > > > I haven't tried using it for this, but I wonder if RC_USE_CONFIG_PROFILE > > would help. See /etc/conf.d/rc for details but basically you set up > > different configs for different runlevels, so you could have a different > > runlevel for each situation, but make the actual runlevel directories > > symlinks to default. Selecting the runlevel on rebooting would certainly > > pick up the appropriate config, you'd have to try it to see what happens > > when switching runlevels while running. > Have you checked out net-misc/netprofiles-ims? I haven't, but it looks promising (it's only keyworded for x86 currently, dunno why, dunno what platform you're running). -James > I've run a couple of tests now, using different /etc/conf.d/net.runlevel > files. Switching runlevels on the fly doesn't cause the new configs to be > loaded, but restarting the network afterwards does. I expect this is fine > for your needs, as you are unlikely to have the network running while > between locations. Even if you are, you only need to do > > rc newrunlevel > /etc/init.d/net.eth0 restart > > to switch over. The VPN and other stuff you need to run is easily handled > in the postup() function of the relevant net.runlevel file. > > > -- > Neil Bothwick > > If this were an actual tagline, it would be funny. > > > -- gentoo-user@gentoo.org mailing list