UNIX FTP setup


 
Thread Tools Search this Thread
Special Forums IP Networking UNIX FTP setup
# 1  
Old 07-26-2006
UNIX FTP setup

I just had to rebuild my Sun Ultra 2 running Solaris 2.5.1 as the boot drive failed. Now I can't log on from the Windows XP using WS_FTP Pro, and can't see the PC on the sun using ftp (it just hangs).

I think I need to add IP addresses to the host file on the Sun box, but can't find information on what needs to go where.
# 2  
Old 07-28-2006
Your host file on the Sun system should be in /etc. (it may be a link to /etc/inet/hosts - 2.5.1 is a very old version - I don't recall if the link existed in that version or not).

See the man page hosts.
# 3  
Old 07-28-2006
Yes, the hosts file is in /etc/inet.
But I'm not sure if my PC IP address needs to be in there for FTP to work in order to connect from the PC to the Sun box.
I couldn't find anything in the ftp man pages regarding with Sun system files FTP looks at.
# 4  
Old 07-28-2006
Quote:
can't see the PC on the sun using ftp (it just hangs)
Quote:
I'm not sure if my PC IP address needs to be in there for FTP to work
You don't have to have the PC ip address in /etc/hosts but it makes it easier - you can run a ftp command to an IP (this would be a way to test if the connection is working before editing /etc/hosts - next part is an example)

$ ftp 10.140.10.10

then put your system IP INTO /etc/hosts (next part is an example)
10.140.10.10 myPC

then you can use

$ ftp myPC
# 5  
Old 07-28-2006
Thanks for the help.
I can ping the IP on the Sun and ftp to it and it says I am connected.
However, it still will not let me log on to the Sun.
Since the users had to all be re-created on the Sun, I'm wondering if something in the user has to be set up
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to setup a password less ftp??

hi, i want to setup a password less FTP to a remote server so that i can ftp to a remote server without the password. i have setup a passwordless ssh and i am able to use scp commands to connect to the remote server without asking for the password. but when i try to ftp to the same remote... (6 Replies)
Discussion started by: Little
6 Replies

2. UNIX for Dummies Questions & Answers

To setup chrooting ftp

Hi Guru's , Can some one explain me what is chrooting ftp and how to setup the same in Solaris 10 Local zone (Sparse). Thanks In Advance. (1 Reply)
Discussion started by: rama krishna
1 Replies

3. UNIX for Advanced & Expert Users

ftp server setup help

Hello all, Am in the process of setting up ftp server in my RHEL3 box. Here is where I downloaded the vsftp server ftp://scary.beasts.org/users/cevans/vsftpd-2.1.1pre1.tar.gz ftp server daemon is running fine, accepting connections from client but the issue is that 'user' I specifically... (3 Replies)
Discussion started by: matrixmadhan
3 Replies

4. UNIX for Advanced & Expert Users

Setup Secure FTP

Hi All, Please help me to setup the secure Ftp. I want to build a ftp which should ask the Login id and password, and one thing more a particular login should be enable to read/write only his/her directory i.e,s a user should not be able to open the other directories in the ftp.Please help me... (1 Reply)
Discussion started by: akhtar.bhat
1 Replies

5. UNIX for Advanced & Expert Users

MVS->Unix FTP : Using chmod as part of FTP.

We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for unix machine. Has anyone used chmod command in association with site command in ftp? How it should be used? Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies

6. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

7. HP-UX

How To Setup Ftp Server

Hi, I'm planning to setup ftp server but I dont have yet what platform i'll be using. I think what ever flavor it is it will go in the same approach right, anyway I just would like to ask how to setup ftp in unix I know too many of here alraedy done with it. Thanks in advance. (0 Replies)
Discussion started by: eykyn17
0 Replies

8. UNIX for Dummies Questions & Answers

How To Setup Unix In Pc

Hi, I am new to this forum, and i am trying to learn unix at my home, i do have desk top, and installed windows, also the hard disk space is 80GB, so please guide me , advise me for how to proceed. Your help is needed. Thank you in advance. Aksha. *** email deleted *** (3 Replies)
Discussion started by: akshamani
3 Replies

9. Solaris

user setup - only ftp access

I want to setup a user on my server and only allow that user to ftp to my server but not to be able to get to command line (telnet /ssh) I ammended my /etc/passwd so the users shell would be /usr/bin/false and this prevents log on but it also prevents the ftp.. Any ideas? (1 Reply)
Discussion started by: frustrated1
1 Replies

10. UNIX for Dummies Questions & Answers

How to setup an FTP server?

i want setup an ftp server on my homelab now i downloaded resource management book from sun there it shows you how to make the entry in the inet.d.conf file also how to control ftp access but how do u actually set it up? say like i want certain file to be obtain through ftp how do i do that? oh... (1 Reply)
Discussion started by: rmuhammad
1 Replies
Login or Register to Ask a Question