LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-13-2005, 04:37 PM   #16
capnpayne
Member
 
Registered: Nov 2004
Location: Florida
Distribution: Slack 10.1
Posts: 56

Rep: Reputation: 15

Your router may actually be misconfigured.

I suggest setting up your computer as a DMZ in the router's settings and seeing if anything happens.
 
Old 02-13-2005, 05:57 PM   #17
rajvirnijjar
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Original Poster
Rep: Reputation: 0
I do not know what you are talking about. I am a linux newbee. I would appreciate it if you would give me more details.

Thanks
 
Old 02-13-2005, 08:23 PM   #18
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
if u r getting host not found then either u have ur router misconfigured or maybe u have wrong entries in ur system

do one thing

install the package "bind" and "caching nameserver" in ur system ,or see if u have that installed


then start that service by


service named start

and add the line

nameserver <ip addresss of ur machine>

to ur /etc/resolv.conf

and see if it works

regards
 
Old 02-13-2005, 08:51 PM   #19
rajvirnijjar
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Original Poster
Rep: Reputation: 0
hey

thanks, it worked
 
Old 02-13-2005, 09:19 PM   #20
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
glad that it worked!!

the problem there was of ur nameserver(DNS server)and now since u r running ur own u need not depend on any other

also do this so that named starts by itself from next time

chkconfig named on

regards
 
Old 02-13-2005, 09:52 PM   #21
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Do simple things ..

check your IP address (use ifconfig eth0 .. to see what's it at ..)

open a window to your router ..
something like .. 192.168.1.1 (it should show you that).


Make sure you have DHCP enabled on your port.

run ping to one ore two of your nodes .. like ping the router ... ping another machine on the network ... then start going towards yahoo .. or others that
would need to be resolved by dns ..
BUT THAT WON:T HAPPEN UNLESS YOU ARE USING DHCP .. or setting the DNS addresses by hand .. try DHCP .. it 'works for the whole world and will surely work for you.;


Don't pay attention to these these "route" command guys .. they are just making it unnecessarily complicated.. it's NOT NECESSARY.
 
Old 02-13-2005, 10:07 PM   #22
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
So your saying nevermind doing what works?

And oh yea, try DHCP your troubles are over?


Not trying to be mean but he did actually know and solve the problem.

/etc/resolv.conf is not updating or the router was misconfigured, which is a DNS problem. He started a dns server. (did not fix the problem but had a work around) It did work.


From his original resolv.conf file the contents are from dhcp but the nameserver looks wrong, which looks like the router needs the correct nameservers in it. Or he's firewalled the nameserver. So his local DNS works.




Last edited by DavidPhillips; 02-13-2005 at 10:26 PM.
 
Old 02-14-2005, 12:56 AM   #23
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what i think is that u should not depend on dhcp untill other ways are there

one simple example will be like when u are starting ur linux machine and if u depend on dhcp for ur IP address and if ur windows machine is not UP then u won't get an IP address and u will have to configure it with DHCP again after that win mahcine is up

also caching nameserver is good since u don't have to go anywhere to resolve ur IP address after they are cached and they will be resolved locally

also i think it is not easy , without using route coommand because i too have faced a lot of problems which were solved after i got a clearer picture using the route command

regards

Last edited by masand; 02-14-2005 at 01:01 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Connecting to the Internet jthomas98 Linux - Networking 1 10-29-2005 02:26 PM
help connecting to internet thomasjor Linux - Networking 6 09-04-2004 09:48 PM
connecting to internet kranster Linux - Newbie 6 11-02-2003 05:55 PM
Connecting to the Internet mjl1297 Linux - Software 2 02-06-2002 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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