Cisco WAP200 Administration Guide - Page 65
Scheduled, install, Using cURL - firmware
UPC - 745883574452
View all Cisco WAP200 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
Chapter 2 How it works Chapter 2 Scheduled install The WAP-200 can automatically retrieve and install firmware from a local or remote URL. By placing WAP-200 firmware on a web or ftp server, you can automate the update process for multiple units. When the update process is triggered, the WAP-200 retrieves the first few bytes of the firmware file to determine if it is different than the active version. If different, the firmware is downloaded and installed. Configuration settings are preserved. However, all connections will be terminated forcing users to log in again. Using cURL It is possible to automate management tasks using a tool like cURL. cURL is a software client that can be used to get/send files to/from a server using a number of different protocols (HTTP, HTTPS, FTP, GOPHER, DICT, TELNET, LDAP or FILE). cURL is designed to work without user interaction or any kind of interactivity. It is available for Windows and LINUX at: http://curl.haxx.se/. You must use version 7.10 or higher. The following cURL commands illustrate how to update the firmware. The following setup is assumed: • IP address of the WAP-200's Ethernet port is 24.28.15.22. • Management access via the Ethernet port is enabled. • Firmware is located in the file: WAP-200.CIM These examples are non-secure (no certificates are used authentication), but data traffic is still encrypted. Note: If you want to secure the connection with the WAP-200 using certificates, you must use the --cacert option to specify where the CA certificates are located on your computer. This also requires that you specify the host name wireless.colubris.com instead of using its IP address. The host name must be resolved either via a DNS server or using the hosts file on your computer. Uploading the firmware 1. Prepare the WAP-200 to receive the login. curl -s -k "https://24.28.15.22/home.asp" 2. Login to the management interface. curl -s -k --dump-header cookie.txt "https://24.28.15.22/goform/Logout" -d username=admin -d pw=admin 3. Prepare the WAP-200 to receive the firmware update. curl -s -k --cookie cookie.txt "https://24.28.15.22/script/ firmware_init.asp" 4. Upload the firmware. Once the upload is complete the WAP-200 will automatically restart. curl -s -k --cookie cookie.txt -F [email protected] -F backup=Install "https://24.28.15.22/goform/ScriptUploadFirmware" 65