LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2001, 02:09 PM   #1
Geams
LQ Newbie
 
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 09-06-2001, 03:15 PM   #2
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Rep: Reputation: 30
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
 
Old 09-06-2001, 03:21 PM   #3
Geams
LQ Newbie
 
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3

Original Poster
Rep: Reputation: 0
I have created a unique user name to FTP to the Linux box (not root).
 
Old 09-06-2001, 04:58 PM   #4
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Rep: Reputation: 30
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.
 
Old 09-06-2001, 05:13 PM   #5
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
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...
 
Old 09-07-2001, 02:59 PM   #6
Geams
LQ Newbie
 
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 09-07-2001, 09:38 PM   #7
egaffur
LQ Newbie
 
Registered: Sep 2001
Location: Pittsburgh, PA
Distribution: Mandrake, Red Hat
Posts: 2

Rep: Reputation: 0
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.

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.
 
Old 09-09-2001, 11:54 AM   #8
dnewman5
LQ Newbie
 
Registered: Sep 2001
Location: Chicago
Distribution: lx 6.1, 7.1
Posts: 3

Rep: Reputation: 0
Wink

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...
 
Old 09-09-2001, 08:30 PM   #9
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cant ftp to a suse 9.1 pro machine tt2 Linux - Networking 6 01-23-2005 10:03 AM
can't ftp back to my own machine (using proftp) sirpelidor Linux - Networking 1 02-13-2004 02:03 AM
two ftp servers on same machine alpesh Linux - Security 3 08-20-2003 10:20 PM
Redhat 8 machine on network how do I FTP to web server document root? maxdown Linux - Networking 3 05-05-2003 07:01 PM
FTP to a machine BEHIND Firewall Milkman00 Linux - Networking 8 09-29-2002 02:25 PM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration