Visit Our UNIX and Linux User Community


Establising FTP contact on Linux


 
Thread Tools Search this Thread
Special Forums IP Networking Establising FTP contact on Linux
# 1  
Old 02-28-2002
Establising FTP contact on Linux

Hi,
I was wondering, does anybody know if you have to set up a Linux machine as a server to establish it as a host for a FTP site; therefore enabling me to make contact with the linux machine, from other machine types, such as Solaris and Windows.

NB: I can currently ping the IP address from solaris and windows machines on different servers.

Thanks,


Smilie
# 2  
Old 03-01-2002
Well, you do have to configure and start the ftpd service...
There is a very good chance that you already have the ftp daemon... Check out /etc/inetd.conf, uncomment the ftp line to start it, then do a :
kill -HUP `ps -ef | grep [i]netd | awk '{print $2}'`
(Basically send a SIGHUP, or signal 1, to the inetd process to cause it to reload it's config.)

It's probably a good idea to lock it down a little more if it's publically (via the internet) available, as opposed to on a local network.

Also, if you have any more questions, could you post the results or "uname -a" so we know what kind of system you're working with?
# 3  
Old 03-01-2002
Hi,
The Linix version is 2.4.2-2 (Red Hat7.1). The full set of sys info is:
Linux Linux1.localdomain 2.4.2-2 #1 Sun Apr 8 18:47:21 EDT 2001 i586 unknown.

I have the FTP running (e.g. I can connect to other sites), but, cannot connect to the linux from other FTP sites (e.g. I've tried using both the host name and IP address for a conection address).

I have configured the etc/host.allow and etc/host.deny files for network security (I'm not sure if this is what you're reffering to by 'locking it down').

It appears the main problem is other FTP sites being unable to locate the host name/address of the Linix host.
# 4  
Old 03-02-2002
If you can be more specific with your errors that would be great. You said you cant connect to it with either a hostname or an IP address. It could be a DNS issue, i.e. the hostname is either incorrectly defined, or the hostname is not what you think it is.

If you cannot connect with an IP address, then either your ftpd is not running or you have a firewall that does not permit ftp initiation on port 21 or you may not have ftp enabled in the services file (unlikely but possible).
# 5  
Old 03-25-2006
how to ftp from a specific IP address

Hi,

I have 2 NIC cards on solaris server.
And I want to use only one specific IP address to transfer the data to other server.

Cheers

Previous Thread | Next Thread
Test Your Knowledge in Computers #138
Difficulty: Easy
The Unix philosophy is a computer operating system idea that means the operating system provides a set of basic tools that perform a limited, well-defined function, a unified filesystem as the main method of communication, and a shell scripting and command language to combine modular tools to perform more complex workflows.
True or False?

5 More Discussions You Might Find Interesting

1. Web Development

Contact Form for Download

Hi all, My skills in Web Development are shaky at best. What I want to do is have a simple form on my website. User puts in name & email address -> verification email is sent to them to make sure it is really there email. After this is confirmed, I want to send them a secure download like to... (1 Reply)
Discussion started by: fedora18
1 Replies

2. Cybersecurity

I need help with contact form

How can I change my email address from text into an image? Someone told me that this way it won't be picked up by spam bots and it will reduce spam. ---------- Post updated 09-27-09 at 12:57 AM ---------- Previous update was 09-26-09 at 10:53 AM ---------- ---------- Post updated at 12:58 AM... (0 Replies)
Discussion started by: iorgusu
0 Replies

3. UNIX for Dummies Questions & Answers

ascii FTP from Linux to Linux adding carriage returns

Hi, I've got an issue with a shell script that FTP's a file from one Linux server to another Linux server. My script runs on a Linux server and creates an output file (from a database call), and then FTP's this file to another Linux server. The problem is that, even though the output file... (0 Replies)
Discussion started by: roysterdoyster
0 Replies

4. Solaris

couldn't contact the DHCP server

hi when i configure for DHCP in my solaris it says not able to contact dhcp server.. what might be the problem( is there any problem in recognizing my hostname by DHCP Server)? can any one explain thanks in advance (1 Reply)
Discussion started by: srikanthg
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Contact Us ???

My Contact Us link at the bottom takes me to the Search screen, not a contact screen. How do I contact an administrator? This web site stopped recognizing me as the registered user jimbo a week or two ago. I have been an active daily user for months until a week or two ago. I reregistered... (3 Replies)
Discussion started by: jimbo3
3 Replies

Featured Tech Videos