Opened 19 years ago
Closed 19 years ago
#4607 closed defect (fixed)
tftp-hpa worse than useless
Reported by: | bahamat@… | Owned by: | digdog@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
for the life of me I can't get tftpd to listen on the tftp port. tftpd does not seem to have any options controlling this behaviour and my firewall is off. It just flat does not work.
Change History (2)
comment:1 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to digdog@… |
---|
comment:2 Changed 19 years ago by digdog@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
To use tftpd, you'll need to modified settings in inetd.conf/xinetd.d/launchd depending on what you use on your system.
For inetd, something like: tftp dgram udp wait nobody ${prefix}/sbin/in.tftd tftpd /private/tftpboot should do it. And tell inetd to reload its configuration.
For xinetd (the default on Mac OS X 10.3), you should edit file /etc/xinetd.d/tftp and change the server setting from /usr/libexec/tftpd into ${prefix}/sbin/in.tftd Then, use service(8) command to reload xinetd configuration.
For launchd (the default on Mac OS X 10.4 Tiger), you'll need to change the tftp.plist file in /System/Library/LaunchDaemons/. By changing the first string value inside the ProgramArguments key from /usr/libexec/tftpd into ${prefix}/sbin/in.tftd And start the server with service(8) command.
Note: the message above had been added into latest Portfile as post-install ui_msg.
Hope the frustrating Bahamat can be happier.
assign to maintainer;