Click to See Complete Forum and Search --> : RedHat Linux 7.2 Behind Linksys Firewall
Rodzilla
04-15-2002, 06:10 PM
I've setup Linux on my network just fine, it communicates with the other comps and my router perfectly. I set it up to use DHCP to get the network information from my router. But I try to get on the internet and it won't work? It says "unknown host <A HREF="http://www.redhat.com"" TARGET=_blank>www.redhat.com"</A> or whatever website I try and visit. How do I fix this? :)
jetblackz
04-15-2002, 06:32 PM
I seem to recall such a problem, but 7.3 solved it all.
Rodzilla
04-15-2002, 07:33 PM
7.3?
Rodzilla
04-15-2002, 07:57 PM
Hmm..after some testing I realized that it's connecting to the internet just fine. I pinged several IPs outside my firewall with no problem. Therefore, something's wrong with the DNS. How do I fix it? =/
stingray72
04-15-2002, 08:10 PM
make sure your DNS ip addresses are correct in /etc/resolv.conf
Hope this helps
Holdstrong
04-15-2002, 08:16 PM
ok so you can ping something like yahoo's IP address, but you cant succesfully ping www.yahoo.com? (http://www.yahoo.com?)
that would certainly be a DNS issue.
[assuming your using a DNS server external to your home network]
first id check to see which DNS servers your computer is attempting to use. You can do this through the graphical 'network configuration' and check the DNS tab.
If not, then check out the etc/resolv.conf file which will give you the same info. It should be in the format of:
domain
nameserver1
nameserver2
nameserver3
search
First entry should be the domain your using... for example if you are using ATT cable it might say something like client.att.com
next entries will tell you what name servers it is using (by IP address)... primary, secondary and tertiary.
try to ping these IP addresses to make sure that the DNS servers you are using are in fact up and running.
[ 15 April 2002: Message edited by: Holdstrong ]
Rodzilla
04-15-2002, 08:51 PM
There's nothing in there for domain, primary/secondary/tetriary DNS servers. I'm not sure what to put in though. I've got Windows 2000 running fine using just DHCP, is there a way I can find that info on my Win2k box somehow?
stingray72
04-15-2002, 09:04 PM
I don't know how to find you DNS servers in Windows, but you can call your ISP and let them tell you. :D
Someone probalby has a better answer than I do though.
Rodzilla
04-15-2002, 09:09 PM
open command prompt
type ipconfig
get IPs
All working now :)
Holdstrong
04-15-2002, 09:13 PM
[on the win2k box]
from a command prompt type: ipconfig /all
that command will give you all the deets u need.
A more round about way of finding this info. Go to the admin page for your router and check its settings.... the DNS servers that it is using will be the same that all of the computers behind the router can use. It should be located on the routers status page or something similar. I've used netgear, linksys and sonicwall routers and they all have that info available on their admin pages.
and you can always call your ISP to find out what the DNS servers they use are.
mdwatts
04-16-2002, 05:21 AM
I also have a Linksys router and I added 192.168.1.1 (Linksys address) to /etc/resolv.conf.
jetblackz
04-16-2002, 12:51 PM
To be exact, it's 7.2.9~
It's been in beta for ages.
To find your DNS on Winbox, run winipcfg.