Tftp Upload Command Example; Uploading Via Console Port (Only For Zyair B-2000) - ZyXEL Communications ZyAIR User Manual

Wireless gateway series
Hide thumbs Also See for ZyAIR:
Table of Contents

Advertisement

Step 1.
Use telnet from your computer to connect to the ZyAIR and log in. Because TFTP does not have
any security checks, the ZyAIR records the IP address of the telnet client and accepts TFTP
requests only from this address.
Step 2.
Put the SMT in command interpreter (CI) mode by entering 8 in Menu 24 – System
Maintenance.
Step 3.
Enter the command "sys stdio 0" to disable the console timeout, so the TFTP transfer will not be
interrupted. Enter "command sys stdio 5" to restore the five-minute console timeout (default)
when the file transfer is complete.
Step 4.
Launch the TFTP client on your computer and connect to the ZyAIR. Set the transfer mode to
binary before starting data transfer.
Step 5.
Use the TFTP client (see the example below) to transfer files between the ZyAIR and the
computer. The file name for the firmware is "ras".
Note that the telnet connection must be active and the ZyAIR in CI mode before and during the TFTP
transfer. For details on TFTP commands (see following example), please consult the documentation of your
TFTP client program. For UNIX, use "get" to transfer from the ZyAIR to the computer, "put" the other way
around, and "binary" to set binary transfer mode.

28.4.6 TFTP Upload Command Example

The following is an example TFTP command:
tftp [-i] host put firmware.bin ras
where "i" specifies binary image transfer mode (use this mode when transferring binary files), "host" is the
ZyAIR's IP address and "put" transfers the file source on the computer (firmware.bin – name of the
firmware on the computer) to the file destination on the remote host (ras - name of the firmware on the
ZyAIR).
Commands that you may see in GUI-based TFTP clients are listed earlier in this chapter.

28.4.7 Uploading Via Console Port (only for ZyAIR B-2000)

FTP or TFTP are the preferred methods for uploading firmware to your ZyAIR. However, in the event of
your network being down, uploading files is only possible with a direct connection to your ZyAIR via the
console port. Uploading files via the console port under normal conditions is not recommended since FTP
or TFTP is faster. Any serial communications program should work fine; however, you must use the
Xmodem protocol to perform the download/upload.
Firmware and Configuration File Maintenance
ZyAIR Wireless Gateway Series User's Guide
28-13

Advertisement

Table of Contents
loading

Table of Contents