Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
03-18-2003, 11:00 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8
Rep:
|
Server Setup Question(s)
I am having some problems setting up FTP on my linux server. DHCP is enabled and our router sees the computer and everything. It can browse the net with no problem as well.
Since our server will be accessable to the outside and therefore a bit more vulnerable, we don't want our other computers on the network to be accessable to anything. So, we're setting it up so that the only way to access it from *any* computer is through FTP. A bit safer that way.
Anyway, we're running into problems actually getting a computer to connect to the server. The connection just times out when we connect to the IP address. Now, I don't know where to go about looking to setup FTP on the server, so that's part of the problem. If anyone could give me some instructions on how to do this, that would be great. Or, direct me to a well written manual for the "new-to-linux" type of person.
Thanks so much for the help!
|
|
|
03-18-2003, 11:07 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Well can you even ping the server? Where does the server reside on the network?
|
|
|
03-18-2003, 11:17 AM
|
#3
|
LQ Newbie
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8
Original Poster
Rep:
|
Yes, I can ping the server. It responds back.
It's just whenever I try and connect it gives me "A connection with the server could not be established"
I also don't know how to verify that FTP is enabled on linux, considering I've never really used it in depth before.
|
|
|
03-18-2003, 11:19 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
You can see if ftp is listening for requests by doing:
netstat -l
Thats a lowercase L. If you didn't tell Linux to run ftp then it won't be on.
|
|
|
03-18-2003, 11:24 AM
|
#5
|
LQ Newbie
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8
Original Poster
Rep:
|
Alright, so here's the 6 million dollar question. How do I tell Linux to run it? 
|
|
|
03-18-2003, 11:27 AM
|
#6
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
hehe. Please make the check payable to me. The answer is it depends on what ftp package you are using. I think wu-ftpd comes standard with RedHat8.0 but I use vstfpd. See if you have the packages installed by doing:
rpm -qa | grep wuftpd
rpm -qa | grep vsftpd
Ummmm....if the packages are installed you should be able to do:
/etc/init.d/wuftpd start
or
/etc/init.d/vsftpd start
Then run the 'netstat -l' command again to see if ftp is listening.
|
|
|
03-18-2003, 11:47 AM
|
#7
|
LQ Newbie
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8
Original Poster
Rep:
|
Heh. Let me reiterate how linux dumb I am  If you just bare with me...
Alright...It looks like vsfptd is what I have...but um...it tells me that there is "No such file or directory" when i type etc/init.d/vsftpd start into the command line.
now if I go into the init.d directory and try it, it tells me that it "cannot open specified config file". Probably because there's nothing called vsftpd in there. Any other ideas?
|
|
|
03-18-2003, 11:55 AM
|
#8
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Well that is odd that you have vsftpd installed but do not have the startup script. Just download the vsftpd packages from here and install by doing:
rpm -Uvh vsftpd*
|
|
|
All times are GMT -5. The time now is 03:06 AM.
|
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
|
|