Example Of Firmware Upload Using Ftp; Shell Script - ZyXEL Communications NWA5301-NJ User Manual

802.11 b/g/n in-wall managed access point
Hide thumbs Also See for NWA5301-NJ:
Table of Contents

Advertisement

14.3.1 Example of Firmware Upload Using FTP

This procedure requires the NWA's firmware. Download the firmware package from www.zyxel.com
and unzip it. The firmware file uses a .bin extension, for example, "410AANB0C0.bin". Do the
following after you have obtained the firmware file.
Connect your computer to the NWA.
1
The FTP server IP address of the NWA in standalone AP mode is 192.168.1.2, so set your computer
2
to use a static IP address from 192.168.1.3 ~192.168.1.254.
Use an FTP client on your computer to connect to the NWA. For example, in the Windows command
3
prompt, type ftp 192.168.1.2. Keep the console session connected in order to see when the
firmware recovery finishes.
Enter your user name when prompted.
4
Enter your password as requested.
5
Enter "hash" for FTP to print a `#' character for every 1024 bytes of data you upload so that you
6
can watch the file transfer progress.
Enter "bin" to set the transfer mode to binary.
7
Transfer the firmware file from your computer to the NWA. Type put followed by the path and name
8
of the firmware file. This examples uses put C:\ftproot\NWA_FW\410AANB0C0.bin.
C:\>ftp 192.168.1.2
Connected to 192.168.1.2.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 5 allowed.
220-Local time is now 21:28. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 600 minutes of inactivity.
User (192.168.1.2:(none)): admin
331 User admin OK. Password required
Password:
230 OK. Current restricted directory is /
ftp> hash
Hash mark printing On
ftp> bin
200 TYPE is now 8-bit binary
ftp> put C:\ftproot\NWA_FW\410AANB0C0.bin
Wait for the file transfer to complete.
9
10 Enter "quit" to exit the ftp prompt.

14.4 Shell Script

Use shell script files to have the NWA use commands that you specify. Use a text editor to create
the shell script files. They must use a ".zysh" filename extension.
NWA5301-NJ User's Guide
ftp: (2048 bytes/hash mark) .
Chapter 14 File Manager
159

Advertisement

Table of Contents
loading

Table of Contents