LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-15-2009, 04:44 PM   #1
war10ck
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Wireless Server Connection DNS problem


Hello

I have a problem with my ubuntu 9.04 server, I put my wireless card in my server.
It recognize it and I had configured ip addresses, gateway...
But I cant'/don't know how to configured DNS to connect to internet.

I can ping my router, but I can't ping www.google.com.

I have CN-WF511 wireless card.

I also install OpenSSH server so i can connect to my server via PuTTy, it's working, but still i can only connect to router with my server not to "whole" internet.

Please help!
 
Old 07-16-2009, 03:26 AM   #2
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
Verify that your router will let this computer get its config via DHCP. It sounds like it might be getting refused.

Check /etc/resolv.conf

Here's what mine looks like:

cat /etc/resolv.conf
# Generated by NetworkManager
domain grandenetworks.net
search grandenetworks.net
nameserver 192.168.0.1
My router is 192.168.0.1

It forwards the DNS requests to the DNS servers it has set up within its config.

Another good test to verify connectivity to the outside network is to find the IP address of a computer and try pinging it by IP.

nslookup slashdot.org
Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: slashdot.org
Address: 216.34.181.45

root@pirate-chest: ping 216.34.181.45
PING 216.34.181.45 (216.34.181.45) 56(84) bytes of data.
64 bytes from 216.34.181.45: icmp_seq=1 ttl=242 time=50.7 ms
64 bytes from 216.34.181.45: icmp_seq=2 ttl=242 time=46.4 ms
64 bytes from 216.34.181.45: icmp_seq=3 ttl=242 time=44.5 ms
64 bytes from 216.34.181.45: icmp_seq=4 ttl=242 time=46.0 ms
64 bytes from 216.34.181.45: icmp_seq=5 ttl=242 time=46.2 ms
^C
--- 216.34.181.45 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4017ms
rtt min/avg/max/mdev = 44.579/46.819/50.770/2.087 ms
Obviously, you'll need to do the nslookup on a computer with a valid connection to the internet. Or, you can use the IP for slashdot I've provided above. If that test fails, then you know that not only is DNS broken for your system, your router is refusing traffic from this machine to the outside world.

di11rod
 
  


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
Wireless, DNS (per NIC?), and a Connection Manager? esxmac Linux - Wireless Networking 1 07-11-2007 07:06 AM
Internet Connection Problem At Squid Server On Suse, Due to IP of DNS change ShadowoftheDarkgod Linux - Networking 4 06-04-2006 07:24 PM
DNS problem on ADSL connection newbie2006 Linux - Networking 2 04-03-2006 02:01 AM
urgent:: internet connection sharing: DNS server not working shyam_d_sundar Linux - Networking 1 07-15-2004 11:43 PM


All times are GMT -5. The time now is 08:18 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