Gentoo Archives: gentoo-ppc-dev

From: "Erik R. Jensen" <erikrj@×××××××××.com>
To: gentoo-ppc-dev@g.o
Subject: Re: [gentoo-ppc-dev] Suggestions for net rc scripts
Date: Tue, 07 Oct 2003 01:51:37
Message-Id: 33001.129.123.64.145.1065491495.squirrel@webmail.netradius.com
In Reply to: Re: [gentoo-ppc-dev] Suggestions for net rc scripts by Luca Barbato
1 >> That being done, the Gentoo net configuration still lacks something I
2 >> wish
3 >> it had: a way to handle multiple sets of networking settings, as the
4 >> 'location' setting in OS X does. As it is, I use multiple runlevels
5 >> (similar to what's described at
6 >> http://www.desertsol.com/~kevin/ppc/#network),
7 >> and a simple shell script to switch locations. Doing this, I have a way
8 >> to
9 >> issue the appropriate iwconfig commands for each location: I put them
10 >> in my
11 >> runlevel-switching shell script.
12 >>
13 >> This makes me wonder: since we're thinking about messing with the
14 >> net.ethX
15 >> script, could multiple locations be included somehow? If so, how might
16 >> this
17 >> be done?
18
19 I just wanted to interject I have written a small python application that
20 handles multiple sets of network settings called NetMonkey. It acts as a
21 wrapper around the distribution's network tools and configuration files.
22 It can also interact with the wireless-tools, namely iwconfig to setup
23 wirless card settings. It currently works on gentoo and I was going to add
24 debian support later next week.
25
26 I created it because I needed a fast way to switch networks without
27 editing /etc/conf.d/net and messing with iwconfig trying to remeber wep
28 keys. I was also really bored. If anyone is intersted I have it in cvs and
29 can it can be downloaded via viewcvs at:
30
31 https://dev.netradius.com/0xf00/viewcvs.cgi/NetMonkey/
32
33 It works for what I need right now, but I it may not be robust enough for
34 others. I am always up for ideas and new features to add.
35
36 Erik R. Jensen
37
38 --
39 gentoo-ppc-dev@g.o mailing list