TFTP Usage

frank
 

TFTP Usage

Mon Apr 27, 2015 8:53 am

Has anyone tried tftp command to upgrade firmware ?. Could you please post me the command usage ?. I am running the TFTP server in a Windows machine. As soon as I run the tftp command, the WISP switch is simply rebooting without validating the remote server.

Netonix Switch# firmware upgrade tftp://192.168.1.21\C:/\TFTP-Root\wispswitch-1.2.0rc11.bin
BusyBox v1.11.2 (2015-01-12 16:20:46 EST) multi-call binary

Usage: tftp [OPTION]... HOST [PORT]

Transfer a file from/to tftp server

Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file

Error: Specified firmware file does not exist
switch[925]: Reboot initiated by firmware upgrade from CLI
% Saving tftp://192.168.1.21\C:/\TFTP-Root\wispswitch-1.2.0rc11.bin to upgrade.binNetonix Switch# Terminated
@Netonix_Switch:/#

frank
 

Re: TFTP Usage

Mon Apr 27, 2015 4:29 pm

All,

Any idea about the TFTP command ?. In our production network, we can't use web browser ( http/https). So the only option is CLI to upgrade firmware.

Thanks

User avatar
ryanm
Member
 
Posts: 63
Joined: Tue Jul 29, 2014 11:00 pm
Has thanked: 36 times
Been thanked: 16 times

Re: TFTP Usage

Tue Apr 28, 2015 9:41 am

Do you routinely use this TFTP server (are you sure the path is correct)? I know that my TFTP server programs don't need a full path, you just just use the filename that is in the TFTP server's home folder.

frank
 

Re: TFTP Usage

Tue Apr 28, 2015 11:35 am

actually I tried the option > firmware upgrade tftp:\\192.168.1.21\wispswitch-1.2.0rc11.bin . This should work, but came out as an "incomplete command".


But firmware upgrade works if I execute the following commands via cmdline,

>cmdlline
$ tftp 192.168.1.21 -g -r wispswitch-1.2.0rc11.bin -l /tmp/upgrade.bin
$ firmware_upgrade /tmp/upgrade.bin


I was expecting the upgrade works from Netonix CLI, not from Linux CLI.

Thanks

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: TFTP Usage

Tue Apr 28, 2015 12:22 pm

frank wrote:actually I tried the option > firmware upgrade tftp:\\192.168.1.21\wispswitch-1.2.0rc11.bin . This should work, but came out as an "incomplete command".


But firmware upgrade works if I execute the following commands via cmdline,

>cmdlline
$ tftp 192.168.1.21 -g -r wispswitch-1.2.0rc11.bin -l /tmp/upgrade.bin
$ firmware_upgrade /tmp/upgrade.bin


I was expecting the upgrade works from Netonix CLI, not from Linux CLI.

Thanks


TFTP upgrades from the Netonix CLI is actually broken right now. As you discovered you can still do it from the linux CLI, hopefully that will work for you until we can get that fixed.

frank
 

Re: TFTP Usage

Wed Apr 29, 2015 11:23 am

I can confirm that both the Linux version of TFTP and SCP can be used to download firmware from remote server.

wifinecochea
Member
 
Posts: 4
Joined: Sat Oct 01, 2016 9:31 am
Has thanked: 0 time
Been thanked: 0 time

Re: TFTP Usage

Thu Sep 07, 2023 10:00 pm

frank wrote:actually I tried the option > firmware upgrade tftp:\\192.168.1.21\wispswitch-1.2.0rc11.bin . This should work, but came out as an "incomplete command".


But firmware upgrade works if I execute the following commands via cmdline,

>cmdlline
$ tftp 192.168.1.21 -g -r wispswitch-1.2.0rc11.bin -l /tmp/upgrade.bin
$ firmware_upgrade /tmp/upgrade.bin


I was expecting the upgrade works from Netonix CLI, not from Linux CLI.

Thanks


FUNCIONA!!!...gracias por la data!!...recuerden de instalar un server Tftpd64/32 para windows o habilitar el de linux, compartir el archivo .bin descargado y listo!!!..

IT WORKS!!!...thanks for the data!!...remember to install a Tftpd64/32 server for windows or enable the one for linux, share the downloaded .bin file and that's it!!!..

thank you Google Translate

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 43 guests