FreePBX / Get TFPT running

NethServer Version: 7.9
Module: FreePBX

So I was trying to bring up TFTP for use with FreePBX so I can update my firmware on phones.

I did a yum install tftp.

That definitely installed it.

and then typed the following in -

config setprop dnsmasq tftp-status enabled
signal-event nethserver-dnsmasq-save

When going in to OSS End Point > Extention Mapping.

I get the followig -

Please create /tftpboot, even if you won’t use it

as you can see /var/lib/tftboot exitists as show below -

2024-02-23_11-26

I looked thought the following posts and found this post-

I also looked up these for help and reference -

https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-dnsmasq.html#tftp-server

https://docs.nethserver.org/en/v7/dhcp.html#boot-from-network-configuration

But I can’t seem to get TFTP running correctly.

Any thoughts on what may help me get TFTP running?

Thanks,
-SF-

Create a link /tftpboot to /var/lib/tftpboot

3 Likes

dnsmasq does the tftp on NS7. nethserver-dnsmasq — NethServer 7 documentation

2 Likes

Correct permissions on the dir?

ls -l /var/lib/tftpboot
2 Likes

Thanks! @ibinetwork

I did that and it gave me -

/tftpboot is not writable

I believe the above is due to permissions. I have to remember and review what permissions on /var/lib/tftpboot needs to change to. I am looking at this right now.

Before I did @ibinetwork suggestion it was …

2024-02-23_14-02

After @ibinetwork suggeestion and using the following

ls -l /var/lib/tftpboot

I got this -

2024-02-23_14-21

Thanks @LayLow

Getting the following now (in OSS End Point > Extention Mapping)

/tftpboot is not writable

Still something to do with permissions …

I know I can make chmod 777 /var/lib/tftpboot which gives everyone access.
I know it can also be chmod 766 /var/lib/tftpboot will also still give access.

Is there a recommended permission for tftp folder on nethserver?

Thanks
-SF-

Not sure, never needed to use it (softphones only) but I suggest you STN (Search The Net) for it e.g. ‘ownership tftpboot’

HTH