Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e4dc78feb7 | ||
![]() |
ccf9c15a54 | ||
![]() |
9f974fbbb6 | ||
![]() |
39555ae720 |
@ -1,16 +1,15 @@
|
||||
# Offline Unifi Controller downloader
|
||||
# Unifi Firmware download
|
||||
|
||||
## Purpose
|
||||
|
||||
If your unifi controleer do not have access to the interner os is behing the corporate proxy
|
||||
If your unifi controller do not have access to the internet or is behind the corporate proxy
|
||||
the controller is not able to download the updates for firmwares.
|
||||
|
||||
|
||||
## Solution
|
||||
|
||||
Download the firmwares and upload to the controller directory
|
||||
|
||||
Download the firmwares offline and upload to the controller directory.
|
||||
|
||||
## Run
|
||||
|
||||
See `unifi-firmware-downlaod.sh`
|
||||
See `unifi-firmware-download.sh`
|
||||
|
@ -140,51 +140,3 @@ if __name__ == "__main__":
|
||||
args = parser.parse_args()
|
||||
main(args)
|
||||
|
||||
'''
|
||||
{
|
||||
"md5": "6c7257dd9ee9342f376f4b140df1f9a0",
|
||||
"version": "4.3.28.11361",
|
||||
"size": 7250217,
|
||||
"path": "U7P/4.3.28.11361/a1e0-U7P-4.3.28-62a146a0d8dd4161a291a74fd562b9ce.bin",
|
||||
"devices": [
|
||||
"U7P"
|
||||
]
|
||||
}
|
||||
'''
|
||||
|
||||
'''
|
||||
{
|
||||
"channel": "release",
|
||||
"created": "2021-02-10T09:03:12Z",
|
||||
"file_size": 7252057,
|
||||
"id": "3a44dd11-6c86-45ef-8d4e-5dbb91349ea7",
|
||||
"md5": "02da6330a4cf868d02819bce4d583651",
|
||||
"sha256_checksum": "255736db010c226897c10bb32818992401aaf9b942910caafae7c08d5fab06a7",
|
||||
"platform": "BZ2",
|
||||
"product": "unifi-firmware",
|
||||
"updated": "2021-02-10T09:03:15Z",
|
||||
"version": "v4.3.28+11361",
|
||||
"version_major": 4,
|
||||
"version_minor": 3,
|
||||
"version_patch": 28,
|
||||
"version_build": "11361",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://fw-update.ubnt.com/api/firmware/3a44dd11-6c86-45ef-8d4e-5dbb91349ea7"
|
||||
},
|
||||
"upload": [
|
||||
{
|
||||
"name": "data",
|
||||
"href": "https://fw-update.ubnt.com/api/firmware/3a44dd11-6c86-45ef-8d4e-5dbb91349ea7/data"
|
||||
},
|
||||
{
|
||||
"name": "changelog",
|
||||
"href": "https://fw-update.ubnt.com/api/firmware/3a44dd11-6c86-45ef-8d4e-5dbb91349ea7/changelog"
|
||||
}
|
||||
],
|
||||
"data": {
|
||||
"href": "https://fw-download.ubnt.com/data/unifi-firmware/8822-BZ2-4.3.28-3a44dd116c8645ef8d4e5dbb91349ea7.bin"
|
||||
}
|
||||
}
|
||||
},
|
||||
'''
|
||||
|
@ -19,5 +19,5 @@ PLATFORM+=('U5O')
|
||||
PLATFORM+=('U7P')
|
||||
|
||||
for VALUE in "${PLATFORM[@]}"; do
|
||||
${DIR_NAME}/env/bin/python ${DIR_NAME}/unifi-firmware-downlaod.py -f /var/lib/unifi/firmware -p ${VALUE}
|
||||
${DIR_NAME}/env/bin/python ${DIR_NAME}/unifi-firmware-download.py -f /var/lib/unifi/firmware -p ${VALUE}
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user