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 20:48] – 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 ====== | ||
- | {{ : | + | 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. |
- | + | ||
- | After more than 10 years in use and licensing issues we decided to replace our WiFi installation consisting of about 40 Aerohive AP121 and AP122 with 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:// | 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:// | ||
Line 15: | Line 13: | ||
===== The AP121 Hardware ===== | ===== The AP121 Hardware ===== | ||
+ | {{ : | ||
<WRAP 40%> | <WRAP 40%> | ||
< | < | ||
Line 39: | Line 37: | ||
- | <callout type=" | + | <callout type=" |
//Do not confuse this device with the unrelated and completely different, yet similarly named ALFA Network AP121 which is maintained in the '' | //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 ===== | ===== Flashing OpenWRT on AP121 ===== | ||
Line 59: | Line 67: | ||
You can either do this via the serial console which is also required later, or more easy within your old HiveManager. | You can either do this via the serial console which is also required later, or more easy within your old HiveManager. | ||
- | <callout type=" | + | **Bootloader versions v1.0.0.25 and lower have been reported to fail!** |
==== Downloads ==== | ==== Downloads ==== | ||
Line 66: | Line 74: | ||
</ | </ | ||
- | To host the image for the AP we going to use a TFTP-Server: | + | 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 ==== | ==== 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 '' | ||
- | Then connect your AP with a Laptop or any PC as following: | + | For troubleshooting and |
- | + | ||
- | < | + | |
- | {{: | + | |
- | </ | + | |
- | + | ||
- | For more information check the OpenWRT wiki: [[https:// | + | |
===== Further Thoughts ===== | ===== Further Thoughts ===== | ||
Line 87: | Line 114: | ||
[[https:// | [[https:// | ||
+ | Also have a look at other tutorials concerning Aerohive and OpenWRT: | ||
+ | {{indexmenu>: | ||
----- | ----- |