Cannot FTP

Cannot FTP

Post by ray » Mon, 02 Apr 2001 23:09:53



Dear Linux gurus out there. I need help.

I have two machine. Linux server and WindowsME. I can ping from both end. I
can ftp from Linux locally.
But when I tried to ftp from WindowsME to Linux, it did not prompt me for
the login id and just hang there. I am using Red Hat Linux
Please help me. I do not understand where the problem is.

I have even installed FTP Server at WindowsMe and I can ftp from Linux to
WindowsME.

Did I miss some configuration setup?

 
 
 

Cannot FTP

Post by Dean Thompso » Mon, 02 Apr 2001 23:15:30


Hi Ray,

Quote:> I have two machine. Linux server and WindowsME. I can ping from both end. I
> can ftp from Linux locally.

By this, I presume that you can issue the command without any problems: "ftp
localhost" and log into your ftp server and do what you have to do.

Quote:> But when I tried to ftp from WindowsME to Linux, it did not prompt me for
> the login id and just hang there. I am using Red Hat Linux
> Please help me. I do not understand where the problem is.

Check your /etc/hosts.deny file and make sure that there isn't anything in
there which associates the keyword DENY to your ftpd service.

If the "ftp localhost" command doesn't work under Linux then you might like to
check your installation and see whether or not you have a ftp server installed
on the system.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Cannot FTP

Post by ray » Tue, 03 Apr 2001 00:12:14


Quote:> Check your /etc/hosts.deny file and make sure that there isn't anything in
> there which associates the keyword DENY to your ftpd service.

ftp localhost works

The /etc/hosts.deny file has no entry.

Thanks Dale and any more clues?
Raymond

 
 
 

Cannot FTP

Post by Dean Thompso » Tue, 03 Apr 2001 00:37:19


Hi!,

Quote:>> Check your /etc/hosts.deny file and make sure that there isn't anything in
>> there which associates the keyword DENY to your ftpd service.

> ftp localhost works

> The /etc/hosts.deny file has no entry.

Okay, do you run IPchains on your system or any other firewalling software
like pmfirewall ?

If you do, make sure that you are allowing connections to come in from your
own internal LAN and that ports 20 and 21 are accessible by machines within
your own network.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Cannot FTP

Post by ray » Tue, 03 Apr 2001 00:59:42


I dont think so. I have used the default installation program. I dont think
I have run the firewall program either.


Quote:

> Hi!,

> >> Check your /etc/hosts.deny file and make sure that there isn't anything
in
> >> there which associates the keyword DENY to your ftpd service.

> > ftp localhost works

> > The /etc/hosts.deny file has no entry.

> Okay, do you run IPchains on your system or any other firewalling software
> like pmfirewall ?

> If you do, make sure that you are allowing connections to come in from
your
> own internal LAN and that ports 20 and 21 are accessible by machines
within
> your own network.

> See ya

> Dean Thompson

> --

+____________________________+____________________________________________+

|
> | Bach. Computing (Hons)     | ICQ     - 45191180
|
> | PhD Student                | Office  - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
|
> | Melbourne, Australia       |
|

+----------------------------+--------------------------------------------+
 
 
 

Cannot FTP

Post by Karl Heye » Tue, 03 Apr 2001 03:31:32



> Dear Linux gurus out there. I need help.  I have two machine. Linux server
> and WindowsME. I can ping from both end. I can ftp from Linux locally.
> But when I tried to ftp from WindowsME to Linux, it did not prompt me for
> the login id and just hang there. I am using Red Hat Linux Please help me. I
> do not understand where the problem is.  I have even installed FTP Server at
> WindowsMe and I can ftp from Linux to WindowsME.
> Did I miss some configuration setup?

How long are you waiting!.  sounds like the ftp server is doing a reverse DNS
lookup of the window IP and timeing out.    put an entry for your windows
box in the hosts file.

karl.

 
 
 

Cannot FTP

Post by Dean Thompso » Tue, 03 Apr 2001 08:36:28


Hi Ray,

Quote:> I dont think so. I have used the default installation program. I dont think
> I have run the firewall program either.

Make sure that you have no ipchains which look like they could be causing you
trouble.  Issue the command: "ipchains -L -n" and see whether any chains are
listed.  Additionally, you might like to put the IP address of the machine
trying to get into your ftp server into the /etc/hosts file on the ftp server.

I presume that both machines can ping one another without any problem.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Cannot FTP

Post by ray » Thu, 05 Apr 2001 01:39:29


Yup, I got it working. Now it looks familiar with me. I missed the
/etc/hosts setting.
Thanks a lot again to Dave and Karl. I do appreciate your guidance.
 
 
 

1. Cannot FTP to RH5.2 box via any FTP pgm?

I have a RedHat 5.2 box with a eth0 card (Intel ).
I am conneting a two laptop network to the box.  On this box I want to start
building my web server.

I planned on getting the FTP going this weekend to make the HTML upl's
easier-
  URRRR- wrong, not, been beating my head for 12 hours now!!!!

Everything else runs good thus far-
The Apache is up, the browsers connect via IP (or a hosts translation)
I can telnet to my Linux box from one of the clients and run fTP from there?

Now-  I have w95 on a laptop and no matter which FTP client I download, I
cannot get in?
any ideas?

I saw a tip on the RH site about Md5 and shadow pwd file enable?  Where to I
set that ?

TIA-
please reply back to:

2. Next InfoMagic Linux CD's?

3. cannot ftp from win95 ftp server

4. module doesn't work when it's app uses STDOUT

5. Cannot ftp into my machine as myself (user), but can ftp in as anon.

6. 3Com drivers

7. Help: Cannot ftp from Win98, *can* ftp from Linux using linksys BEFSR81

8. Iptables, Cisco 677, DNAT

9. cannot ftp after setting nis

10. Cannot ftp

11. internal hosts cannot ftp/http external IP address

12. cannot ftp client accessing linux router

13. cannot ftp to linux box