Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:ubiquiti:aircube_isp [2021/10/23 09:42] – [Infos from U-Boot]: Add bdinfo c-mauderertoh:ubiquiti:aircube_isp [2023/06/17 09:16] – Make the page valid for the AC too. c-mauderer
Line 1: Line 1:
-====== Ubiquiti airCube ISP ======+====== Ubiquiti airCube ISP / AC ======
  
 The Ubiquiti Network airCube ISP is a cube shaped 2.4 GHz with internal 2x2 MIMO antennas. It can be supplied via a USB connector or via PoE. There are four 10/100 Mbps ports (1 * WAN + 3 * LAN). An optional PoE passthrough from the first LAN port to the WAN port is possible from the hardware. The Ubiquiti Network airCube ISP is a cube shaped 2.4 GHz with internal 2x2 MIMO antennas. It can be supplied via a USB connector or via PoE. There are four 10/100 Mbps ports (1 * WAN + 3 * LAN). An optional PoE passthrough from the first LAN port to the WAN port is possible from the hardware.
  
 {{media:ubiquiti:aircube_isp_closed.jpg?600|Ubiquiti airCube ISP}} {{media:ubiquiti:aircube_isp_closed.jpg?600|Ubiquiti airCube ISP}}
 +
 +The AC has a similar shape with slightly different features and a 2.4 + 5 GHz WLAN.
 +
 +Please note that most of this page is based on the ISP because that was the initial port.
  
 ===== Supported Versions ===== ===== Supported Versions =====
Line 11: Line 15:
 align   : c,c,c,c,c,c,c align   : c,c,c,c,c,c,c
 filter  : Model=airCube ISP filter  : Model=airCube ISP
 +filteror: Model=airCube AC
 ---- ----
  
Line 16: Line 21:
 cols    : Unsupported Functions_unsupporteds cols    : Unsupported Functions_unsupporteds
 filter  : Model=airCube ISP filter  : Model=airCube ISP
 +filteror: Model=airCube AC
 ---- ----
  
Line 30: Line 36:
 align   : c,c,c,c,c,c,c,c,c,c,c,c,c align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 filter  : Model=airCube ISP filter  : Model=airCube ISP
 +filteror: Model=airCube AC
 ---- ----
  
Line 35: Line 42:
 ===== Installation ===== ===== Installation =====
 ---- datatable ---- ---- datatable ----
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_urls, Firmware OpenWrt snapshot Upgrade URL_urls, Firmware OEM Stock URL_url +cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_urls, Firmware OpenWrt Upgrade URL_urls, Firmware OEM Stock URL_url 
-headers : Model, Version, Current Release, Firmware OpenWrt Snapshot Install, Firmware OpenWrt Snapshot Upgrade, Firmware OEM Stock+headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
 align   : c,c,c align   : c,c,c
 filter  : Model=airCube ISP filter  : Model=airCube ISP
 +filteror: Model=airCube AC
 ---- ----
 +
  
 ==== Via OEM Web Interface ==== ==== Via OEM Web Interface ====
Line 45: Line 54:
 === Quick and Simple Method for Aircube ISP and Aircube AC === === Quick and Simple Method for Aircube ISP and Aircube AC ===
  
-This method uses a prepared configuration file for installation. See the detailled method below for more details.+This method uses a prepared configuration file for installation. See the detailed method below for more details.
  
-  * Download the factory openwrt image for your device and the original Ubiquiti firmware 2.5.0. **The version is important because a binary file has to be modified to disable the Ubiquiti firmware signature check!** +  * First **make sure that you have either Firmware 2.5.0 or 2.8.3**. If you need to downgrade, you might have to use TFTP recovery for that. See either the [[toh:ubiquiti:aircube_isp#back_to_stock_firmware|Back to Stock Firmware]] section or the [[https://help.ui.com/hc/en-us/articles/360007287313-airCube-TFTP-Recovery|official guide from the manufacturer]] for how to do that. 
-  * Get the configuration from {{ :media:ubiquiti:aircube_isp_remove_signaturecheck_config_firmware_2.5.0.tgz |here}} +  * Get the configuration from {{ :media:ubiquiti:aircube_isp_remove_signaturecheck_config_firmware_2.5.0.tgz |here for ISP 2.5.0}}from {{ :media:ubiquiti:aircube_isp_remove_signaturecheck_config_firmware_2.8.3.tgz |here for ISP 2.8.3}} or from {{ :media:ubiquiti:aircube_ac_remove_signaturecheck_config_firmware_2.8.3.tgz |here for AC 2.8.3}}
-  * Connect with lan cable to your router (not on the blue wan port, it wont work for openwrt afterwards). Set your ip address manually to 192.168.1.5, netmask 255.255.255.0, gateway 192.168.1.1. +  * Connect to 192.168.1.1 in your browser and upload the configuration. 
-  * In a terminal, run ping 192.168.1.20 (to know when the device is up) and unplug the device. Press and hold a paper clip down the reset hole on the bottom, power it back on, holding the clip until you get a ping response. +  * Apply the config and reboot the device. 
-  * Stop ping and run the following steps (on mac, type "binary" instead of "bin" and "trace") **one at a time**<code> +  * Log in again. The above configuration uses the following settings:
-tftp +
-connect 192.168.1.20 +
-bin +
-trace +
-put /path/to/2.5.0-firmware.bin </code> +
-  * Connect to 192.168.1.1 in your browser and upload aircube_isp_remove_signaturecheck_config_firmware_2.5.0.tgz as configuration.  +
-  * Wait about a minute till the configuration is appliedIf necessary re-login. The above configuration uses the following settings:+
     * IP: 192.168.1.1     * IP: 192.168.1.1
     * user: ''ubnt''     * user: ''ubnt''
     * password: ''password''.     * password: ''password''.
-  * Visit http://192.168.1.1:8080/lua. You should see the output of a script with a ''******** Done ********'' at the end. This is not permanent. If you reboot the device before uploading the firmware you'll have to repeat this step.+  * For 2.5.0 visit http://192.168.1.1:8080/lua. For 2.8.3 visit http://192.168.1.1:8000/lua. Make sure that it is `http` without `s` You should see the output of a script with a ''******** Done ********'' at the end. The changes done by this script are not permanent. If you reboot the device before uploading the firmware you'll have to repeat this step.
   * Now you can upload the factory installation image as a firmware update through the web UI.   * Now you can upload the factory installation image as a firmware update through the web UI.
  
Line 75: Line 77:
 Step-by-step procedure: Step-by-step procedure:
  
-  * Up- or downgrade the Firmware to 2.5.0. **The version is important because a binary file has to be modified!**+  * Up- or downgrade the Firmware to 2.8.3 (or 2.5.0). **The version is important because a binary file has to be modified!**
   * Download a configuration.   * Download a configuration.
   * Unpack it (it's just a tar gz file without an ending).   * Unpack it (it's just a tar gz file without an ending).
-  * Add the following to uhttpd: <code>+  * Add the following to uhttpd (use 8080 instead of 8000 for firmware 2.5.0 if you want the exact same config like downloadable above): <code>
 config 'uhttpd' 'other' config 'uhttpd' 'other'
- list listen_http    0.0.0.0:8080 + list listen_http    0.0.0.0:8000 
- list listen_http    [::]:8080+ list listen_http    [::]:8000
  option 'home'       '/tmp/persistent/config/patch/www'  option 'home'       '/tmp/persistent/config/patch/www'
  option lua_prefix   '/lua'  option lua_prefix   '/lua'
Line 114: Line 116:
 MD5FILE="/tmp/patchmd5" MD5FILE="/tmp/patchmd5"
  
 +# 2.5.0:
 +# cat <<EOF > ${MD5FILE}
 +# c33235322da5baca5a7b237c09bc8df1  /sbin/fwupdate.real
 +# EOF
 +
 +# 2.8.3:
 cat <<EOF > ${MD5FILE} cat <<EOF > ${MD5FILE}
-c33235322da5baca5a7b237c09bc8df1  /sbin/fwupdate.real+f6b3a605704f3d8d8ed489f4a5f20584  /sbin/fwupdate.real
 EOF EOF
  
Line 144: Line 152:
 # patch the ubntbox binary. # patch the ubntbox binary.
 overlay_some_path "/sbin" "sbin" overlay_some_path "/sbin" "sbin"
-echo -en '\x10' | dd of=/sbin/fwupdate.real conv=notrunc bs=1 count=1 seek=24598+ 
 +# 2.5.0: Only one patch to disable signature check 
 +echo -en '\x10' | dd of=/sbin/fwupdate.real conv=notrunc bs=1 count=1 seek=24598 
 + 
 +# 2.8.3: Two patches to disable signature and version check 
 +echo -en '\x65\x00' | dd of=/sbin/fwupdate.real conv=notrunc bs=1 count=2 seek=26484 
 +echo -en '\x10' | dd of=/sbin/fwupdate.real conv=notrunc bs=1 count=1 seek=25586
  
 echo "******** Done ********" echo "******** Done ********"
 </code> </code>
  
 +  * Make the lua script and the shell script executable.
   * Repack the configuration.   * Repack the configuration.
   * Follow the steps from the "Quick and Simple Method" above.   * Follow the steps from the "Quick and Simple Method" above.
Line 191: Line 206:
 ==== Back to Stock Firmware ==== ==== Back to Stock Firmware ====
  
-See [[https://help.ubnt.com/hc/en-us/articles/360007287313-airCube-TFTP-Recovery]]+See [[https://help.ui.com/hc/en-us/articles/360007287313-airCube-TFTP-Recovery]]
  
 Basically you connect a PC with a IP address in the 192.168.1.0/24 net (not .20) Basically you connect a PC with a IP address in the 192.168.1.0/24 net (not .20)
Line 201: Line 216:
   atftp --option "timeout 1" --option "mode octet"  -p -l ACB.ar934x.v1.1.2.1df584efad.171220.1334.bin 192.168.1.20   atftp --option "timeout 1" --option "mode octet"  -p -l ACB.ar934x.v1.1.2.1df584efad.171220.1334.bin 192.168.1.20
  
- +**NOTE:** For airCubes which had a firmware >= 2.8.0, you can only flash >= 2.8.1 (not 2.8.0!). For airCubes which had firmware < 2.8.0, you can flash anything <= 2.8.0. 
-===== Hardware =====+===== Hardware (ISP) =====
 ==== Info ==== ==== Info ====
 ^ Architecture     | MIPS                                        | ^ Architecture     | MIPS                                        |
Line 329: Line 344:
 Warning: This means that 48V equipment will not work, and might be destroyed if connected to it. Warning: This means that 48V equipment will not work, and might be destroyed if connected to it.
  
-===== OEM firmware 2.4.0 =====+===== OEM firmware 2.4.0 (ISP) =====
  
 Tested firmware version: ACB.ar934x.v2.4.0.cb22320.180904.1044 Tested firmware version: ACB.ar934x.v2.4.0.cb22320.180904.1044
Line 779: Line 794:
 </nowiki></WRAP>\\ </nowiki></WRAP>\\
  
-===== OEM firmware 2.8.3 =====+===== OEM firmware 2.8.3 (ISP) =====
  
 Tested firmware version: ACB.ar934x.v2.8.3.f1a1344.210726.1457 Tested firmware version: ACB.ar934x.v2.8.3.f1a1344.210726.1457
  • Last modified: 2024/09/06 07:22
  • by dnd