LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot FTP to RedHat 7.1 Machine (https://www.linuxquestions.org/questions/linux-networking-3/cannot-ftp-to-redhat-7-1-machine-6299/)

Geams 09-06-2001 02:09 PM

Cannot FTP to RedHat 7.1 Machine
 
I am just beginning my very first Linux experience. Some proprietary software I am using at work needs a Unix/Linux OS to run so we bought a brand new RedHat 7.1 workstation. Anyway...

My ultimate goal is to be able to FTP from a Windows 98 machine to the new Linux workstation and send a few files over to run in our software. Both computers are on my company's network, which uses static IP's. The problem is I cannot connect to the workstation.

The workstation is able to surf the Internet and connect to a couple other Unix workstations. It is also able to telnet to the workstations. However, I cannot FTP or telnet to it. Any suggestions?

Thanks much,

Tom

c0c0deuz 09-06-2001 03:15 PM

if your trying to use the lx box for ftp server no machine can connect to it IF you are logged in as root...
For security raison obviously

Geams 09-06-2001 03:21 PM

I have created a unique user name to FTP to the Linux box (not root).

c0c0deuz 09-06-2001 04:58 PM

Is your ftp server a linux box?
If so, are you logged in that server as root as you are trying to access it with other ws... that's what i mean.

sancho5 09-06-2001 05:13 PM

the obvious thing to look at would be whether the appropriate servers are running on your linux w/s. First trying telnet, which you say you are unable to connect to. Have you started the appropriate daemons?
Check with the following command:
Code:

ps aux | grep telnet
this will check the processes that are running and search for anything containing telnet, such as "telnetd" which should be the telnet server for Linux. If you don't see this come up, then you do not have the server/daemon running and it will not accept connections.
FTP may run through inetd or xinetd, depending on which version of redhat you are running. The same rulez apply there...

Geams 09-07-2001 02:59 PM

I have tried to FTP to the Linux machine while I'm logged in as a user other than root. It didn't work.

From what I've read, I think xinetd (I'm using 7.1) is also the daemon for telnet. Anyway, it is installed and running.

Any more suggestions, guys? I appreciate the help. This problem is driving me crazy.

egaffur 09-07-2001 09:38 PM

I believe that under Red Hat 7.1, if one installs the OS using medium security, insecure connections like FTP, remote shell commands and telnet are disabled.

You may want to have a look at the man pages on ipchains that are responsible for dropping/ignoring connection requests on FTP and telnet ports.:study:

You may try and get a Secure Shell client (ssh) so that sftp2 and ssh2 commands will allow you to connect to your new workstation.

dnewman5 09-09-2001 11:54 AM

Q- What is a daemon?
A- Program that runs continuously, accept service request from
the computer system, passes request off to other programs
and processes.

- xinetd is a daemon, is the same as "inetd" in Unix and Linux 6.1
- xinetd / inetd controls all the network service daemons:

* telnetd, ftpd ...

ps -ef aux | grep telnetd
" " ftpd

- If you don't see these processes you won't be able to do squat.
- cd /usr/sbin if you don't see something equivalent to in.telnetd
and in.ftpd. This would mean the packages/binaries are not
installed.
-rpm(Red Hat Package Manger) installs packages for linux.
This command is equivalent to pkgadd on SUN Solaris.

check to see if telnet or ftp package is installed:

rpm -qa | egrep '(wu-ftpd | telnetd)' or something to that
affect.

- If packages don't show up then:

rpm -ivh <package_name*> To elaborate further:

rpm -ivh anonftp*
rpm -ivh telned*
- This tells the system to allow incomming ftp/telnet request

Good luck...

hazza96 09-09-2001 08:30 PM

I don't use RH I use Mandrake but check to see if you have any ftp packages installed.

rpm -qa | grep ftp

I don't know if RH comes with proftpd but you can always download it from http://speakeasy.rpmfind.net//linux/...3mdk.i586.html

It has alot less security holes than wu-ftp. It also uses only 1 config file and it uses similar syntax in that config file to Apache.


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