1833676 Members
4457 Online
110062 Solutions
New Discussion

tftp

 

tftp

I have two lines with tftp configured in my inetd.conf , like :

tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite

tftp dgram udp wait root /RJOP1/dos/bsg/tftp/tftpd32 tftpd32 -p2121 -l100 /RJOP1/dos/bsg

but , only the second one is working. How can I join it ?
8 REPLIES 8
Jeff Schussele
Honored Contributor

Re: tftp

Hi,

Short answer - You can't.
IF the services have the same name, socket type & protocol then only one will be executed.
So you have to either:
1) Setup a new service name on another port.
2) Use a different socket type like stream
or
3) Use another protocol - tcp in this case

Unfortunately none of these would be a trivial change. So what you might do is comment out the one least used & then juggle the commenting when necessary.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Scot Bean
Honored Contributor

Re: tftp

The first entry is only needed/added only on an Ignite server. If your machine is NOT an Ignite server, you do not need it.

Re: tftp

My machine is a ignite server. This is my problem, my ignite server does not work.
The other line is used for application, and I can't change.
Scot Bean
Honored Contributor

Re: tftp

I am not familiar with the application that needs the second entry.

However, wondering if the application can really use HPUX tftp instead of the one listed. May be worth a try:

tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite /RJOP1/dos/bsg

(Append the application's path to the end of the original line, comment out the second line, run inetd -c, see if application still works.)

Re: tftp

I think that is not possible to join the lines, because the daemon is tftpd in one line and tftpd32 on the other one. I already try to put the path of ignite in the end of "tftpd32" line. Doesn't work.
Well, my problem is with ignite, that needs the first line with tftpd , then I will try other solution, or make other ignite server.
Jie Li
Frequent Advisor

Re: tftp

I am curious what you use tftp for?

Re: tftp

for a Software distributor application.

Ok, people, thanks for help, I will change my ignite server .

Re: tftp

.