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 |
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 |
I have created a unique user name to FTP to the Linux box (not root).
|
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. |
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 FTP may run through inetd or xinetd, depending on which version of redhat you are running. The same rulez apply there... |
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. |
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. |
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... |
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. |