[arch-general] Netcfg after resume from suspend

James Rayner james at archlinux.org
Sat Jan 30 19:37:54 EST 2010


On Sun, 31 Jan 2010 00:34 +0100, fons at kokkinizita.net wrote:
> On Fri, Jan 29, 2010 at 05:00:04PM +0100, Thomas Bächler wrote:
> 
> > You should try the testing version of netcfg instead:
> > http://mirrors.kernel.org/archlinux/testing/os/any/netcfg-2.5.0rc2-1-any.pkg.tar.gz
> 
> Will this allow to specify additional routes (apart
> from GATEWAY) as well ? It's one thing I need e.g.
> at home where the gateway to the world is the ISP
> modem (192.168.1.1), but one of the machines on that
> net is also a router to second local network.

Yes. That's already available in the current [core] release too.

Have a look at /etc/network.d/examples/ethernet-iproute. You can pass an
array of iproute options. The example there only sets a static ip and
default route, but you can pass as many routes as you like.

James


More information about the arch-general mailing list