Operating System - HP-UX
1753543 Members
5443 Online
108795 Solutions
New Discussion юеВ

How to add new FTP connection to HP UX Server ?

 
SOLVED
Go to solution
DnD_1
Regular Advisor

How to add new FTP connection to HP UX Server ?

Hi,

Currently we have 1 FTP to the server, and now our client need to us to add 2 new FTP connection.

Anyone can guide me on this ? what should I do ?

Our box is HP-UX B.11.11.

I have very basic in networking :(
9 REPLIES 9
Steven Schweda
Honored Contributor

Re: How to add new FTP connection to HP UX Server ?

> what should I do ?

Explain more clearly exactly what you wish to
do.
Ivan Krastev
Honored Contributor

Re: How to add new FTP connection to HP UX Server ?

Perhaps you want another user with ftp access ?

Could you explain more ?

regards,
ivan
DnD_1
Regular Advisor

Re: How to add new FTP connection to HP UX Server ?

hi again,
sorry :(

i have to add 2 more new ftp connection to our hp ux server.

what i did, were add the new ip in /etc/rc.config.d/netconf

then add route net (ip) mask 1

and then in edit /etc/ftphosts

is there anything i miss out ? caused it still doesnt work...



Steven Schweda
Honored Contributor

Re: How to add new FTP connection to HP UX Server ?

> i have to add 2 more new ftp connection to
> our hp ux server.

I don't know what that means.

> what i did, were add the new ip in
> /etc/rc.config.d/netconf

Now you're scaring me.

What, exactly and simply, is the problem
which you are trying to solve?

> [...] it still doesnt work...

"It doesn't work" is not a useful problem
description. It doesn't say what you did,
and it doesn't say what happened when you did
it.
DnD_1
Regular Advisor

Re: How to add new FTP connection to HP UX Server ?

sorry :C

i have 2 ip, which need to add into our ftpserver, these ip are use to access our ftpserver to get some data.

now my questions is, what should i do, to add the ip into our hp ux box ?

:)

Steven Schweda
Honored Contributor

Re: How to add new FTP connection to HP UX Server ?

> [...] what should i do, to add the ip into
> our hp ux box ?

This is still not clear to me.

I'll assume that this means that there are
two systems somewhere (with known IP
addresses), and you want them to be able to
access your FTP server.

What's stopping them now? What happens when
one of these systems tries to use your FTP
server?


You seem to be asking how to implement a
solution, but you haven't really described
the problem.

> I have very basic in networking :(

Perhaps not even that much.
DnD_1
Regular Advisor

Re: How to add new FTP connection to HP UX Server ?

hi steven,

yeah, i need to implement and make them able to access ur ftp server.

what are the steps to do in hp ux ?
Steven Schweda
Honored Contributor

Re: How to add new FTP connection to HP UX Server ?

> what are the steps to do in hp ux ?

Do _what_?

Any user with a valid account can use the FTP
server (unless you stop him). Anonymous FTP
can also be used. Users have nothing to do
with IP addresses.

I realize that English is a second language
here, but my psychic powers are too weak to
tell me what you're trying to do, and you're
not doing the job, either.
Johnson Punniyalingam
Honored Contributor
Solution

Re: How to add new FTP connection to HP UX Server ?

Hi ,

How to add new FTP connection to HP UX Server ?

important:- please check below files are present in FTP _Server

enable are service like ftp , please check on the

/etc/inted.conf

/var/adm/inetd.sec

check on the shells..also

more /etc/shells

before you try to setup ftp connection you need check ftp port has been opened on the ftp server.?

step 1:- you can create a new ftp user account (eg :- ftpuser1 , ftpuser2 ) in the target server (FTP Server)

useradd -u 30004 -m -d /home/ftpuser1 -s /usr/bin/ftpshell
ftpuser1

useradd -u 30005 -m -d /home/ftpuser2 -s /usr/bin/ftpshell
ftpuser2

step2:- "Source_host"



Eaxmple :-

hptest:[/home] >ftp hptest
Connected to hptest.
220 hptest FTP server (Version 1.1.214.4 Mon Feb 15 08:48:46 GMT 1999) ready.
Name (hptest:ftpuser1):ftpuser1
password
Remote system type is UNIX.
Using binary mode to transfer files.

Rds,
Johnson


Problems are common to all, but attitude makes the difference