LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-18-2003, 11:00 AM   #1
Zorya
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8

Rep: Reputation: 0
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!
 
Old 03-18-2003, 11:07 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well can you even ping the server? Where does the server reside on the network?
 
Old 03-18-2003, 11:17 AM   #3
Zorya
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 03-18-2003, 11:19 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 03-18-2003, 11:24 AM   #5
Zorya
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
Alright, so here's the 6 million dollar question. How do I tell Linux to run it?
 
Old 03-18-2003, 11:27 AM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 03-18-2003, 11:47 AM   #7
Zorya
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City, MO
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
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?
 
Old 03-18-2003, 11:55 AM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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*
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic server setup question troika Linux - Networking 4 11-11-2005 11:36 AM
VNC Server Setup Question njschroe SUSE / openSUSE 5 06-14-2005 02:35 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM
telnet server setup question eviluser Linux - Networking 2 11-18-2001 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration