LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   425 failed to establish connection for ftp Networking (http://www.linuxquestions.org/questions/slackware-14/425-failed-to-establish-connection-for-ftp-networking-319141/)

linuxhippy 05-01-2005 04:40 PM

425 failed to establish connection for ftp Networking
 
I put Slackware 10.1 on my tower and I still have Slack 10 on my desktop. They are both connected with a wireless router and I would like to be able to share files between the 2. On another forum, houler tried to help me set up ftp sharing in Slackware but was not knowledgeable of Fedora Core 3 (my other OS on my tower). So using houler's advice, I again attempted a ftp with just Slack and got a bit further.

This is what he recommended and I did on both pcs:

"edit /etc/inetd.conf with your favorite text editor and uncomment a line:

from this:

# Very Secure File Transfer Protocol (FTP) server.
#ftp stream tcp nowait root /usr/sbin/tcpd vsftpd

to this:

# Very Secure File Transfer Protocol (FTP) server.
ftp stream tcp nowait root /usr/sbin/tcpd vsftpd

----

then restart your computer

then you can edit /etc/vsftpd.conf and /etc/ftpusers to your likings"

I also dropped port 21 on both pcs using the advice of user win32sux:

"iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A INPUT -p TCP -i eth0 --dport 21 -s 192.168.1.0/24 \
-m state --state NEW -j ACCEPT"

I start an ftp transaction from my laptop's browser and am told to enter a password. My password is accepted and after a minute of the browser churning, I get this:

425 failed to establish connection

I realize there are other ways of file sharing (samba & NFS)-but I want to get the ftp thing down before I the others.

Any ideas?

keefaz 05-01-2005 05:58 PM

see : http://kalamazoolinux.org/presentati...conntrack.html
(near the bottom)

nucks 05-01-2005 09:54 PM

Are you on the 192.168.1.0/24 ip range?

gotissues68 05-01-2005 10:11 PM

Can you ping the other machine? I know its a dumb question but good to establish basic network connectivity. Second, in what client you're using try toggling off or on passive transfers.

linuxhippy 05-02-2005 03:45 AM

Quote:

Originally posted by nucks
Are you on the 192.168.1.0/24 ip range?
I'm not sure what the iptables commands I put in mean-I have a DHCP router that assigns IP numbers from 192.168.1.15 to 192.168.1.47

Pinging sounds like a good idea!


All times are GMT -5. The time now is 11:49 AM.