LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-16-2005, 09:01 PM   #1
ponyboynd32
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
Network but no internet with Linux


I recently just moved and changed from a DSL connection to Cable modem. I have 3 computers, (1 XP, 1 Win2000, and 1 RH8.0) and I set these up behind an 8-port Linksys router. This configuration worked great with the DSL connection but now with the Cable Modem the internet works only on the 2 windows machines and not on the linux machine. My windows machines can access the linux machine through the network and vice versa, I can also ping all device on the network (router, windows pcs, etc.) and I can also ping the IP address given from the ISP (ex. 24.197.240.160 works correctly). If I try to ping any other internet address it doesn't work.

I did have to clone a windows NIC MAC address to the router to get the internet to work on the windows machines. I'm wondering if this is preventing the linux machine from accessing anything on the internet. I did try cloning the linux NIC MAC address to the router and nothing was able to access the internet. My /etc/resolv.conf file has nameserver entries for my router IP address and IP address I recieved from the IPS (ex 24.197.240.160, it is dynamic) and nothing. Anyone know what is going on or conqueror this seemingly impossible problem?
 
Old 02-16-2005, 10:00 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
So, you're saying that on the Linux box you can ping your DNS server that is using a public IP but you can't ping any other computer?

Are you able to resolve host names?
 
Old 02-16-2005, 11:04 PM   #3
ponyboynd32
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Right, for example because I connect modem->router->hub->computers I get one public ip address to identify my network as I mentioned above, and when I ping that, it is successful.

I am not able to resolve hostnames. It just hangs while trying to resolve any hostname and then errors out with "<Hostname> could not be found. Please try again." in Mozilla, and when I ping a hostname it basically says the same thing.
 
Old 02-16-2005, 11:27 PM   #4
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
what happens when u ping www.linuxquestions.org for ex.?
what is the response?
and when u ping 64.179.4.149?
Is the same?
 
Old 02-17-2005, 12:40 PM   #5
ponyboynd32
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
ping: unknown host www.linuxquestions.org

And

ping for 64.179.4.149 is successful.

Looks like I can see IP addresses successfully but no hostnames. How do you fix this?
 
Old 02-17-2005, 01:21 PM   #6
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
If you receive response from 64.179.4.149 you are out of your local network, but Linux machine can't resolve the IPs

In resolv.conf put u the correct address of the DNS?
Look the DNS of the windoze machines;

Then in resolv.conf add:

search yourdomain.name (of the ISP)
xxx.xxx.xxx.xxx
yyy.yyy.yyy.yyy [CR]

After the last yyy --->Enter
(xxx. and yyy. are the DNS address = the same of the windoze machines)
 
  


Reply



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
XP-Linux Internet network linux gateway ALInux Linux - Networking 1 05-16-2005 06:11 AM
How to access windows Network and Internet from Linux indian Linux - Networking 1 09-09-2004 01:32 PM
Linux map network drive across internet Linux6574 Linux - Networking 6 04-12-2004 11:01 PM
Linux to MSwindows network to internet ripple Linux - Networking 4 11-25-2003 10:44 AM
cannot use internet on linux in my school network spidy Linux - Networking 1 10-01-2003 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 AM.

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
Open Source Consulting | Domain Registration