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/05/09 12:14] – ↷ Page name changed from toh:ubiquiti:ubiquiti_aircube_isp to toh:ubiquiti:aircube_isp tmomastoh: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 =====+===== 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 336: Line 351:
  
 You can login with the user `ubnt` and the password printed on the label on the bottom of the device. You can login with the user `ubnt` and the password printed on the label on the bottom of the device.
 +
 +==== Infos from U-Boot ====
 +
 +<WRAP bootlog><nowiki>
 +U-Boot 1.1.4-s1055 (Sep 19 2017 - 16:00:36)
 +
 +DRAM:  64 MB
 +Flash: 16 MB (0xc2, 0 0x20, 0x18)
 +*** Warning *** : PCIe WLAN Module not found !!!
 +In:    serial
 +Out:   serial
 +Err:   serial
 +Net:   eth0, eth1
 +Board: Ubiquiti Networks QCA953X board (e8f7-148738.0160.0030)
 +Radio: 0777:e8f7
 +Hit any key to stop autoboot: 
 +ath> printenv
 +bootdelay=1
 +baudrate=115200
 +ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
 +ubntctrl=enabled
 +serverip=192.168.1.254 
 +mtdparts=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM)
 +bootcmd=bootm 0x9f050000
 +bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init panic=3 board=AIRCUBE
 +ipaddr=192.168.1.20 
 +stdin=serial
 +stdout=serial
 +stderr=serial
 +ubntaddr=80200020
 +appinitdone=true
 +ethact=eth0
 +
 +Environment size: 445/65532 bytes
 +ath> bdinfo
 +boot_params = 0x83F7BFB0
 +memstart    = 0x80000000
 +memsize     = 0x04000000
 +flashstart  = 0x9F000000
 +flashsize   = 0x01000000
 +flashoffset = 0x00028DF4
 +ethaddr     = 00:AA:BB:CC:DD:EE
 +ip_addr     = 192.168.1.20
 +baudrate    = 115200 bps
 +ath> mtdparts
 +
 +device nor0 <spi0.0>, # parts = 6
 + #: name                        size            offset          mask_flags
 + 0: u-boot                      0x00040000      0x00000000      0
 + 1: u-boot-env                  0x00010000      0x00040000      0
 + 2: kernel                      0x00400000      0x00050000      0
 + 3: rootfs                      0x00b60000      0x00450000      0
 + 4: cfg                         0x00040000      0x00fb0000      0
 + 5: EEPROM                      0x00010000      0x00ff0000      0
 +
 +active partition: nor0,0 - (u-boot) 0x00040000 @ 0x00000000
 +
 +defaults:
 +mtdids  : nor0=spi0.0
 +mtdparts: mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM)
 +ath> 
 +</nowiki></WRAP>\\
  
 ==== Bootlog and output of some commands ==== ==== Bootlog and output of some commands ====
Line 716: Line 793:
 ubnt@airCube-ISP:/etc/init.d# ubnt@airCube-ISP:/etc/init.d#
 </nowiki></WRAP>\\ </nowiki></WRAP>\\
 +
 +===== OEM firmware 2.8.3 (ISP) =====
 +
 +Tested firmware version: ACB.ar934x.v2.8.3.f1a1344.210726.1457
  
 ==== Infos from U-Boot ==== ==== Infos from U-Boot ====
  
 <WRAP bootlog><nowiki> <WRAP bootlog><nowiki>
-U-Boot 1.1.4-s1055 (Sep 19 2017 16:00:36)+U-Boot 1.1.4-g50288c5d (Feb 18 2021 14:55:35)
  
 DRAM:  64 MB DRAM:  64 MB
Line 731: Line 812:
 Board: Ubiquiti Networks QCA953X board (e8f7-148738.0160.0030) Board: Ubiquiti Networks QCA953X board (e8f7-148738.0160.0030)
 Radio: 0777:e8f7 Radio: 0777:e8f7
-Hit any key to stop autoboot: +Hit any key to stop autoboot:  0
 ath> printenv ath> printenv
 bootdelay=1 bootdelay=1
Line 737: Line 818:
 ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
 ubntctrl=enabled ubntctrl=enabled
