Try:
gksudo gedit /etc/resolv.conf
Then type in your dns ip as:
nameserver xxx.xxx.xxx.xxx
Then save!
Try:
gksudo gedit /etc/resolv.conf
Then type in your dns ip as:
nameserver xxx.xxx.xxx.xxx
Then save!
When youand make changes, it won't let you save and close? Please let us see the result of:Code:sudo gedit /your/config/fileCan you get to the administration pages of your router? http://192.168.2.1 perhaps? Does it have DNS addresses? If so, jot those down carefully and we'll proceed.Code:ping -c3 192.168.2.1 ping -c3 74.125.45.147 ping -c3 www.google.com
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Could not save the file /ect/resolv.conf
Unexpected error: File not found wery strange since when I see in the file exlporer, it`s there. When I had typed the code. a window opens. but there isn`t any text there. I opend the file in explorer, and there it says:
ipaddres 192.168.2.116
nameserver 192.168.0.1
ping router 192.168.2.1 ok
everything else fails.
I have not yet found a way to use the file manager in root (super user) but if you use the terminal and type
sudo gedit <file location and name>
you can save without a problem. I hope this helps
It's not ect, it's etc.sudo gedit /ect/resolv.confWhat is the address of your router? Your interfaces file says it's 192.168.2.1. /etc/resolv.conf thinks it's 192.168.0.1. If it is actually 192.168.2.1, and I think it is, because it responds to pings, then sudo gedit /etc/resolv.conf and make it look exactly like this:ipaddres 192.168.2.116
nameserver 192.168.0.1Then try the ping commands I gave you before. Let us know.Code:nameserver 192.168.2.1
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
I love copy and paste! Fortunately for me, you can copy and paste from a forum page to a terminal and from a terminal to a reply page! Saves me a lot of typing and more than a few mistakes.
Glad it's working for you.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks