From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11898 invoked by uid 1002); 7 Oct 2003 01:51:37 -0000 Mailing-List: contact gentoo-ppc-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-ppc-dev@gentoo.org Received: (qmail 27036 invoked from network); 7 Oct 2003 01:51:36 -0000 Message-ID: <33001.129.123.64.145.1065491495.squirrel@webmail.netradius.com> In-Reply-To: <3F82187C.3000205@gentoo.org> References: <20031006205447.GA17560@utoronto.ca> <3F82187C.3000205@gentoo.org> Date: Mon, 6 Oct 2003 19:51:35 -0600 (MDT) From: "Erik R. Jensen" To: gentoo-ppc-dev@gentoo.org Reply-To: erikrj@netradius.com User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: Re: [gentoo-ppc-dev] Suggestions for net rc scripts X-Archives-Salt: 2a83a1f8-b669-4468-a64f-b62773392209 X-Archives-Hash: 940e4bf127508f3c39ec85940a2596ff >> That being done, the Gentoo net configuration still lacks something I >> wish >> it had: a way to handle multiple sets of networking settings, as the >> 'location' setting in OS X does. As it is, I use multiple runlevels >> (similar to what's described at >> http://www.desertsol.com/~kevin/ppc/#network), >> and a simple shell script to switch locations. Doing this, I have a way >> to >> issue the appropriate iwconfig commands for each location: I put them >> in my >> runlevel-switching shell script. >> >> This makes me wonder: since we're thinking about messing with the >> net.ethX >> script, could multiple locations be included somehow? If so, how might >> this >> be done? I just wanted to interject I have written a small python application that handles multiple sets of network settings called NetMonkey. It acts as a wrapper around the distribution's network tools and configuration files. It can also interact with the wireless-tools, namely iwconfig to setup wirless card settings. It currently works on gentoo and I was going to add debian support later next week. I created it because I needed a fast way to switch networks without editing /etc/conf.d/net and messing with iwconfig trying to remeber wep keys. I was also really bored. If anyone is intersted I have it in cvs and can it can be downloaded via viewcvs at: https://dev.netradius.com/0xf00/viewcvs.cgi/NetMonkey/ It works for what I need right now, but I it may not be robust enough for others. I am always up for ideas and new features to add. Erik R. Jensen -- gentoo-ppc-dev@gentoo.org mailing list