Benodigd
- Paperclip
- Unifi flex mini switch
- Unifi network controller
- RJ45 ethernet kabel
- Ubuntu 20
- Optioneel
- Hypervisor: /Proxmox
- Ubuntu 20 VM
Python Webserver opzetten op Ubuntu
- Python installeren
- sudo apt-get update && sudo apt-get install python3
- Python versie
- python_version=$(dpkg -l | grep “^ii” | awk ‘/python/{print$2}’ | grep “^python[0-9].[0-9]$” | head -n1)
- sudo “${python_version}” -V
- Een directory maken
- cd ~
- mkdir webserver
- cd webserver
- Starten Python 3.X webserver
- sudo “${python_version}” -m http.server 80
Python Webserver opzetten op Ubuntu
- IP adres statisch naar 192.168.1.99 zetten
- Zoek – Netwerk
- Internetverbinding – klik: Tandwiel
- IPV4
- Handmatig
- Adres: 192.168.1.99
- Netmasker: 255.255.255.0
- Gateway: 192.168.1.0
- DNS: 1.1.1.1
- Firmware op de webserver downloaden
- https://www.ui.com/download/unifi-switching-routing/unifi-switch-flex-mini/usw-flex-mini
- Hernoem naar fwupdate.bin
- verplaatsen naar de webserver
Ubiquiti Flex Mini switch herstarten
- Zet de switch uit
- Houd de reset knop in met de paperclip
- PoE stroom of de USB stroom er weer op
- Als dit goed is gegaan licht de LED blauw-wit-uit op in herhaling
Controle – Update
- Op de webserver op Ubuntu zal een verbonden apparaat via 192.168.1.20 zichtbaar moeten zijn
- Na 5 minuten zou de switch weer geadopteerd kunnen worden
Zoals beschreven
https://help.ui.com/hc/en-us/articles/360045001914-UniFi-USW-Flex-Mini-Recovery