7005 questions

8390 answers

13623 comments

10298 members

0 votes
282 views 2 comments
by
Hi, I'm need it install TFTP package but I can't find on OPKG list working package. Could you help me?

1 Answer

0 votes
by

Hello,

I checked on my RUTX11 and RUT955 there is a ftpt packages:

RUTX11:

root@Teltonika-RUTX11:~# opkg list | grep tftp
atftp - 0.7.1-5 - TFTP client
atftpd - 0.7.1-5 - TFTP server
erlang-inets - 5.10.6 - Erlang/OTP is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance. . This Erlang/OTP package provides a container for Internet clients and servers. Currently a FTP client, a HTTP client and server, and a tftp client and server have been incorporated in Inets.
iputils-tftpd - 20101006-1 - Program tftpd from iputils Trivial File Transfer Protocol server.
kmod-nf-nathelper-extra - 4.14.171-1 - Extra Netfilter (IPv4) Conntrack and NAT helpers Includes: - amanda - h323 - irc - mms - pptp - proto_gre - sip - snmp_basic - tftp - broadcast

RUT955:

What I can recommend is make sure that Teltonika device which you are using has the latest available firmware: https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads and also, once you connect to the SSH/CLI try using these commands:

- opkg update

- opkg list | grep tftp

by
Hi, I use RUT955 routers. I installed iputils-tftpd but I don't know how start tftpd and this package don't have a tftp client.

root@Teltonika-RUT955:~# opkg list | grep tftp

erlang-inets - 5.10.6 - Erlang/OTP is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance. . This Erlang/OTP package provides a container for Internet clients and servers. Currently a FTP client, a HTTP client and server, and a tftp client and server have been incorporated in Inets.
iputils-tftpd - 20101006-1 - Program tftpd from iputils Trivial File Transfer Protocol server.
kmod-nf-nathelper - 3.18.23-1 - Default Netfilter (IPv4) Conntrack and NAT helpers Includes: - ftp - irc - tftp

root@Teltonika-RUT955:~# opkg install iputils-tftpd
Installing iputils-tftpd (20101006-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/iputils-tftpd_20101006-1_ar71xx.ipk.
Configuring iputils-tftpd.
root@Teltonika-RUT955:~# tftp
-ash: tftp: not found
root@Teltonika-RUT955:~# atftp
-ash: atftp: not found

root@Teltonika-RUT955:~# tftpd --help
root@Teltonika-RUT955:~# tftpd -help
root@Teltonika-RUT955:~# tftpd -h
root@Teltonika-RUT955:~# tftpd -?
root@Teltonika-RUT955:~# tftpd ?
root@Teltonika-RUT955:~# tftpd /?
root@Teltonika-RUT955:~# /help
-ash: /help: not found
root@Teltonika-RUT955:~# tftpd /help
root@Teltonika-RUT955:~#
by

Hello,

Made a little research and it seems that default dnsmasq already has TFTP simply need to enable it. Here is a great page where it explains how you can enable it on OpenWRT, keep in mind RUT9 is using firmware which is based on OpenWRT.

https://github.com/alghanmi/openwrt_netgear-wndr3700/wiki/TFTP-Server-on-Your-OpenWRT-Router

Also, keep in mind that you probably would have to manually create /mnt/storage/tftp directory. Commands:

- cd /mnt

- mkdir storage

- cd /storage

- mkdir tftp

- cd /tftp

- vi test (enter any message for test purpose)

- /etc/init.d/dnsmasq restart

Open tftp sw and check if you can get file/information from RUT955.

Here is my results: