Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-06-2001, 02:09 PM
|
#1
|
LQ Newbie
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3
Rep:
|
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
|
|
|
09-06-2001, 03:15 PM
|
#2
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Rep:
|
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
|
|
|
09-06-2001, 03:21 PM
|
#3
|
LQ Newbie
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3
Original Poster
Rep:
|
I have created a unique user name to FTP to the Linux box (not root).
|
|
|
09-06-2001, 04:58 PM
|
#4
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Rep:
|
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.
|
|
|
09-06-2001, 05:13 PM
|
#5
|
Member
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327
Rep:
|
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...
|
|
|
09-07-2001, 02:59 PM
|
#6
|
LQ Newbie
Registered: Sep 2001
Location: Columbus, OH
Distribution: RedHat 7.1
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
09-07-2001, 09:38 PM
|
#7
|
LQ Newbie
Registered: Sep 2001
Location: Pittsburgh, PA
Distribution: Mandrake, Red Hat
Posts: 2
Rep:
|
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.
|
|
|
09-09-2001, 11:54 AM
|
#8
|
LQ Newbie
Registered: Sep 2001
Location: Chicago
Distribution: lx 6.1, 7.1
Posts: 3
Rep:
|
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...
|
|
|
09-09-2001, 08:30 PM
|
#9
|
Member
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146
Rep:
|
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:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|