I know I am going to look like an idiot but I simply cannot ftp into my mesh node(s). I am setting up option 66 so I can provision a couple of phones that are connected to the mesh node. I need to transfer the files required for provisioning.
I keep getting connection refused. This issue occurs whether I am trying to connect from a Windows or Linus instance.
Is there some secret sauce that I need to use with the latest release version of the firmware?
I know that there is nothing on my desktop machine that is blocking. I have the firewall turned completely off.
Thanks in advance!
Chuck...
Chuck...
You may need a 'tftp-server' and its service advertised 'on the mesh'.
Is your phone a 'tftp-client' seeking to download from a 'tftp-server'?
My DHCP server is 'PFSense' and it supports 'option 66'.
If you have already configured your tftp server and your DHCP server is PFSense:
Click on Services::DHCPServer::Additional BOOTP/DHCPOptions::Display Advanced
Option number=66, Type=Text, value=tftp://<IP-Address-of-tftp-server>
Click 'Save'.
I hope this helps,
Chuck
Yes, port 21 (ftp) is closed on all my ARDEN firware'd devices.
You might be able to ftp with a IP phone that got is address from a node.
If your host is on the same LAN or the IP phone is an advertised service.
'Option 66' uses TFTP, HTTP, and/or HTTPS, but not FTP. :-|
Chuck
I HAVE configured the on-board tftp server to use option 66 and that works fine.
What I want to do is ftp INTO the node so I can put the provisioning files into a folder /tftp on the node.
For all of you developer types a node should be able to do what I want to do natively so provisioning phones would be a whole bunch easier for us asterisk/freepbx guys. Done right the phone gets it's address AND where the files are located for provisioning. I'd love to see that as part of the setup page along with a web based ability to upload any kind of file to the node.
Thanks for all the good advice!
Chuck...
Download WinSCP ( https://winscp.net/eng/index.php ) and connect to the node via SCP on port 2222. Then you can just drag and drop the files you want to move to the node.
Andre, K6AH
You can SCP from the command line on a raspberry pi, or other computer, too. Definitely the easy way to do it.
Ken
Andre and Ken have an alternative solution.
[Linux] scp may be used in lieu of ftp.
I just transferred files
up and down and node to workstation and workstation to node
using scp.
Chuck
ummm - where is the "on-board tftp server"?
I checked two of my nodes and cannot find a tftp program. I believe there is one as part of the bootloader, but I do not see one as part of the OS.
Do you mean you found one and installed it on your node? Which one?
Ken
I misspoke. I meant that I configured the on-board dhcp (dnsmasq.conf) to allow option 66 which points to the tftp server on my freepbx server. There is a an article on the forum that speaks to actually using the node as a tftp server. I have not tried that yet. The info I saw was not entirely correct in the first place.
Ain't this fun?
I completely forgot about being on port 2222!
Grumble. Getting old I guess.
Thanks to all for your replies. Your the best!
Now, off to troubleshoot a mis-configured trunk between to freepbx servers.
I am going to write all of this up and publish it.