Re: Need help with networking FC2
From: Lenard (lenard_at_127.0.0.1)
Date: Tue, 28 Dec 2004 03:15:08 GMT
On Mon, 27 Dec 2004 19:23:09 -0700, Dwayer wrote:
> I'm a newbie to linux, please be gentle, and use simple words...
> I built a new PC, and installed FC2. The install went like a breeze.
> However, this computer is having real difficulties with its internet
> connection. Some protocols and programs work fine, others don't.
> It is connected via its onboard ethernet card to a switch and then my
> DSL modem. The modem is the DHCP and DNS server/gateway for both the
> Fedora PC and my Windows PC. It can ping the modem and my Windows PC
> just fine. I can even print, using cups, to my windows-attached printer.
> NTP connects up to 220.127.116.11 (time.nist.gov) perfectly as well.
> However yum, apt, and Mozilla are very touchy. Most websites that I
> contact (e.g. google, fedora.redhat.com, download.mozilla.org) return
> either "connection timed out" error or a "connection refused." Yum and
> apt just keep timing out or failing to find the servers.
> I can connect to these sites from the windows box, so I don't believe it
> is a server or internet problem, and as some protocols work on the linux
> box, I assume the ethernet card is working. Any advice on getting this
> working would be greatly appreciated.
> Thanks, in advance, for your help.
Sometimes the DCHP server does not work well with Linux, edit (as root)
your /etc/sysconfig/network-scripts/ifcfg-eth0 (or whichever is your
ethernet really is) and provide the gateway information. It might be a
good idea to configure the card to a static TCP/IP address in the range of
your network. See the example below;
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759