TFTP to be installed in Linux same asterisk machine to be used with Cisco

Home » Asterisk Users » TFTP to be installed in Linux same asterisk machine to be used with Cisco
Asterisk Users 7 Comments

Hi All;

Any one can suggest a TFTP server to be installed in Fedora (same machine that Asterisk is installed) to be used for Cisco IP Phones to download the required firmware and configuration files.

Thanks for the help in advance.
Regards
Bilal

7 thoughts on - TFTP to be installed in Linux same asterisk machine to be used with Cisco

  • bilal ghayyad wrote:

    The one in the repos should be fine. I’m not Fedora (I’m Mandriva), but
    both are RPM based. Try:

    yum install tftp-server. The one that comes with Mandriva works fine
    with our Cisco 7940/7960 phones.

    Doug

  • I suggest you learn the configuration. You don’t want a TFTP server
    facing the world. Restrict TFTP to your LAN interface.

    Outside phones should certainly be using FTP.

    I don’t even bother with TFTP since it is not secure. I use FTP in
    every situation.

    A savvy hacker can download your TFTP configuration files and use your
    system for toll fraud or any other nefarious purpose.

    Better safe than sorry.

    Thanks,
    Steve Totaro

  • Dears;

    Thanks alot for the kindly help.

    I installed the tftp-server, and I configured it.

    How can I see the the files are now loaded? Normally in the windows, I can see that a request reached to the TFTP server and the files now are loaded (upload or download)?

    From the other side, about the res_phoneprov_and_TFTP, actually I do not see it that it is used to download the firmware and configuration files, but I see it is used for provisioning, correct?

    Regards
    Bilal

  • The tftp daemon should log the transfers via syslogd. For example:

    Jun 12 12:03:23 dt in.tftpd[11486]: RRQ from 192.168.0.19 filename /spa841.cfg

    I start tftp via xinetd and the configuration looks like this:

    service tftp
    {
    cps = 100 2
    bind = 192.168.0.1
    disable = no
    flags = IPv4
    per_source = 11
    protocol = udp
    server = /usr/sbin/in.tftpd
    server_args = -c -s /tftpboot -v -v -v -v -v -v
    socket_type = dgram
    user = root
    wait = yes
    }

  • On Sun, Jun 12, 2011 at 3:18 PM, Steve Edwards
    wrote:

    You should really be asking on the Fedora lists or even Google, this
    is about TFTP on Fedora, not anything to do with Asterisk.

    http://tinyurl.com/6xj3he3
    http://tinyurl.com/3hjtwsu

    Also, check /var/log/messages on your server. Are there any tftp messages there?
    Also run tftpd with the “-v” flag (multiple times — try “man tftpd”).

    Thanks,
    Steve Totaro