On Sat, Mar 25, 2006 at 02:11:01PM -0800, maxim wexler wrote

> So both PCs have that line in their /hosts file now.
> So I oughta be able to ftp gravity from one or the
> other and get connected, right? But it doesn't work 
> :^(
> 
> Does ftp work for you?

  There are several places where things can go wrong.  Here are some
boobytraps that I've found out about "the hard way".  Put it this
way... doing things right comes from experience... "experience" comes
from doing things wrong<g>.

  - are you sure you're running ftpd on the target machine?

  - check the logs on both machines to ensure that neither one is
    rejecting packets from the other by iptables rules

  - post the output of "grep -v ^# /etc/hosts" and "ifconfig eth0" and
    "route -n" from both machines

  - I've run into some "paranoid" ftpd daemons that need
    /etc/hosts.allow and /etc/hosts.deny to be set up with proper
    entries *EVEN IF YOU'RE NOT RUNNING INETD*.  Apparently, that ftp
    daemon reads hosts.allow and hosts.deny follows their rules.  Try
    "emerge -pv" on your ftp program, and check the flags.

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list

Reply via email to