How can I change the DNS server command because every time I restart my computer I have to write this in the terminal: sudo gedit /etc/resolv.conf
on 02/13/2010 – Made popular on 02/13/2010
During OS installation, I created only one account. Let's call it howdy. I thought it would have sudo privileges but I was wrong.
I scoured the internet and this forum to find out how to add howdy to the sudoers' list. I was under the impression that usermod -a -G sudo username would work. I opened a root terminal and issued the command.
Hello, im running server 12.4 LTS on an old pc. I can get the static ip working after i add the "nameserver xxx.xxx.xxx.xxx" to /etc/resolv.conf But after a reboot my resolv.conf file is over written and my internet connecgion does not work. I can still ssh to it, change the resolv.conf file and restart my interfaces but id rather it work from boot up.
I'm trying to change the resolv.conf but changes are not affected after I reboot the Ubuntu 14.04 LTS server.
I'm using the static ip address for my eth1 and I removed " domain-name-servers and domain-search" from /etc/dhcp/dhclient.conf.
I did change in /etc/resolvconf/resolv.conf.d/base. But changes will not effect after I reboot my machine.
My friend Jason use ADSL and his Ubuntu9.10 machine can not connect to internet with the default network-manager come with Ubuntu 9.10.Everytime the machine startup,he need to type pppoeconf command and configure to access to internet.Here is how to fix this problem in Ubuntu 9.10.
Step1:Update Network Manager to the latest version from PPA