Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ramips-mt7621: add Ubiquiti UniFi nanoHD #3362

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

Djfe
Copy link
Contributor

@Djfe Djfe commented Oct 31, 2024

  • Must be flashable from vendor firmware

    • Web interface
    • TFTP
    • Other: SSH
  • Downgrade to 3.9.27 first using this procedure UniFi Recovery Mode > Access Points (installation via ssh while running 6.6.73 was tested and didn't work, it automatically reboots into tftp recovery)

  • use pitch's acProFlashtool

  • Give your device

static ip: 192.168.1.xxx (xxx being a number between 1 and 254 but not 20)
net mask 255.255.255.0
gateway 192.168.1.20 (optional)

  • on linux: chmod +x firmwareloader-linux

  • ./firmwareloader-linux -f sysupgrade-file-name.bin

  • Must support upgrade mechanism

    • Must have working sysupgrade
      • Must keep/forget configuration (sysupgrade [-n], firstboot)
    • Gluon profile name matches autoupdater image name
      (lua -e 'print(require("platform_info").get_image_name())')
      ubiquiti-unifi-nanohd
  • Reset~~/WPS/...~~ button must return device into config mode

  • Primary MAC address should match address on device label (or packaging)
    (https://gluon.readthedocs.io/en/latest/dev/hardware.html#hardware-support-in-packages)
    It the same as the one silkscreened onto the device: E063DA25D25D

    • When re-adding a device that was supported by an earlier version of Gluon, a
      factory reset must be performed before checking the primary MAC address, as
      the setting from the old version is not reset otherwise.
  • Wired network

    • should support all network ports on the device
    • must have correct port assignment (WAN/LAN)
      • if there are multiple ports but no WAN port:
        • the PoE input should be WAN, all other ports LAN
        • otherwise the first port should be declared as WAN, all other ports LAN
  • Wireless network (if applicable)

    • Association with AP must be possible on all radios
    • Association with 802.11s mesh must work on all radios
    • AP+mesh mode must work in parallel on all radios
  • LED mapping

    • Power/system LED
    • Radio LEDs
      • Should map to their respective radio
      • Should show activity
    • Switch port LEDs
      • Should map to their respective port (or switch, if only one led present)
      • Should show link state and activity
  • Outdoor devices only:

    • Added board name to is_outdoor_device function in package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
  • Cellular devices only:

    • Added board name to is_cellular_device function in package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
    • Added board name with modem setup function setup_ncm_qmi to package/gluon-core/luasrc/lib/gluon/upgrade/250-cellular
  • Docs:

    • Added Device to docs/user/supported_devices.rst

@github-actions github-actions bot added 3. topic: docs Topic: Documentation 3. topic: hardware Topic: Hardware Support labels Oct 31, 2024
@blocktrron blocktrron merged commit a836ae7 into freifunk-gluon:main Nov 4, 2024
10 checks passed
@Djfe
Copy link
Contributor Author

Djfe commented Nov 4, 2024

thanks for merging. I just realized that github killed my indentation in the installation procedure above. I'll fix that now so it's more readable

@Djfe Djfe deleted the unifi-nano-hd branch November 4, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. topic: docs Topic: Documentation 3. topic: hardware Topic: Hardware Support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants