DNSMASQ installed for FOG (unmodifiable DHCP server), then resolv.conf is overwritten. NO navigation
ToniCapablo last edited by
Hi all!! :)
I hope you are very well, devoloping, testing, working with the FOG solution ;) And getting crazy, too :D
For me, I am using this software for my final project of Computer Science Career (my job consists that I must able to get a FOG solution installed and working in my network). For now, I have only a simply question. The related data are below these lines. Then, I will make the question.
[INDENT=1][I]FOG Server: Ubuntu 13.10 with FOG 1.2.0[/I][/INDENT]
[INDENT=1][I]- Router/modem/gateway with DHCP server ON (unmodifiable)[/I][/INDENT]
[INDENT=1][I]- Switch to interconnect router, fog server and testing PCs[/I][/INDENT]
[INDENT=1][I]Testing PCs: Windows 7 / Linux [/I][/INDENT]
[INDENT=1][I]- This PCs would boot in order to get the PXE menu or boot locally from hard disk[/I][/INDENT]
With the help of this [B]forum[/B] and the [B]FOGProject Wiki[/B], I have finally installed and working FOG.
But for now, when I have installed [B]DNSMASQ[/B], first of all, it has disabled the correct configuration for DNS servers (besides getting the correct[I] ltsp.conf[/I] file like says the [URL=‘http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server’]Wiki[/URL].
When I shutdown the server and start again, no DNS servers are configured (besides the configuration of Network Manager in Ubuntu). If I modify the[I] /etc/resolv.conf[/I] with my DNS servers, then I have DNS servers configured and have navigation properly.
Is there a way to overwrite the DNS configuration, without modify DNSMASQ configuration?
It seems that is a problem not solved yet, I searched related posts like this [URL=‘http://www.fogproject.org/forum/threads/dnsmasq.12088/#post-39654’]one[/URL], and no solution for the moment.
Also, I have tried many solutions on the web like [URL=‘http://askubuntu.com/questions/157154/how-do-i-include-lines-in-resolv-conf-that-wont-get-lost-on-reboot’]this[/URL] or[URL=‘http://itsfoss.com/resolvconf-permanent-ubuntu/’] this [/URL]and does not work, too.
Any kind of help will be very useful. Thanks in advance,
ToniCapablo last edited by
Thank you very much Jaymes.
Finally, I deciced to install FOG as DHCP server, modifying the Ubuntu server for routing interfaces and now I think it is working well.
You need to edit /etc/resolvconf/resolv.conf.d/head and add your namservers to this file.
resolv.conf is generated, it uses the head and base files to generate. If you include your nameservers in the head or base files you stand a greater chance of the changes staying after a reboot.
You may also want to edit /etc/NetworkManager/NetworkManager.conf
and remove the line
save and restart your network and resolvconf service
sudo service resolvconf restart
sudo network-manager restart
Now your settings should stick after a reboot, and you should be able to navigate.