Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: Drifting on February 21, 2018, 03:53:39 PM
-
Hi all.
I am pretty sure I saw someone else had done this, but a quick search did not bring anything up. What I am trying to do is get the TFTP contrib I have installed to push a firmware update to some Snom phones. Now must admit I am a little hazy with TFTP and know little apart from what the contrib says. I have the firmware located in the /tftpboot directory, but it does nothing on the phone apart from saying downloading? But never achieves it.
I have followed the instructions from snom about naming the file so the phone will look for it, but pretty sure I am missing something within TFTP to tell it how to push it?
No rush, was something I was playing with and trying to get my head round.
Regards
-
I use it for all mine. Two different locations & a mixture of phones.
You can turn on the (limited) verbosity to help.
You can also try tftp manually from another workstation to see if you can retrieve the files.
What settings have you got on phone and server?
I'll help if I can.
-
Hi, thanks for the reply
As for settings, only the default install of the TFTP install, have the bin file located in the /tftpboot directory.
Nothing really on the phones, I just press the button on startup for tftp, put in an ip for the phone, then the IP of the TFTP server, and DFG. Will have a play with verbosity, as I tried a local tftp and it just timed out (tftp serverip get filename.bin)
also tried get /tftpboot/snom.bin
Paul.
-
Fix it by using manual tftp client first.
Once that works the phone will :-)
Just about to go off for the weekend. Will look closer when back
-
config show tftpd
tftpd=service
UDPPort=69
access=private
directory=/tftpboot
log=verbose
privilege=ro
status=enabled
timeout=default
user=nobody
-
netstat -an |grep 69
udp 0 0 192.168.10.1:69 0.0.0.0:*
-
Mine looks nearly the same.
root@gateway ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
directory=/tftpboot
log=normal
privilege=ro
status=enabled
timeout=default
user=nobody
And
[root@gateway ~]# netstat -an |grep69
-bash: grep69: command not found
[root@gateway ~]# netstat -an |grep 69
udp 0 0 10.0.0.1:69 0.0.0.0:*
Have a great weekend, appreciate your help, catch up when you have time, thanks again.
Paul.
-
Ok. I'm back late Sunday night. Got a weekend in Tortosa to enjoy :-) :pint:
-
Bacl and about.
Got any further with a manual client?
I am assuming you are doing this all on the same subnet?
I'll do a test on mine to see what happens.
-
OK, I just did as follows on a *buntu desktop
tftp
For available commands do:
tftp ?
tftp> verbose
Verbose mode on.
tftp> connect 192.168.10.1
tftp> get gxp1700fw.bin
getting from 192.168.10.1:gxp1700fw.bin to gxp1700fw.bin [netascii]
Received 26663033 bytes in 14.9 seconds [14315722 bits/sec]
tailf /var/log/messages
Feb 26 21:33:22 home in.tftpd[2079]: RRQ from 192.168.10.20 filename gxp1700fw.bin
Feb 26 21:33:37 home in.tftpd[2079]: Client 192.168.10.20 finished gxp1700fw.bin
tailf /var/log/tftpd/current
2018-02-26 21:32:46.632656500 udpsvd: info: pid 2054 from 192.168.10.20
2018-02-26 21:32:46.632900500 udpsvd: info: start 2054 home.reetspetit.net:192.168.10.1 :john-xubuntu.reetspetit.net:192.168.10.20:49671
tftp> get pxelinux.cfg/tools
getting from 192.168.10.1:pxelinux.cfg/tools to tools [netascii]
Received 2394 bytes in 0.0 seconds [inf bits/sec]
Feb 26 21:39:38 home in.tftpd[2319]: RRQ from 192.168.10.20 filename pxelinux.cfg/tools
Feb 26 21:39:38 home in.tftpd[2319]: Client 192.168.10.20 finished pxelinux.cfg/tools