Jump to content

DHCP issue [solved]


Recommended Posts

On one of my systems, I have discovered a problem relating to DHCP.


Specifically, it is retriving information from the router via DHCP when it is explicitly told not to, according to the settings in the Control Center. Retrieving DNS, YV and NTPD servers via DHCP are all NOT checked, yet it is pulling in the secondary DNS server and overwriting resolv.conf even after I made that file read-only.


The issue with resolv.conf:


SEARCH has a period at the end of the domain, example: system.mandrivausers.org.

NAMESERVER (address of router - manually input in Control Center)

NAMESERVER (secondary DNS retrieved via DHCP)


I su into root, edit resolv.conf to remove the ending period in the search domain and remove the secondary DNS, since the router will query as needed, then save the file.


Everything is fine until the next system boot. Upon the next system boot, the resolv.conf is back to where it was previously as shown above, even after the file was made read-only.


If a file is made read-only, it should not have been touched, correct?


before read only:  -rw-r--r--

after read-only:  -r--r--r--


I also looked at the network settings on my other system and they are both the same. I cannot understand why the other system is working as desired (without having to fiddle with resolv.conf), yet on this system, it continues to overwrite my changes.


Any help is appreciated, thank you.

Edited by edwardp
Link to comment
Share on other sites

There's no real way to convert filesystems as such, but if you have space, easy enough to create a partition, copy the data across, and then ensure it uses this after a reboot, then you can delete the old partition, and allocate this space for something else, etc.


Or move the data back after creating a partition with the new file system in the space that's just been freed up, and then copying it back again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...