LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2011, 01:16 PM   #1
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Rep: Reputation: Disabled
How can I change the DNS in Ubuntu 10.04


I've got a wireless connection and I need to change the DNS so I can connect to the internet. I was also wondering if the DNS is the same as the WAN MAC ID our provider gave us?

Last edited by kanthas; 11-21-2011 at 01:17 PM.
 
Old 11-21-2011, 01:23 PM   #2
aazkan
Member
 
Registered: Jan 2008
Posts: 72

Rep: Reputation: 5
Quote:
Originally Posted by kanthas View Post
I've got a wireless connection and I need to change the DNS so I can connect to the internet. I was also wondering if the DNS is the same as the WAN MAC ID our provider gave us?

Hi,

Try adding

nameserver 8.8.8.8

in /etc/resolv.conf

DNS is not the same as WAN MAC ID.
 
Old 11-21-2011, 01:30 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I've got a wireless connection and I need to change the DNS so I can connect to the internet. I was also wondering if the DNS is the same as the WAN MAC ID our provider gave us?
You can set the DNS in wicd or networkmanager.
To find the DNS from your provider go to the website or give them a call.
As said before, you can use googles dns
Code:
8.8.8.8
8.8.4.4
https://code.google.com/speed/public-dns/
or open dns
Code:
208.67.222.222
208.67.220.220
https://www.opendns.com/business-sol...-dns/benefits/

Kind regards
 
Old 11-21-2011, 02:10 PM   #4
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
I tried the google link and still am having the same problem. My network connection shows a strong connection, but when I open Chrome or Firefox I get a server not found error. I think I may end up having to call Verizon and having them come out and fix it. If you have any other ideas I'd love to hear them. This is my first try with linux and I like it so much more than windows, I really don't want to go back. Thank you so much for your help!
 
Old 11-21-2011, 02:13 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Please post the output from
Code:
ping 212.100.160.51
ping google.com
nslookup google.com
Kind regards
 
Old 11-21-2011, 02:27 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I tried the google link and still am having the same problem
Did you use the dns 8.8.8.8 or just clicked the link?

Kind regards
 
Old 11-21-2011, 02:40 PM   #7
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
I used 8.8.8.8. I went through all the steps that were at the link. I'm at a different computer right now. I'll be back on the laptop in about 15 min.
 
Old 11-21-2011, 03:10 PM   #8
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
Should I put the 8.8.8.8 back in before I execute those commands?
 
Old 11-21-2011, 03:11 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
yes
 
Old 11-21-2011, 04:16 PM   #10
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
PING 212.100.160.51 (212.100.160.51) 56(84) bytes of data.
64 bytes from 212.100.160.51: icmp_seq=1 ttl=251 time=123 ms
64 bytes from 212.100.160.51: icmp_seq=2 ttl=251 time=129 ms
64 bytes from 212.100.160.51: icmp_seq=3 ttl=251 time=126 ms
64 bytes from 212.100.160.51: icmp_seq=4 ttl=251 time=129 ms
64 bytes from 212.100.160.51: icmp_seq=5 ttl=251 time=124 ms
64 bytes from 212.100.160.51: icmp_seq=6 ttl=251 time=130 ms
64 bytes from 212.100.160.51: icmp_seq=7 ttl=251 time=134 ms

ping google.com
PING google.com (72.14.204.104) 56(84) bytes of data.
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=3 ttl=252 time=18.2 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=4 ttl=252 time=11.0 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=5 ttl=252 time=14.5 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=6 ttl=252 time=17.8 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=7 ttl=252 time=10.4 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=12 ttl=252 time=11.0 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=13 ttl=252 time=14.6 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=14 ttl=252 time=18.1 ms
64 bytes from iad04s01-in-f104.1e100.net (72.14.204.104): icmp_seq=15 ttl=252 time=11.1 ms

Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
Name: google.com
Address: 72.14.204.99
Name: google.com
Address: 72.14.204.104
Name: google.com
Address: 72.14.204.105
Name: google.com
Address: 72.14.204.103
Name: google.com
Address: 72.14.204.147
 
Old 11-21-2011, 04:22 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
The connection works OK
Seems to me you need to disable ipv6 in firefox
http://thedaneshproject.com/posts/di...-in-firefox-3/

Kind regards
 
Old 11-21-2011, 04:39 PM   #12
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
Still didn't work,but I had a thought. I've been running those commands while wired to the router, should I run them wirelessly? If so, someone needs to smack me on the back of my head! :-D
 
Old 11-21-2011, 04:46 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I've been running those commands while wired to the router, should I run them wirelessly?
Yes

Kind regards
 
Old 11-21-2011, 05:01 PM   #14
kanthas
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
Sorry, I really am a newbie!

sue@sue-laptop:~$ ping 212.100.160.51
connect: Network is unreachable
sue@sue-laptop:~$ ping google.com
ping: unknown host google.com
sue@sue-laptop:~$ nslookup google.com
 
Old 11-21-2011, 05:05 PM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Please post the output from
Code:
ifconfig
iwconfig
Kind regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WEP Encryption Key:26chars_what choices must change in ubuntu 9.10 for the new change lse123 Linux - Newbie 1 03-02-2010 03:38 AM
How to change the DNS lemon09 Linux - Networking 6 01-28-2010 03:54 PM
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 10:19 PM
Ubuntu Secondary DNS for Windows AD 2003 DNS? cwhitmore Ubuntu 0 04-07-2008 12:26 PM
Change dns ip guanyu Linux - Networking 4 08-19-2003 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration