I have HP Pavilion dv6000 laptop with openSUSE 11 and I use it in my office and home with different network settings. The problem is whenever I start/boot/reboot my laptop the changes I have made in /etc/resolv.conf get lost.
Is there any solution for it so that the entries persist until I change it manually
How do you changing your network settings? Are your private/work network use DHCP? You could write two simple scripts in bash, named i.e. work.sh and home.sh place them in /usr/local/bin, chmod 755 them, and execute as you need. It all depends on your networks settings.