1831294 Members
2922 Online
110022 Solutions
New Discussion

tftp service

 
SOLVED
Go to solution
Igor Sovin
Super Advisor

tftp service

Hi!

I need to put configuration of MDS 9120 switch to tftp server. How to configure tftp service on hp-ux host to do that?
7 REPLIES 7
Denver Osborn
Honored Contributor
Solution

Re: tftp service

In addition to the tftpd man page, here's a thread to help out...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97116

If you have access to technical docs, DocID KBRC00015669 "How to install and troubleshoot tftp" will do it

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081573202

-denver
Igor Sovin
Super Advisor

Re: tftp service

I dont have permission to technical docs.
Could you attach brief discription from that document for me?
Denver Osborn
Honored Contributor

Re: tftp service

Have a look here, it's pretty much the same info... excpet you don't need a support contract to view the online manuals. There are also several existing ITRC threads out there that should help if the below doc doesn't get it up and running.

http://docs.hp.com/en/B2355-90147/ch05s04.html

-denver
Steven E. Protter
Exalted Contributor

Re: tftp service

Shalom Igor,

You need to configure /etc/inetd.conf to allow the tftp server.

There needs to be a tftp user on the system(there usually is with hpux).

The user's home directory in /etc/passwd must not conflict with inetd.conf

inetd -c
# restarts inetd which manages and runs tftp

You must make sure that the tftp user owns all files in /home/tftp and owns the directory. You can use a different directory, but tftp will fail without strict ownership.

That is a manual summary from memory. I just did a meeting on setting this up so I'm fairly familiar.

Good Luck Igor,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Igor Sovin
Super Advisor

Re: tftp service

what group must tftp user belong to?
Igor Sovin
Super Advisor

Re: tftp service

I've created group named tftp, change the ownership of /home/tftp to user tftp
but the following error occures

UIT1# copy running-config tftp://10.1.1.41/mds9120.cfg
Trying to connect to tftp server......

TFTP put operation failed:Access violation
Denver Osborn
Honored Contributor

Re: tftp service

Igor,

"TFTP put operation failed:Access violation" would suggest that the tftp user doesn't have sufficient permissions to write the file. Have you checked the permissions on the tftp users $HOME to verify the dir is writable?

Is /home/tftp atleast 0700? If so, maybe touch /home/tftp/switch.cfg and set the new file mode to 0600, owned by tftp user. Then go back to your switch and try to tftp the switch config to the hpux tftp server again.. this time saving it as the file just created, /home/tftp/switch.cfg.

Hope this helps,
-denver