Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-01-2005, 05:40 PM   #1
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Rep: Reputation: 47
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 -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A INPUT -p TCP -i eth0 --dport 21 -s \
-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?
Old 05-01-2005, 06:58 PM   #2
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
see :
(near the bottom)
Old 05-01-2005, 10:54 PM   #3
LQ Newbie
Registered: Apr 2005
Location: New Zealand
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Are you on the ip range?
Old 05-01-2005, 11:11 PM   #4
LQ Newbie
Registered: Jan 2005
Posts: 15

Rep: Reputation: 0
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.
Old 05-02-2005, 04:45 AM   #5
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Original Poster
Rep: Reputation: 47
Originally posted by nucks
Are you on the ip range?
I'm not sure what the iptables commands I put in mean-I have a DHCP router that assigns IP numbers from to

Pinging sounds like a good idea!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid - ftp = connection failed apara197 Linux - Networking 1 11-14-2005 08:18 AM
unable to establish connection neerajchaudhari Linux - Software 2 09-14-2005 11:22 PM
FTP 425 Error dnrct AIX 2 10-12-2004 07:59 PM
How do I establish internet networking? The Pom Linux - Networking 8 08-27-2004 06:10 PM
425 Can't open passive connection: Address already in use. SecureTeam Linux - Networking 0 03-30-2004 11:31 AM

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration