Search This Blog

Friday, February 13, 2015

Cisco AIR LAP-1141 to AIR AP-1141, converting AP from CAPWAP to autonomous

Cisco AIR LAP-1141 - Lightweight Access Point (L letter before AP) controller-based (WLC)
Cisco AIR AP-1141 - Standalone (Autonomous) Access Point

I have at work two Cisco AP-1141. Thats great wireless stations and i like how it works. Few days ago we bought two more. But by mistake new access points were LAP. I dont have Cisco wireless controller at work, its very expensive and useless for us. So i was faced with task of reconfigure LAP 1141 to AP 1141. After searching some time i found that my task can be solved by changing IOS image on device.

First of all, i needed standalone AP IOS image archive. If you has original Cisco image for standalone AP downloaded from cisco.com thats greate. I did not have it. So i download it from my access point. To store image I use tftp server.

1. Setup TFTP server
I'm using Arch linux on laptop so config file for Arch(from official wiki)
I added only -c in ExecStart to allow create new files when uploading

*TFTP server configuration has been moved to /etc/conf.d/tftpd. Please update /etc/conf.d/tftpd and remove /etc/systemd/system/tftpd.service

/etc/systemd/system/tftpd.service
[Unit]
Description=hpa's original TFTP daemon

[Service]
ExecStart=/usr/bin/in.tftpd -c -s /srv/tftp/
StandardInput=socket
StandardOutput=inherit
StandardError=journal



/etc/conf.d/tftpd
TFTPD_ARGS="-c -v -s /srv/tftp/"


2. Uploading image archive to tftp (Cisco manual)
archive upload-sw tftp://10.1.1.64/c1140-k9w7-mx.124-21a.JA1.tar


3. When upload finished, everithing like here, connect to LAP Cisco device and run commands:

debug capwap con cli
conf t
boot manual
reload


After device reboot you should see the ap: prompt. If you issue a set command you'll see a few variables that you can change.

set IP_ADDR 10.1.1.21
set NETMASK 255.255.255.0
set DEFAULT_ROUTER 10.1.1.1
tftp_init
ether_init
flash_init
tar -xtract tftp://10.1.1.64/c1140-k9w7-mx.124-21a.JA1.tar flash:
set BOOT flash:/c1140-k9w7-mx.124-21a.JA1/c1140-k9w7-mx.124-21a.JA1
set MANUAL_BOOT no
set MODE_BUTTON yes
set
boot


After boot command device will boot uploaded image, and here we go, Cisco AIR AP-1141 stanbalone autonomous access point

Have fun ;)

IOS images:
*.k9w7.* - autonomous IOS
*.k9w8.* - full lightweight IOS (this is what is bundled in the WLC .aes image, and is factory installed on "mesh" APs)
*.rcvk9w8.* - lightweight recovery image - this is factory installed on lightweight APs, unless a "mesh" image is specified; it lacks radio firmware