On my setup the network connect but does find the DNS that I use. How do I change the network so it will connect to my main DNS and a alterntive DNS?
Thanks
Moderator: Moderators
WarraWarra wrote:As root in terminal
net-setup
and follow the options then once complete
ifconfig.
If this does not do it the
nano -w /etc/resolv.conf
Should be "nameserver 112.233.344.455" or similar and replace with yours.
pleo wrote:I hate to steal a thread, but this seemed a good place to ask and as the previous question had been satisfactorily answered I thought that it wouldn't be a big deal.
I have already set up my DNS as noted above, however it would appear that NetworkManager is rewriting it on either boot or shutdown (I'm guessing boot) and as a consequence my DNS information is no longer present in resolv.conf and so needs to be manually added every time when I restart. I was wondering if there was a way to stop this from happening short of writing a script to automate the re=writing of resolv.conf
tuxp wrote:
Could someone please translate? I have the same problem.
$ killall NetworkManager
$ rc-update del NetworkManager
$ ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
$ rc-update add net.eth0 default
$ gedit /etc/resolv.conf (e aggiungi la riga)
$ emerge -c knetworkmanager
[/quote]$ dhcpcd eth0
$ /etc/init.d/net.eth0 start
Return to Networking and Wireless
Users browsing this forum: No registered users and 2 guests