Unifi USW Flex switch keep vanishing off the network?

Unifi USW Flex switch will not adopt or fails to adopt?

For some reason there seems to be a bad batch of firmware on many of the Flex switches that causes them to first adopt and then vanish or not adopt at all. The solution is this..

FInd the latest USW-Flex firmware:

https://www.ui.com/download/software/usw-flex

Save the link to a text file – example:
https://dl.ui.com/unifi/firmware/USF5P/7.1.26.15869/US.mt7621_7.1.26+15869.240926.1436.bin

Now open PUTTY for SSH access to the device:

Put the IP of the Flex switch into Putty and connect to it. (Look in your device client list or run a network scan to find the IP)

The password to login to the SSH session will either be the default – username: ubnt password: ubnt
or if you have previously adopted the device it will be the username and password shown in your
admin panel under – Settings >> System >> Advanced >> Device Authentication.

Now we need to upgrade the firmware with this command:

upgrade

upgrade https://dl.ui.com/unifi/firmware/USF5P/7.1.26.15869/US.mt7621_7.1.26+15869.240926.1436.bin

Of course you can replace the https://… with the latest link you can find on the UniFi firmware download page.

After you hit enter it will take a few minutes to download and upgrade. No not interrupt this as you will brick the device.

The the device will reboot and take a few minutes before it comes back online.

Reconnect to the device by opening a duplicate session on Putty to the same IP.

Now adopt the Flex to your controller with the following SSH command:

set-inform http://myunificontrollerdomain.com:8080/inform

Then accept the new device on the UniFi controller – sometimes you need to check the phone app to adopt the device.

Still not working?

Try resetting the device back to factory defaults:

syswrapper.sh restore-default & set-default &

Type the above command into the SSH session (it does include the last & symbol)

Give it a few minutes after running the command and you should be able to log back in via SSH using the default ubnt/ubnt password.

Now try to use the set-inform command via SSH once more and it should show in the controller devices as ready for adoption.

Similar Posts

Leave a Reply