Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ftp - web server setup and router question

Status
Not open for further replies.

jeffvb9

Technical User
Nov 14, 2002
44
US
I have installed RH 8.0 and would like to use it as a ftp server for the most part. I have a linksys router on my network and then the server connected to it. Is there anything special I need to do to get it to connect to the internet? I have mozilla up and cannot get a connected but it does say eth0 is active and connected.

Also will I need to install a seperate ftp client on the server to be able to use it as a ftp server or is that already installed with the installation? Sorry I am very new to linux.

Thanks.
 
Did you set the RH firewall to Medium security and Customize to allow FTP and HTTP traffic? Having done that, your Mozilla should access the internet.

RH comes with an FTP server and an FTP client. I'm new to this, too, so don't know if I can give you more specifics. Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
Hi, there are several things to look at.

First: Not getting to the internet:
Is the linksys DHCP server enabled?
If yes, is your server using DHCP or STATIC?
If DHCP make sure you have a lease.
type "ipconfig"
See if eth0 has an IP address.

Make sure that your server knows how to talk DNS.
type "more /etc/resolv.conf"
The nameservers lines should have the ipaddress/ess of the name servers you need to talk to.

If you enabled DHCP on the linksys router, make sure you entered nameservers in the configuration.

If you are using static on IP for the Server.
make sure you have lines that say
nameserver x.x.x.x (ipadress of each nameserver you need to talk to)

If you server is static, edit the /etc/sysconfig/network and make sure there is a line that says GATEWAYDEV=eth0 and GATEWAY=x.x.x.x (ip of the linksys router ie. the gateway)

2: turning on FTP.
cd /etc/xinetd.d/
make sure the ftp file has "disable = no"
else edit the file and change disable = yes to disabel = no.

Then reload the configuration of xinetd.
"service xinetd reload"

3: ftp client and ncftp client should both be installed. I prefer ncftp, little nicer just not as common as ftp. And ftp is easier to put into a script if you need.

just type ftp x.x.x.x or ncftp x.x.x.x.

However if you are having issues getting out, then ftp using ftp won't work either.

Any more questions or more specific instructions just let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top