Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: groutley on January 20, 2009, 04:43:15 AM

Title: tftpd and -708
Post by: groutley 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
Title: Re: tftpd and -708
Post by: SARK devs 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

Title: Re: tftpd and -708
Post by: groutley on January 20, 2009, 10:03:19 PM
Thanks Selintra,
  that did the trick  :-)
Title: Re: tftpd and -708
Post by: SARK devs on January 20, 2009, 10:46:25 PM
Excellent - it will be fixed properly in 709

thx for the input

S