Re: Internet connection on Linux
- From: Jack Snodgrass <jacks_temp_id_blue62@xxxxxxxxxxx>
- Date: Sat, 26 Apr 2008 12:23:01 GMT
On Sat, 26 Apr 2008 03:48:49 -0700, CCW wrote:
Hi,
I've got a FC7 server, running a workgroup with ~10 windows PCs. I'm
sharing the internet connection via FC7, so my setup is:
Router (192.168.0.1) ------ (eth0) 192.168.0.2 - (eth1) 192.168.1.1
------ Windows computers (1.2 - 1.10)
All of the windows computers can use the internet fine, but my FC7
server can't! I can access websites / ping by ip address but not by
name. I've checked the dns settings, and they seem to be ok, and I'm a
bit lost as to what else to check! Any ideas what could be wrong?
Thanks,
Chris
the /etc/resolv.conf file lists the DNS servers that you use to resolve
names to ip addresses. If you can ping / access via ip but not name...
your /etc/resolv.conf file is probably incorrect. It should have something
like:
search private.net
nameserver 192.168.1.1
nameserver 192.168.10.1
where private.net is your domain and the two ip addresses
are the IP Addresses of a real DNS that you can get DNS info
from. You can test it out by doing
host www.yahoo.com 192.168.1.1
( where 192.168.1.1 is the ip address of a DNS server ).. if
you get a valid response, it's ok to use that DNS Server's IP
Address in your /etc/resolv.conf file. If you don't get a valid
response... you don't want to use it...
If your FC7 box has a DNS server on it, you might want
nameserver 127.0.0.1
in your /etc/resolv.conf file... but it just depends...
jack
--
D.A.M. - Mothers Against Dyslexia
see http://www.jacksnodgrass.com for my contact info.
jack - Grapevine/Richardson
.
- References:
- Internet connection on Linux
- From: CCW
- Internet connection on Linux
- Prev by Date: Internet connection on Linux
- Next by Date: Re: Internet connection on Linux
- Previous by thread: Internet connection on Linux
- Next by thread: Re: Internet connection on Linux
- Index(es):
Relevant Pages
|