Click to See Complete Forum and Search --> : Trying the linux thing with no luck...


FrostX
09-23-2002, 05:10 PM
I'm trying to get my nifty new linux box on my network here, however, I can't seem to get it fully networked. I can ping across the LAN, by IP or by host name (DNS), but I can't view sites hosted on another server on the network. I have both my gateway and my DNS server put in their places, and I am running apache, which no other computers can see. I can't ping yahoo.com by IP address or by it's yahoo name. Anybody got any ideas of where the connectivity problem is?
(e)

ib1z4
09-23-2002, 07:20 PM
you got Samba + SWAT working correctly? If so, post a read out of your swat configuration. Also, what distro are you using?

FrostX
09-24-2002, 09:21 AM
Don't have SAMBA up yet... I figured I'd get it up and running before I start moving files. Shouldn't http transfers run fine without any sort of file client/server? I'm using the RedHat 7.2 dist I got out of the Red Hat Linux 7.2 Bible book.

michaelk
09-24-2002, 11:30 AM
You are correct that you don't need samba to broswe the internet. Not being able to ping outside the local net might be due to the gateway not being properly configured. Check the route command to verify.

RH installs the firewall by default and that is probably why no other computer can see its webserver or ftp server etc.

z0mbix
09-24-2002, 11:35 AM
Originally posted by FrostX
...but I can't view sites hosted on another server on the network...

What do you mean by site? a windows fileserver a webserver? How are you trying to access the server and what error do you get when you try to access it?

FrostX
09-24-2002, 11:37 AM
Well, the FW should theoretically block a specific port, therefore causing a specific action to fail consistantly. Wouldn't this mean that ping would fail all the time, not just some of the time? And where does the port list reside? It would be worth a look to find out which ports it's blocking. Since I've got a full-time firewall on the entrance to the network, I could probably just disable the local firewall and be safe. How do I go about doing that?

Fizban64
09-24-2002, 11:51 AM
You can have a quick look to see what services you are running by going into /etc/inetd.conf

I run SuSe, but in my firewall setting, you can protect all services, specifying the ones you want to leave OPEN. Red Hat must have something similar.

FrostX
09-24-2002, 11:52 AM
That's correct about the websites. I've got NT servers hosting sites logically right next to this box, and I can't get to them by name. I just tried one by IP with no problems, however.

z0mbix
09-24-2002, 11:54 AM
Originally posted by FrostX
That's correct about the websites. I've got NT servers hosting sites logically right next to this box, and I can't get to them by name. I just tried one by IP with no problems, however.

So does your local network use it's own DNS server or just hosts files? Are these (/etc/hosts and /etc/resolv.conf) correctly configured?

FrostX
09-24-2002, 12:59 PM
I looked at my GW and DNS servers, and they are on a different subnet. I've got a DNS server on that subnet that I will be moving it to in a little bit, but as far as the gateway, I'm not sure how I'm going to fix that yet. If you have any ideas, I'd love to hear em.