Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:aerohive:openwrt-on-ap121 [2024/03/02 18:45] – Zyzonix | tutorials:aerohive:openwrt-on-ap121 [2024/03/02 21:58] (current) – Zyzonix | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Aerohive AP121 - Installing OpenWRT ===== | + | ====== Aerohive AP121 - Installing OpenWRT |
- | <callout type=" | + | After more than 10 years in use and licensing issues we decided to replace our WiFi installation consisting of about 40 Aerohive AP121 newer models. |
+ | |||
+ | Because all APs are still able to work, we thought about the future use of our devices. As we already use a lot of open source software, we thought it would be nice if also our APs are running with Linux and this is actually possible with [[https:// | ||
+ | |||
+ | <callout type=" | ||
+ | This page was build from two main sources: | ||
+ | * // | ||
+ | * // | ||
+ | **It's more or less a summary and an experience report from our side!** | ||
+ | </ | ||
+ | |||
+ | ===== The AP121 Hardware ===== | ||
+ | {{ : | ||
+ | <WRAP 40%> | ||
+ | < | ||
+ | | Model | AP121 | | ||
+ | | CPU | Atheros AR9344 | ||
+ | | CPU MHz | 560 | | ||
+ | | Flash MB | 1, 128 NAND | | ||
+ | | RAM MB | 128 | | ||
+ | | WLAN Hardware | ||
+ | | WLAN 2.4GHz | ||
+ | | WLAN 5.0GHz | ||
+ | | Ethernet 100Mbit ports | - | | ||
+ | | Ethernet 1Gbit ports | 1 | | ||
+ | | RJ45 console ports | 1 | | ||
+ | | USB ports | 1 | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Concerning hardware the OpenWRT wiki says: | ||
+ | <callout type=" | ||
+ | //The Aerohive AP121 or HiveAP 121 (the former designation used in company marketing, the latter printed on the device label) is a dual-band 2×2 MIMO 802.11a/n (5GHz) and 802.11b/g/n (2.4GHz) “enterprise grade” access point with a single Gigabit Ethernet port, powered via 802.3af PoE or a standard 12V 1.1A power adapter. It was produced by Aerohive Networks (which is now part of Extreme Networks) until 2017 when it was superseded by the Aerohive AP122. // | ||
+ | </ | ||
+ | |||
+ | |||
+ | <callout type=" | ||
+ | //Do not confuse this device with the unrelated and completely different, yet similarly named ALFA Network AP121 which is maintained in the '' | ||
+ | </ | ||
+ | |||
+ | ===== Required Hardware ===== | ||
+ | |||
+ | * a working Aerohive AP121 | ||
+ | * Cisco Console Cable (RJ45 - DB9 Serial - NOTE: As most PC's don't have RS232 DB9 connectors anymore, we used a RJ45 - USB [via FTDI232RL+ZT213LEEA chips] Console cable.) | ||
+ | * 802.3af Gigabit PoE adapter (for powering the AP) | ||
+ | * Alternatively Centre Positive Barrel Jack 12v 2A DC Power Supply (The AP121 is Center Positive! I could not find this information anywhere, all of the " | ||
+ | * RJ45 Network Cable | ||
+ | * PC/Laptop with USB and RJ45 Network Port (Cannot be done over Wi-Fi, ie netbooks) | ||
+ | |||
+ | |||
+ | ===== Flashing OpenWRT on AP121 ===== | ||
+ | |||
+ | <callout type=" | ||
+ | |||
+ | ==== Firmware check ==== | ||
+ | |||
+ | Firstly confirm that the AP you want to flash OpenWRT on has one of the following firmware versions: | ||
+ | |||
+ | * v1.0.0.33 | ||
+ | * v1.0.0.43 (supplied with HiveOS 6.2r1) | ||
+ | * v1.0.0.4f (supplied with HiveOS 6.5r4) | ||
+ | * v1.0.0.50 (supplied with HiveOS 6.5r3) | ||
+ | * v1.0.0.52 (supplied with HiveOS 6.5r8b) | ||
+ | |||
+ | You can either do this via the serial console which is also required later, or more easy within your old HiveManager. | ||
+ | |||
+ | **Bootloader versions v1.0.0.25 and lower have been reported to fail!** | ||
+ | |||
+ | ==== Downloads ==== | ||
+ | <callout type=" | ||
+ | This tutorial was tested on a Windows 11 machine and a PoE-powered AP121. | ||
+ | </ | ||
+ | |||
+ | To host the image for the AP we going to use a TFTP-Server: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | We also need a serial console terminal: here PuTTY: | ||
+ | * [[https:// | ||
+ | |||
+ | And the OpenWRT image for the AP: Therefore open this URL: [[https:// | ||
+ | |||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | - Set '' | ||
+ | - Install PuTTY and the TFTP-Server. Configure the TFTP-Server to host the OpenWRT-image. In case you used the PumpKIN-TFTP-Server: | ||
+ | - Then connect your AP with a Laptop or any PC as following but **do not power on the PoE-injector/ | ||
+ | - Open the '' | ||
+ | - In PuTTY select '' | ||
+ | - Finally power on the injector. | ||
+ | - You should now see the boot process of the AP. Interrupt it by hitting any key. When getting asked for a password either try '' | ||
+ | - Then verify the firmware version again with, if it prints something higher as '' | ||
+ | - After that transfer the firmware file, replace ''< | ||
+ | - If using PumpkinTFTP and the TFTP-client on the AP can find the image on the server, a pop-up will appear. Accept the transfer and the firmware will be transferred. | ||
+ | - Then erase the NAND-flash to make the way free for OpenWRT:< | ||
+ | - Now write the image to the NAND:< | ||
+ | - If both commands ran successfully reboot by typing:< | ||
+ | - During boot watch for the orange light to turn flashing white. This means the boot process is occuring, monitor the console for errors. If the LED turns solid white then the AP has successfully booted - this may take 90s or more. | ||
+ | - Finally you can navigate to '' | ||
+ | |||
+ | === Initial Setup as AP ==== | ||
+ | - Under '' | ||
+ | - To set the AP to DHCP on the ethernet port navigate to '' | ||
+ | |||
+ | For troubleshooting and more information check the OpenWRT wiki: [[https:// | ||
+ | |||
+ | ===== Further Thoughts ===== | ||
+ | It might also be possible to flash OpenWRT on AP122, but we haven' | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Also have a look at other tutorials concerning Aerohive and OpenWRT: | ||
+ | {{indexmenu>: | ||
+ | |||
+ | ----- | ||
+ | //Sources used: // | ||
+ | * // | ||
+ | * // | ||
- | ==== Additional ressources ==== | ||
- | * [[https:// | ||