Upgrading Firmware with a TFTP Server

How can I upgrade the software on my Lantronix device using TFTP?


There is a widely available freeware tftp server for Windows you can use to load firmware. It’s called TFTPD32 for 32 bit Windows, TFTPD64 for 64 bit Windows, available from:
http://tftpd32.jounin.net/

To install and use the stand-alone tftp server:

1. Download the current version of tftpd32 or tftpd64 from http://tftpd32.jounin.net/tftpd32_download.html.

2. Copy the tftpdxxb.zip file into an empty directory and extract it.

3. Copy the firmware file for your Lantronix product into the same directory that TFTP32.EXE is in.

4. Run tftpdxx.exe from that directory. The Base Directory field should show the path to the directory tftpxx.exe and the firmware file are in.
 


5a. For SCS, LRS, ETS, EPS, LPS and MPS products log into Lantronix Server (i.e. EPS1) and issue the following commands:

Local> SU

Local>SET PRIV
Password> SYSTEM <---This does not echo
Local>>DEFINE SERVER IPADDRESS x.x.x.x <--- This is the
                                            Lantronix 
                                            server's IP
                                            address.
Local>>DEFINE SERVER SOFTWARE PS1.SYS <---- No path is
                                            needed, ONLY
                                            the file name. 
                                            This is not case 
                                            sensitive.
Local>>DEFINE SERVER LOADHOST y.y.y.y <---- This is the
                                            Windows PC's
                                             IP address.

If you are upgrading across a router, you must assign a boot gateway with the following command:

Local>>DEFINE SERVER BOOTGATEWAY x.x.x.x <-- IP Address of
                                             your router
Local>>LIST SERVER BOOT <------------------- To verify 
                                             fileserver 
                                             and path
Local>>INIT RELOAD

In order for TFTP to work across a router, port 69 must be opened on the router. This will allow TFTP to pass over the routed connection.
 



5b.For MSS products use these commands. Where the he word [SERVER] is is in square brackets it is notused on the MSS1, MSS485 and MSS100. The word SERVER is required in these commands on all other MSSproducts:

Local> SET PRIVPassword> SYSTEM <---This does not echo
Local>>CHANGE [SERVER] IPADDRESS x.x.x.x <--- This is the 
                                              Lantronix 
                                              server's
                                              IP address.
Local>>CHANGE [SERVER] SOFTWARE MSS.SYS <---- No path is
                                              needed, ONLY  
                                              the file name. 
                                              This is not case  
                                              sensitive.
Local>>CHANGE [SERVER] LOADHOST y.y.y.y <---- This is the   
                                              WindowsPC's IP
                                              address.

If you are upgrading across a router, you must assign a boot gateway with the following command:

Local>>CHANGE [SERVER] BOOTGATEWAY x.x.x.x <-- IP Address of
                                               your router
Local>>SHOW SERVER BOOT <--------------------- To verify 
                                               fileserver and
                                               path
Local>>INIT RELOAD

In order for TFTP to work across a router, port 69 must be opened on the router.  This will allow TFTP to pass over the routed connection.



6. Wait for a few seconds and then look at the TFTP32 main window. You will be able to see the TFTP request made by the Lantronix server.


[Originally Published On: 07/12/1999 01:37 PM]