MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need some help. I run Mandriva 2006 and I use a wireless network sometimes and other times a wired network. They are different networks. Every time I change the resolv.conf file to match what I need, it keeps changing back to the default.
There's a command you can put into /etc/rc.inet1.conf which will tell the thing NOT to change the resolv.conf (this is particular to DHCP but might work otherwise too, though I suspect your wireless is DHCP anyways). Try adding this to rc.inet1.conf: DHCP_KEEPRESOLV="yes"
Does it help?
PS - if for example you have a [2] or a [1] or whatever, indicating the connection affecting the resolv.conf file, then put the same on the line I gave, so: DHCP_KEEPRESOLV[1]="yes"
Last edited by GrapefruiTgirl; 05-25-2007 at 04:56 PM.
OK, perhaps it is named differently on your distribution. If you can locate a networking config file with information in it similar to the above, you would have the correct file.
I hope this helps.
Edit - poke around in /etc/sysconfig/<networking_files>
Last edited by GrapefruiTgirl; 05-25-2007 at 09:09 PM.
Actually, I think I found a good solution. My networks do not require DHCP so I disabled VMware services and removed my wireless network card and I deleted all of my interfaces. Then I put my wireless network card back in and I went through the network creation wizard I now I have no problems. I think when I configure VMware and my other network it will do it again so I'll try that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.