-serverip=192.168.1.254 +serverip=192.168.1.254
 mtdparts=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM) mtdparts=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM)
 bootcmd=bootm 0x9f050000 bootcmd=bootm 0x9f050000
 bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init panic=3 board=AIRCUBE bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init panic=3 board=AIRCUBE
-ipaddr=192.168.1.20 +ipaddr=192.168.1.20
 stdin=serial stdin=serial
 stdout=serial stdout=serial
Line 749: Line 830:
 ethact=eth0 ethact=eth0
  
-Environment size: 445/65532 bytes+Environment size: 444/65532 bytes
 ath> bdinfo ath> bdinfo
-boot_params = 0x83F7BFB0+boot_params = 0x83F77FB0
 memstart    = 0x80000000 memstart    = 0x80000000
 memsize     = 0x04000000 memsize     = 0x04000000
 flashstart  = 0x9F000000 flashstart  = 0x9F000000
 flashsize   = 0x01000000 flashsize   = 0x01000000
-flashoffset = 0x00028DF4+flashoffset = 0x0002ACC4
 ethaddr     = 00:AA:BB:CC:DD:EE ethaddr     = 00:AA:BB:CC:DD:EE
 ip_addr     = 192.168.1.20 ip_addr     = 192.168.1.20
Line 776: Line 857:
 mtdids  : nor0=spi0.0 mtdids  : nor0=spi0.0
 mtdparts: mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM) mtdparts: mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM)
