LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Fedora network profile change problem (https://www.linuxquestions.org/questions/linux-networking-3/fedora-network-profile-change-problem-432013/)

jkaslick 04-05-2006 11:54 AM

Fedora network profile change problem
 
Eithr using the gui: Applications/System Tools/Network Device Control
or
Issuing a: system-config-network-cmd -p profilename activate

the DNS changes to the profilename but changes back to a default

DNS if the system is rebooted.

How can I make a new network profile survive a reboot or network restart?

unSpawn 04-06-2006 07:55 AM

Check if the profile you want is mentioned in /etc/sysconfig/network (CURRENT_PROFILE=). If not, set it there.
If it still keeps changing and you have ext3fs (or ext2fs), make it immutable with "chattr +i /etc/sysconfig/network".
This will break std behaviour (file is non-editable) but will keep from changing contents.

jkaslick 04-06-2006 02:45 PM

I did the chattr -i on both /etc/sysconfig/network and /etc/resolv.conf and now I can reboot with the correct DNS.

Thanks


All times are GMT -5. The time now is 01:42 PM.