LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2003, 11:15 AM   #1
lynchmob09
LQ Newbie
 
Registered: Sep 2003
Location: VA
Distribution: red hat 9
Posts: 25

Rep: Reputation: 15
ftp connection problem. It hangs on "entering passive mode"


I connect to an ftp server just fine. But I think it is supposed to forward me to a private IP and port once i'm there, like 192.168.1.75:4755. (Supposed to, like in a windows ftp program its fine.) This is a unix os i'm connected to by the way. so i can use certain commands when i get connected, but when I execute "dir" or "ls" it says "Entering Passive Mode <192.168.1.75, xx, xx>"
then it just hangs.
and then times out.
What's going on?

in dos, when i try the same connection and i try an "ls" command, it is successful--
"200 port command okay, and then 150 Opening ASCII no print mode data connection for ls -l"

then i am able to function.
i'm running stock rh9.

Josh

Last edited by lynchmob09; 10-31-2003 at 11:29 AM.
 
Old 10-31-2003, 11:52 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Turn passive mode off on the client side should most likely do the trick.
 
Old 10-31-2003, 11:54 AM   #3
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
There's something rather strange about that FTP server directing you to a private IP address, unless you are also on the same private network. Are you able to ping the address 192.168.1.75 ?

If not my hypothesis is that the FTP server you're trying to connect to is misconfigured. Its possible that the Windows FTP clients work because they just ignore the redirection and just continue using the initial IP of the server.

Again this is only an hypothesis.

Tim
 
Old 10-31-2003, 12:09 PM   #4
lynchmob09
LQ Newbie
 
Registered: Sep 2003
Location: VA
Distribution: red hat 9
Posts: 25

Original Poster
Rep: Reputation: 15
thanx trickykid, you got it....

i just switched passive mode off and it worked.

wonder why that is needeD?
 
  


Reply


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
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
ProFTPD hangs on "227 Entering Passive Mode" VirusHater Linux - Newbie 4 06-30-2010 06:26 PM
Ftp Passive mode won't "ls" on my FC3 box severian23 Linux - Networking 0 07-06-2005 01:29 PM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 09:31 AM
227 Entering Passive Mode mxtinker Linux - Networking 1 02-25-2004 09:58 AM


All times are GMT -5. The time now is 03:58 PM.

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