Le Samedi 4 Janvier 2003 18:30, Sascha Noyes a �crit : > > However, this is not the perfect solution, as you still need loopback for > > most applications. My personal solution is to have a network profile with > > loopback only for when i'm roaming, and to switch between different > > profiles with symlinks. > > Could you give a short synopsis of how you create a netword profile, and > how you switch between different profiles with symlinks? Or maybe point me > in the way of some documentation? Sure.
Identify all files involved in a given network configuration, which means
basically:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/hosts
/etc/resolv.conf
And potentially others:
/etc/exports
/etc/rcx.d
etc...
Just rename them to name.foo, where name is original file name, and foo is
your profile name. Then use attached script to switch from a given profile to
another.
draknet also had limited support for different network profiles, but i don't
know current state.
--
No matter how good of a deal you get on computer components, the price will
always drop immediately after the purchase.
-- Murphy's Computer Laws n�7
switch-network-profile
Description: application/shellscript
