1834459 Members
2752 Online
110067 Solutions
New Discussion

TFTP Service in hp-ux

 
Venkat_11
Regular Advisor

TFTP Service in hp-ux

I want to enable tftp services in my hp server.
I already checked /etc/inetd.conf file and uncommented the lines
# When needed by intermec
tftp dgram udp wait root /usr/lbin/tftpd tftpd\
/var/opt/intermec\
/opt/ignite\
/var/opt/ignite

# Below commented out from Ignite-UX install. reenable to use
tftp dgram udp wait root /usr/lbin/tftpd tftpd\
/opt/ignite\
/var/opt/ignite

and ran
/etc/inetd -c and /usr/sbin/inetd -c
and after that if i use
telnet localhost 69
its not working.
Can somebodyhelp me in fixing this one.

Thanks in Advance
Venkat
9 REPLIES 9
Mel Burslan
Honored Contributor

Re: TFTP Service in hp-ux

check your /etc/services file and make sure you have a tftp service enabled and listening on port 69

also if you have /var/adm/intd.sec file make sure tftp connections were not totally disbled for all IP address ranges.

if both of the above is okay, instead of inetd -c command, run these two:

/usr/sbin/inetd -k
/usr/sbin/inetd -l

HTH
________________________________
UNIX because I majored in cryptology...
john kingsley
Honored Contributor

Re: TFTP Service in hp-ux

I don't think you can telnet to the tftp port. TFTP uses tcp. What happens when you run:
tftp localhost
john kingsley
Honored Contributor

Re: TFTP Service in hp-ux

Sorry, I hit the send before I finished----

I don't think you can telnet to the tftp port. Telnet uses tcp & TFTP uses udp.

What happens when you run:
tftp localhost
Venkat_11
Regular Advisor

Re: TFTP Service in hp-ux

when i ran
tftp localhost
usxsl003:root# tftp localhost
tftp>
i am getting the following output. does it mean the services are started.????

Thanks for every body who are trying to resolve my problem.

Venkat
Venkat_11
Regular Advisor

Re: TFTP Service in hp-ux

Hi Robert,

The link which you posted is not opening.

Thanks for your reply
Venkat
Mel Burslan
Honored Contributor

Re: TFTP Service in hp-ux

at the tftp> prompt type status and hit enter

if you see something like "Connected to localhost." it means that your tftp port is listening and you are in good shape

________________________________
UNIX because I majored in cryptology...
Venkat_11
Regular Advisor

Re: TFTP Service in hp-ux

I got output like this.
Hope its seems working fine.
Thanks for everybisy who posted.
Thanks Mr Mel Burslan
tftp> status
Connected to localhost.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp>
Robert-Jan Goossens
Honored Contributor

Re: TFTP Service in hp-ux

attached.