When trying to convert an 1142 AP from LAP to Autonomous AP, I did a mistake. I copied the new IOS (.tar) with the ‘copy’-command. However, I should’ve used the ‘archive /xtract’-command. When I reloaded, the AP presented me with this;
using eeprom values WRDTR,CLKTR: 0x87000800 0x40000000 RQDC ,RFDC : 0x80000037 0x0000020c using ???? ddr static values from serial eeprom ddr init done Running Normal Memtest... Passed. IOS Bootloader - Starting system. FLASH CHIP: Numonyx P33 Checking for Over Erased blocks ........................... Xmodem file system is available. DDR values used from system serial eeprom. WRDTR,CLKTR: 0x87000800, 0x40000000 RQDC, RFDC : 0x80000037, 0x0000020c PCIE0: link is up. PCIE0: VC0 is active PCIE1: link is up. PCIE1: VC0 is active PCIEx: initialization done flashfs: 4 files, 1 directories flashfs: 0 orphaned files, 0 orphaned directories flashfs: Total bytes: 32385024 flashfs: Bytes used: 5760512 flashfs: Bytes available: 26624512 flashfs: flashfs fsck took 19 seconds. Reading cookie from system serial eeprom...Done Base Ethernet MAC address: 12:34:56:78:ab:cd Ethernet speed is 100 Mb - FULL duplex Loading "flash:c1140-k9w7-tar.124-25d.JA1.tar"...flash:c1140-k9w7-tar.124-25d.JA1.tar: magic number mismatch: bad mzip file Error loading "flash:c1140-k9w7-tar.124-25d.JA1.tar" Interrupt within 5 seconds to abort boot process. Boot process failed... The system is unable to boot automatically. The BOOT environment variable needs to be set to a bootable image. C1140 Boot Loader (C1140-BOOT-M) Version 12.4(23c)JA3, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Compiled Tue 18-Oct-11 14:51 by prod_rel_team ap:
So. No IOS. What to do? Do I really have to use a slow xmodem-transfer to recover this AP? I thought I did, but there is a way to avoid it. Make sure the AP has network-connectivity to an TFTP-server (in my case, 10.10.10.10). Then issue the following commands;
ap: set IP_ADDR 10.10.10.20 ap: set NETMASK 255.255.255.0 ap: set DEFAULT_ROUTER 10.10.10.1 ap: tftp_init
Then we delete the current IOS (.tar). We are now ready to copy the new IOS (and properly this time). Issue the following command;
ap: delete flash:c1140-k9w7-tar.124-25d.JA1.tar Are you sure you want to delete "flash:c1140-k9w7-tar.124-25d.JA1.tar" (y/n)?y File "flash:c1140-k9w7-tar.124-25d.JA1.tar" deleted ap: tar -xtract tftp://10.10.10.10/c1140-k9w7-tar.124-25d.JA1.tar flash: <long list of files extracted>
Then we boot the newly extracted IOS;
ap: boot Loading "flash:c1140-k9w7-tar.124-25d.JA1.tar"...flash:c1140-k9w7-tar.124-25d.JA1.tar: no such file or directory Error loading "flash:c1140-k9w7-tar.124-25d.JA1.tar" Interrupt within 5 seconds to abort boot process. Loading "flash:/c1140-k9w7-mx.124-25d.JA1/c1140-k9w7-mx.124-25d.JA1"...############ File "flash:/c1140-k9w7-mx.124-25d.JA1/c1140-k9w7-mx.124-25d.JA1" uncompressed and installed, entry point: 0x4000 executing...