Shadowfire
(Jeff Davis)
February 23, 2024, 4:24pm
1
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 -
I looked thought the following posts and found this post-
NethServer Version: 7.9
Hi, I try to setup tftp-server:
[grafik]
But get an error:
[grafik]
Any infos or suggestions?
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-
ibinetwork
(Rafael Tavares)
February 23, 2024, 4:41pm
2
Create a link /tftpboot to /var/lib/tftpboot
3 Likes
Stll0
(Stefano Fancello)
February 23, 2024, 4:48pm
3
2 Likes
LayLow
(LayLow)
February 23, 2024, 6:14pm
4
Shadowfire:
/var/lib/tftboot
Correct permissions on the dir?
ls -l /var/lib/tftpboot
2 Likes
Shadowfire
(Jeff Davis)
February 23, 2024, 7:16pm
5
ibinetwork:
tftpboot
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.
Shadowfire
(Jeff Davis)
February 23, 2024, 7:22pm
6
Before I did @ibinetwork suggestion it was …
After @ibinetwork suggeestion and using the following
ls -l /var/lib/tftpboot
I got this -
Thanks @LayLow
Getting the following now (in OSS End Point > Extention Mapping)
/tftpboot is not writable
Still something to do with permissions …
Shadowfire
(Jeff Davis)
February 23, 2024, 11:00pm
8
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-
LayLow
(LayLow)
February 25, 2024, 9:33am
9
Not sure, never needed to use it (softphones only) but I suggest you STN (Search The Net) for it e.g. ‘ownership tftpboot’
HTH