This is an AIR-LAP1142N-A-K9 powered directly from a Cisco brick (48V).
Console cable connected to "Console" port.
Network cable (10.0.1/24) connected to "Ethernet" port.
Terminal (emulator) connected to console cable (9600 8N1 noflow).
Hold MODE button depressed while applying power. Watch terminal output for "button is pressed, wait for button to be released..." message. This will appear after about 20 seconds (LED indicator will change just about that same time). Release button at this point.
The terminal session, to this point, will be similar to:
[Note that I have highlighted the "button is pressed" message]
The final line -- "ap:" -- is the prompt. Enter the commands shown in italics:
No "=" between the variable name (e.g., IP_ADDR) and its value (e.g., 10.0.1.88)!
Note that the 10.0.1.99/255.255.255.0, in this example, represents the IP of the TFTP server on this particular network. And, 10.0.1.88 is the IP I've chosen for the AP for the duration of this reflashing!
Install the new flash image (tarball) onto the TFTP server. In this case, at the top level of the TFTP service (/tftpboot/c1140-k9w7-tar.153-3.JD13.tar).
Note that external references to the TFTP server's contents will be relative to this top-level directory (/tftpboot).
Copy the contents of the tarball onto the flash: filesystem in the AP:
This will produce a flurry of output similar to:
Note that the "dots" indicate the transfer of about 4KB? of data. For example, the largest file -- c1140-k9w7-mx.153-3.JD13/c1140-k9w7-xx.153-3.JD13 (8219961 bytes) -- is followed by almost 2000 dots!
Point the bootstrap at the appropriate file:
Note carefully the name of the file selected!
Give everything a once-over:
Now, we should be ready to boot...
Console cable connected to "Console" port.
Network cable (10.0.1/24) connected to "Ethernet" port.
Terminal (emulator) connected to console cable (9600 8N1 noflow).
Hold MODE button depressed while applying power. Watch terminal output for "button is pressed, wait for button to be released..." message. This will appear after about 20 seconds (LED indicator will change just about that same time). Release button at this point.
The terminal session, to this point, will be similar to:
Code:
using eeprom values WRDTR,CLKTR: 0x80000800 0x80000000 RQDC ,RFDC : 0x80000033 0x000001c8 ddr init done IOS Bootloader - Starting system. Xmodem file system is available. DDR values used from system serial eeprom. WRDTR,CLKTR: 0x80000800, 0x80000000 RQDC, RFDC : 0x80000033, 0x000001c8 PCIE0: link is up. PCIE0: VC0 is active PCIE1: link is up. PCIE1: VC0 is active PCIEx: initialization done flashfs[0]: 5 files, 2 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 32385024 flashfs[0]: Bytes used: 2351104 flashfs[0]: Bytes available: 30033920 flashfs[0]: flashfs fsck took 13 seconds. Reading cookie from system serial eeprom...Done Base Ethernet MAC address: 00:22:90:XX:XX:XX Ethernet speed is 1000 Mb - FULL duplex [I]button is pressed, wait for button to be released...[/I] button pressed for 27 seconds process_config_recovery: set IP address and config to default 10.0.0.1 process_config_recovery: image recovery image_recovery: Download default IOS tar image tftp://255.255.255.255/c1140-k9w7-tar.default examining image... %Error opening tftp://255.255.255.255/c1140-k9w7-tar.default (connection timed out) ap:
The final line -- "ap:" -- is the prompt. Enter the commands shown in italics:
Code:
ap: [I]set DEFAULT_ROUTER 10.0.1.99[/I] ap: [I]set IP_ADDR 10.0.1.88[/I] ap: [I]set NETMASK 255.255.255.0[/I] ap: [I]tftp_init[/I] ap: [I]ether_init[/I] ap: [I]flash_init[/I] Initializing Flash... ...The flash is already initialized. ap:
Note that the 10.0.1.99/255.255.255.0, in this example, represents the IP of the TFTP server on this particular network. And, 10.0.1.88 is the IP I've chosen for the AP for the duration of this reflashing!
Install the new flash image (tarball) onto the TFTP server. In this case, at the top level of the TFTP service (/tftpboot/c1140-k9w7-tar.153-3.JD13.tar).
Note that external references to the TFTP server's contents will be relative to this top-level directory (/tftpboot).
Copy the contents of the tarball onto the flash: filesystem in the AP:
Code:
ap: [I]tar -xtract tftp://10.0.1.99/c1140-k9w7-tar.153-3.JD13.tar flash:[/I]
Code:
extracting info (283 bytes) c1140-k9w7-mx.153-3.JD13/ (directory) 0 (bytes) extracting c1140-k9w7-mx.153-3.JD13/c1140-k9w7-mx.153-3.JD13 (119277 bytes)......................... c1140-k9w7-mx.153-3.JD13/html/ (directory) 0 (bytes) c1140-k9w7-mx.153-3.JD13/html/level/ (directory) 0 (bytes) c1140-k9w7-mx.153-3.JD13/html/level/1/ (directory) 0 (bytes) extracting c1140-k9w7-mx.153-3.JD13/html/level/1/appsui.js (563 bytes) extracting c1140-k9w7-mx.153-3.JD13/html/level/1/back.shtml (512 bytes) [lots more stuff] extracting c1140-k9w7-mx.153-3.JD13/info (283 bytes) extracting c1140-k9w7-mx.153-3.JD13/file_hashes (32088 bytes)....... extracting c1140-k9w7-mx.153-3.JD13/final_hash (141 bytes) extracting c1140-k9w7-mx.153-3.JD13/final_hash.sig (512 bytes) extracting c1140-k9w7-mx.153-3.JD13/img_sign_rel.cert (1375 bytes) extracting c1140-k9w7-mx.153-3.JD13/img_sign_rel_sha2.cert (1371 bytes) extracting info.ver (283 bytes) ap:
Point the bootstrap at the appropriate file:
Code:
ap: [I]set BOOT flash:/c1140-k9w7-[U]mx[/U].153-3.JD13/c1140-k9w7-[U]mx[/U].153-3.JD13[/I]
Code:
ap: dir flash: Directory of flash:/ 2 -rwx 110636 <date> event.log 3 -rwx 244 <date> env_vars 4 -rwx 5144 <date> private-multiple-fs 5 drwx 128 <date> c1140-rcvk9w8-mx 8 -rwx 283 <date> info 9 drwx 768 <date> c1140-k9w7-mx.153-3.JD13 214 -rwx 283 <date> info.ver 20519424 bytes available (11865600 bytes used) ap: [I]dir flash:/c1140-k9w7-mx.153-3.JD13[/I] Directory of flash:/c1140-k9w7-mx.153-3.JD13/ 10 -rwx 119277 <date> c1140-k9w7-[U]mx[/U].153-3.JD13 11 drwx 64 <date> html 204 -rwx 8219961 <date> c1140-k9w7-[U]xx[/U].153-3.JD13 205 -rwx 152744 <date> 8001.img 206 -rwx 8080 <date> T2.bin 207 -rwx 23836 <date> T5.bin 208 -rwx 283 <date> info 209 -rwx 32088 <date> file_hashes 210 -rwx 141 <date> final_hash 211 -rwx 512 <date> final_hash.sig 212 -rwx 1375 <date> img_sign_rel.cert 213 -rwx 1371 <date> img_sign_rel_sha2.cert 20519424 bytes available (11865600 bytes used)
Code:
ap: [I]set[/I] BOOT=flash:/c1140-k9w7-mx.153-3.JD13/c1140-k9w7-mx.153-3.JD13 DEFAULT_ROUTER=10.0.1.99 ENABLE_BREAK=no IOS_STATIC_DEFAULT_GATEWAY=10.0.1.99 IP_ADDR=10.0.1.88 MANUAL_BOOT=no NETMASK=255.255.255.0 NEW_IMAGE=yes RELOAD_REASON=23 TERMLINES=0
Comment