On Saturday 16 September 2006 04:27, kernel.2k5 wrote:
Hi james ,
thanks fro this help i also need the same thing , but i may have some more need if u can help a great appreciation . like i am using suse_10.1
iam having one eth0 and 2 different internet connections 1.Office 2.Home
both are static ip
now i write a shell script when i logged in to home or office so run the script and it make the Network entries accordingly . but every time i need to overwrite my "resolv.conf" and gateway entries which are very different for Home and Office .
In YaST, go to System -> Profile Manager, which will let you setup SCPM, which will do exactly what you want. You will even get a tray icon that will let you switch easily. SCPM is particularly cool because any settings you change are saved to the profile any time you switch a profile. Even if you manually edit your /etc/resolv.conf or /etc/sysconfig/network/ifcfg-eth-id-* files, SCPM remembers the changes. It does the same for any daemons you run, including whether they are running or not. Hope that helps, -- James Oakley jfunk@funktronics.ca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org