-ath> +ath> 
 +</nowiki></WRAP>\\ 
 + 
 +==== Bootlog and output of some commands ==== 
 + 
 +<WRAP bootlog><nowiki> 
 + 
 +U-Boot 1.1.4-g50288c5d (Feb 18 2021 - 14:55:35) 
 + 
 +DRAM:  64 MB 
 +Flash: 16 MB (0xc2, 0 0x20, 0x18) 
 +*** Warning *** : PCIe WLAN Module not found !!! 
 +In:    serial 
 +Out:   serial 
 +Err:   serial 
 +Net:   eth0, eth1 
 +Board: Ubiquiti Networks QCA953X board (e8f7-148738.0160.0030) 
 +Radio: 0777:e8f7 
 +Hit any key to stop autoboot: 
 +## Booting image at 9f050000 ... 
 +   Image Name:   MIPS OpenWrt Linux-4.1.16 
 +   Created:      2021-07-26  14:38:35 UTC 
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed) 
 +   Data Size:    1299906 Bytes =  1.2 MB 
 +   Load Address: 80060000 
 +   Entry Point:  80060000 
 +   Verifying Checksum at 0x9f050040 ...OK 
 +   Uncompressing Kernel Image ... OK 
 + 
 +Starting kernel ... 
 + 
 +[    0.000000] Linux version 4.1.16 (builder@c99d18f50953) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48688) ) #1 Mon Jul 26 14:57:18 UTC 2021 
 +[    0.000000] flash_size passed from bootloader = 16 
 +[    0.000000] bootconsole [early0] enabled 
 +[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) 
 +[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 
 +[    0.000000] Determined physical RAM map: 
 +[    0.000000]  memory: 04000000 @ 00000000 (usable) 
 +[    0.000000] User-defined physical RAM map: 
 +[    0.000000]  memory: 04000000 @ 00000000 (usable) 
 +[    0.000000] Initrd not found or empty - disabling initrd 
 +[    0.000000] Zone ranges: 
 +[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff] 
 +[    0.000000] Movable zone start for each node 
 +[    0.000000] Early memory node ranges 
 +[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff] 
 +[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] 
 +[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 
 +[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256 
 +[    0.000000] Kernel command line: console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init panic=3 board=AIRCUBE mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),4096k(kernel),11648k(rootfs),256k(cfg),64k(EEPROM) mem=64M 
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) 
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) 
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) 
 +[    0.000000] Writing ErrCtl register=00000000 
 +[    0.000000] Readback ErrCtl register=00000000 
 +[    0.000000] Memory: 60224K/65536K available (2902K kernel code, 142K rwdata, 720K rodata, 256K init, 268K bss, 5312K reserved, 0K cma-reserved) 
 +[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
 +[    0.000000] NR_IRQS:83 
 +[    0.000000] Clocks: CPU:650.000MHz, DDR:390.551MHz, AHB:216.666MHz, Ref:25.000MHz 
 +[    0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns 
 +[    0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns 
 +[    0.007452] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) 
 +[    0.069991] pid_max: default: 32768 minimum: 301 
 +[    0.074513] Security Framework initialized 
 +[    0.078392] TOMOYO Linux initialized 
 +[    0.081841] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.088097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.098243] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns 
 +[    0.108384] NET: Registered protocol family 16 
 +[    0.114272] MIPS: machine is Ubiquiti airCube 
 +[    0.146787] ar724x-pci ar724x-pci.0: PCIe link is down 
 +[    0.151686] registering PCI controller with io_map_base unset 
 +[    0.157132] Ubiquiti airCube ISP 
 +[    0.604481] PCI host bridge to bus 0000:00 
 +[    0.608357] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] 
 +[    0.614978] pci_bus 0000:00: root bus resource [io  0x0000] 
 +[    0.620240] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] 
 +[    0.626737] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] 
 +[    0.635304] Switched to clocksource MIPS 
 +[    0.640752] NET: Registered protocol family 2 
 +[    0.645915] TCP established hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.652544] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.658680] TCP: Hash tables configured (established 1024 bind 1024) 
 +[    0.664829] UDP hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.670414] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.676721] NET: Registered protocol family 1 
 +[    0.682142] futex hash table entries: 256 (order: -1, 3072 bytes) 
 +[    0.707344] squashfs: version 4.0 (2009/01/31) Phillip Lougher 
 +[    0.712870] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
 +[    0.724979] io scheduler noop registered 
 +[    0.728755] io scheduler deadline registered (default) 
 +[    0.733834] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled 
 +[    0.763852] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A 
 +[    0.772068] console [ttyS0] enabled 
 +[    0.772068] console [ttyS0] enabled 
 +[    0.779212] bootconsole [early0] disabled 
 +[    0.779212] bootconsole [early0] disabled 
 +[    0.791229] m25p80 spi0.0: found mx25l12805d, expected m25p80 
 +[    0.798351] m25p80 spi0.0: mx25l12805d (16384 Kbytes) 
 +[    0.803628] 6 cmdlinepart partitions found on MTD device spi0.0 
 +[    0.809795] Creating 6 MTD partitions on "spi0.0": 
 +[    0.814756] 0x000000000000-0x000000040000 : "u-boot" 
 +[    0.820939] 0x000000040000-0x000000050000 : "u-boot-env" 
 +[    0.827383] 0x000000050000-0x000000450000 : "kernel" 
 +[    0.833362] 0x000000450000-0x000000fb0000 : "rootfs" 
 +[    0.839393] mtd: device 3 (rootfs) set to be root filesystem 
 +[    0.845268] 0x000000fb0000-0x000000ff0000 : "cfg" 
 +[    0.851049] 0x000000ff0000-0x000001000000 : "EEPROM" 
 +[    0.882388] libphy: ag71xx_mdio: probed 
 +[    1.478263] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY] 
 +[    1.488516] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII 
 +[    2.077909] ag71xx-mdio.1: Found an AR934X/QCA953X built-in switch 
 +[    2.123668] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII 
 +[    2.131720] NET: Registered protocol family 10 
 +[    2.140065] NET: Registered protocol family 17 
 +[    2.144752] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. 
 +[    2.158022] 8021q: 802.1Q VLAN Support v1.8 
 +[    2.173424] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. 
 +[    2.182899] Freeing unused kernel memory: 256K (80410000 - 80450000) 
 +[    2.209518] Calling /sbin/tomoyo-init to load policy. Please wait. 
 +15 domains. 17 A[    3.173002] TOMOYO: 2.5.0 
 +CL entries. 
 +32 [    3.176310] Mandatory Access Control activated. 
 +KB used by policy. 
 +[    3.568889] init: Console is alive 
 +[    3.572788] init: - watchdog - 
 +[    5.670757] kmodloader: loading kernel modules from /etc/modules-boot.d/
 +[    5.922487] ubnthal: module license 'Proprietary' taints kernel. 
 +[    5.928786] Disabling lock debugging due to kernel taint 
 +[    6.009806] ubnthal: initializing... 
 +[    6.013568] ubnthal: initialised, board found, sysid = 0xe8f7, name = airCube ISP 
 +[    6.021331] ubnthal: host_board_t size: 7320B, boards table size: 14kB 
 +[    6.052304] usbcore: registered new interface driver usbfs 
 +[    6.058170] usbcore: registered new interface driver hub 
 +[    6.063764] usbcore: registered new device driver usb 
 +[    6.075188] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
 +[    6.083839] ehci-platform: EHCI generic platform driver 
 +[    6.089434] ehci-platform ehci-platform: EHCI Host Controller 
 +[    6.095423] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 
 +[    6.105741] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 
 +[    6.125344] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 
 +[    6.132872] hub 1-0:1.0: USB hub found 
 +[    6.137215] hub 1-0:1.0: 1 port detected 
 +[    6.144849] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 
 +[    6.153015] ohci-platform: OHCI generic platform driver 
 +[    6.159482] kmodloader: done loading kernel modules from /etc/modules-boot.d/
 +[    6.169250] init: - preinit - 
 +Please press Enter to activate this console. 
 + 
 +airCube-ISP login: ubnt 
 +Password: 
 + 
 + 
 +BusyBox v1.24.1 () built-in shell (ash) 
 + 
 +            _____ Ubiquiti 
 +      (_)    /  __ \     | | 
 +  __ _ _ _ __| /  \/_   _| |__   ___ 
 + / _` | | '__| |   | | | | '_ \ / _ \ 
 +| (_| | | |  | \__/\ |_| | |_) |  __/ 
 + \__,_|_|_|   \____/\__,_|_.__/ \___| 
 +    Dirty Diamond v2.8.3        f1a1344.210726.1457 
 +ubnt@airCube-ISP:~# uname -a 
 +Linux airCube-ISP 4.1.16 #1 Mon Jul 26 14:57:18 UTC 2021 mips GNU/Linux 
 +ubnt@airCube-ISP:~# cat /proc/cpuinfo 
 +system type             : Qualcomm Atheros QCA9533 ver 2 rev 0 
 +machine                 : Ubiquiti airCube 
 +processor               : 0 
 +cpu model               : MIPS 24Kc V7.4 
 +BogoMIPS                : 432.53 
 +wait instruction        : yes 
 +microsecond timers      : yes 
 +tlb_entries             : 16 
 +extra interrupt vector  : yes 
 +hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] 
 +isa                     : mips1 mips2 mips32r1 mips32r2 
 +ASEs implemented        : mips16 
 +shadow register sets    : 1 
 +kscratch registers      : 0 
 +package                 : 0 
 +core                    : 0 
 +VCED exceptions         : not available 
 +VCEI exceptions         : not available 
 + 
 +ubnt@airCube-ISP:~# cat /proc/mtd 
 +dev:    size   erasesize  name 
 +mtd0: 00040000 00010000 "u-boot" 
 +mtd1: 00010000 00010000 "u-boot-env" 
 +mtd2: 00400000 00010000 "kernel" 
 +mtd3: 00b60000 00010000 "rootfs" 
 +mtd4: 00040000 00010000 "cfg" 
 +mtd5: 00010000 00010000 "EEPROM" 
 +ubnt@airCube-ISP:~# ifconfig -a 
 +br-lan    Link encap:Ethernet  HWaddr B6:FB:E4:63:2C:2D 
 +          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0 
 +          inet6 addr: fe80::b4fb:e4ff:fe63:2c2d/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:182 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:282 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:16108 (15.7 KiB)  TX bytes:341279 (333.2 KiB) 
 + 
 +lan0      Link encap:Ethernet  HWaddr B6:FB:E4:63:2C:2D 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:186 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:100 
 +          RX bytes:19425 (18.9 KiB)  TX bytes:342801 (334.7 KiB) 
 +          Interrupt:
 + 
 +lldp1     Link encap:Ethernet  HWaddr B6:FB:E4:63:2C:2D 
 +          inet6 addr: fe80::b4fb:e4ff:fe63:2c2d/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:801 (801.0 B) 
 + 
 +lldp2     Link encap:Ethernet  HWaddr B6:FB:E4:63:2C:2D 
 +          inet6 addr: fe80::b4fb:e4ff:fe63:2c2d/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:560 (560.0 B) 
 + 
 +lldp3     Link encap:Ethernet  HWaddr B6:FB:E4:63:2C:2D 
 +          inet6 addr: fe80::b4fb:e4ff:fe63:2c2d/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:801 (801.0 B) 
 + 
 +lo        Link encap:Local Loopback 
 +          inet addr:127.0.0.1  Mask:255.0.0.0 
 +          inet6 addr: ::1/128 Scope:Host 
 +          UP LOOPBACK RUNNING  MTU:65536  Metric:1 
 +          RX packets:156 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:331414 (323.6 KiB)  TX bytes:331414 (323.6 KiB) 
 + 
 +wan0      Link encap:Ethernet  HWaddr B4:FB:E4:63:2C:2D 
 +          UP BROADCAST MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:100 
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 
 +          Interrupt:
 + 
 +wlan0     Link encap:Ethernet  HWaddr B4:FB:E4:62:2C:2D 
 +          inet6 addr: fe80::b6fb:e4ff:fe62:2c2d/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:
 +          RX bytes:0 (0.0 B)  TX bytes:6508 (6.3 KiB) 
 + 
 +ubnt@airCube-ISP:~# cat /proc/ubnthal/board.inc 
 +<? 
 +$board_id="0xe8f7"; 
 +$cpu_revision="0x00000160"; 
 +$board_name="airCube ISP"; 
 +$board_raw_name="airCube ISP"; 
 +$board_shortname="ACB"; 
 +$board_model="ACB-ISP"; 
 +$board_timestamp="1533689463"; 
 +$board_bom="13-00581-02"; 
 +$board_hwaddr="B4FBE4622C2D"; 
 +$board_hwaddr_eth0="B4FBE4632C2D"; 
 +$board_hwaddr_eth1="B6FBE4632C2D"; 
 +$board_netmodes=7; 
 +$reboot_time=40; 
 +$upgrade_time=150; 
 +$radio_count=2; 
 +$radio1_name=""; 
 +$radio1_shortname=""; 
 +$radio1_bus="pci"; 
 +$radio1_devdomain=2400; 
 +$radio1_ccode=840; 
 +$radio1_ccode_fixed=0; 
 +$radio1_ccode_locked=0; 
 +$radio1_subsystemid="0xe8f7"; 
 +$radio1_subvendorid="0x0777"; 
 +$radio1_txpower_max=19; 
 +$radio1_txpower_min=0; 
 +$radio1_txpower_offset=0; 
 +$radio1_low_txpower_atten=0; 
 +$radio1_low_txpower_limit=0; 
 +$radio1_ieee_modes=21; 
 +$radio1_ieee_mode="auto"; 
 +$radio1_ant_count=1; 
 +$radio1_def_antenna=1; 
 +$radio1_ant_id[0]=1; 
 +$radio1_ant_name[0]=dict_translate("Feed only"); 
 +$radio1_ant_gain[0]=3; 
 +$radio1_ant_builtin[0]=1; 
 +$radio1_caps=752877588; 
 +$radio1_eirp_limit=0; 
 +$radio1_distance_limit_km=0; 
 +$radio1_regdomain_flags="bom=0x0,ts=0x5b6a3e77"; 
 +$radio1_chains=2; 
 +$radio1_ieee_mode_a=1; 
 +$radio1_low_txpower_mode=0; 
 +$radio1_legacy=0; 
 +$radio1_chanbw="20,40"; 
 +$radio1_ext_channel=1; 
 +$radio1_ptp_only=1; 
 +$radio1_ptp_sta=1; 
 +$radio1_ptmp_only=1; 
 +$radio1_ptmp_sta=1; 
 +$radio2_name=""; 
 +$radio2_shortname=""; 
 +$radio2_bus="ahb"; 
 +$radio2_devdomain=0; 
 +$radio2_ccode=0; 
 +$radio2_ccode_fixed=0; 
 +$radio2_ccode_locked=0; 
 +$radio2_subsystemid="0x0000"; 
 +$radio2_subvendorid="0x0000"; 
 +$radio2_txpower_max=0; 
 +$radio2_txpower_min=0; 
 +$radio2_txpower_offset=0; 
 +$radio2_low_txpower_atten=0; 
 +$radio2_low_txpower_limit=0; 
 +$radio2_ieee_modes=0; 
 +$radio2_ieee_mode="11naht"; 
 +$radio2_ant_count=0; 
 +$radio2_def_antenna=0; 
 +$radio2_caps=0; 
 +$radio2_eirp_limit=0; 
 +$radio2_distance_limit_km=0; 
 +$radio2_regdomain_flags="bom=0x0,ts=0x5b6a3e77"; 
 +$radio2_chains=1; 
 +$radio2_low_txpower_mode=0; 
 +$radio2_legacy=1; 
 +$radio2_chanbw="5,10,20,40,80"; 
 +$radio2_ext_channel=1; 
 +$radio_outdoor=1; 
 +$feature_advanced_ethernet=1; 
 +$feature_poe_passthrough=1; 
 +$poe_passthrough_gpio=11; 
 +$feature_advanced_ethernet_phy=1; 
 +$feature_ext_reset=0; 
 +$eth_mac_count=1; 
 +$eth_mac1_max_mtu=2024; 
 +$feature_rssi_leds=0; 
 +
 +ubnt@airCube-ISP:~# cat /proc/ubnthal/board.info 
 +board.sysid=0xe8f7 
 +board.cpurevision=0x00000160 
 +board.name=airCube ISP 
 +board.shortname=ACB 
 +board.model=ACB-ISP 
 +board.timestamp=1533689463 
 +board.bom=13-00581-02 
 +board.netmodes=7 
 +board.hwaddr=B4FBE4622C2D 
 +board.hwaddr_eth0=B4FBE4632C2D 
 +board.hwaddr_eth1=B6FBE4632C2D 
 +board.reboot=40 
 +board.upgrade=150 
 +board.phycount=1 
 +board.phy.1.maxmtu=2024 
 +board.fcc_unii_activated=0 
 +board.fcc_unii_switchable=0 
 +radio.1.name= 
 +radio.1.shortname= 
 +radio.1.bus=pci 
 +radio.1.subsystemid=0xe8f7 
 +radio.1.subvendorid=0x0777 
 +radio.1.txpower.max=19 
 +radio.1.txpower.min=0 
 +radio.1.txpower.offset=0 
 +radio.1.ieee_modes=21 
 +radio.1.antennas=1 
 +radio.1.def_antenna=1 
 +radio.1.antenna.1.id=1 
 +radio.1.antenna.1.name=Feed only 
 +radio.1.antenna.1.gain=3 
 +radio.1.antenna.1.builtin=1 
 +radio.1.caps=752877588 
 +radio.1.eirp.limit=0 
 +radio.1.regdomain_flags="bom=0x0,ts=0x5b6a3e77" 
 +radio.1.devdomain=2400 
 +radio.1.ccode=840 
 +radio.1.ccode_fixed=0 
 +radio.1.ccode_locked=0 
 +radio.1.ptp_only=1 
 +radio.1.ptp_sta=1 
 +radio.1.ptmp_only=1 
 +radio.1.ptmp_sta=1 
 +radio.1.distance_limit_km=0 
 +radio.1.chanbw="20,40" 
 +radio.2.name= 
 +radio.2.shortname= 
 +radio.2.bus=ahb 
 +radio.2.subsystemid=0x0000 
 +radio.2.subvendorid=0x0000 
 +radio.2.txpower.max=0 
 +radio.2.txpower.min=0 
 +radio.2.txpower.offset=0 
 +radio.2.ieee_modes=0 
 +radio.2.antennas=0 
 +radio.2.def_antenna=0 
 +radio.2.caps=0 
 +radio.2.eirp.limit=0 
 +radio.2.regdomain_flags="bom=0x0,ts=0x5b6a3e77" 
 +radio.2.devdomain=0 
 +radio.2.ccode=0 
 +radio.2.ccode_fixed=0 
 +radio.2.ccode_locked=0 
 +radio.2.distance_limit_km=0 
 +radio.2.chanbw="5,10,20,40,80" 
 +feature.rssi.leds=0 
 +feature.ext_reset=0 
 +ubnt@airCube-ISP:~#
 </nowiki></WRAP>\\ </nowiki></WRAP>\\
  
-==== OpenWrt bootlog ====+===== OpenWrt bootlog =====
 <WRAP bootlog><nowiki> <WRAP bootlog><nowiki>
 U-Boot 1.1.4-s1055 (Sep 19 2017 - 16:00:36) U-Boot 1.1.4-s1055 (Sep 19 2017 - 16:00:36)
  • Last modified: 2024/09/06 07:22
  • by dnd