Koozali.org formerly Contribs.org

tftpd and -708

tftpd and -708
« on: January 20, 2009, 04:43:15 AM »
Hi Selintra,
 As I provision my Cisco Phones I rely heavily on tftpd to work.
I was previously running -684 and it seemed SAIL had taken ownership of the /tftpboot directory again,  so that every time I did a Commit  I lost all the Cisco code files and ring tones etc..
 I have now updated to -708  and tftpd is broken completely..
my SPA and Phones now get "connection refused from 192.168.xx.xxx"
I attempted a manual tftp from my laptop to get a file in the tftpboot directory and see the same refusal !
I don't think I did anything lese other than move my requireed code and ringtone files back to the directory,  but it is weel and truley broken..

Please help. (if I lose power (not an uncommon event) all my phones will be dead / unprovisioned on the return of power) not good.
Glen

Offline SARK devs

  • ****
  • 2,806
    • http://sarkpbx.com
Re: tftpd and -708
« Reply #1 on: January 20, 2009, 04:35:18 PM »
Hi Glen...

Yup you found a greenie.

Here is a quick fix for you....

use your favourite editor and open /etc/e-smith/templates/etc/hosts.allow/tftp

at or near line 40 find

Code: [Select]
if ($tftp eq 'YES')
Replace with

Code: [Select]
if ($tftp eq 'enabled')
save the code back and then do a commit in Globals.


Sorry for the inconvenience

S


Re: tftpd and -708
« Reply #2 on: January 20, 2009, 10:03:19 PM »
Thanks Selintra,
  that did the trick  :-)

Offline SARK devs

  • ****
  • 2,806
    • http://sarkpbx.com
Re: tftpd and -708
« Reply #3 on: January 20, 2009, 10:46:25 PM »
Excellent - it will be fixed properly in 709

thx for the input

S