jharre
New Member
- Joined
- Jun 9, 2014
- Messages
- 14
- Reaction score
- 0
While on vacation, a newer version of IncrediblePi was released and I loaded it up after returning. Still had the same problem with the t*f*t*p server and did some more digging.
Basically, there's an option missing in the file /etc/default/tftpd-hpa. Apparently, tftpd-hpa tries to start up in IPv6 and dies when it doesn't find it. The fix is to change the configuration file to add "--ipv4" to the TFTP_OPTIONS line:
Edit it using:
and change the file to look like this:
After saving the file, restart the service using:
Now my Cisco phones find the configuration files in the /tftpboot directory as expected!
Basically, there's an option missing in the file /etc/default/tftpd-hpa. Apparently, tftpd-hpa tries to start up in IPv6 and dies when it doesn't find it. The fix is to change the configuration file to add "--ipv4" to the TFTP_OPTIONS line:
Edit it using:
Code:
nano /etc/default/tftpd-hpa
Code:
# /etc/default/tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /tftpboot"
TFTP_USERNAME="t*f*t*p"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--ipv4 --secure"
Code:
service tftpd-hpa restart
Now my Cisco phones find the configuration files in the /tftpboot directory as expected!