tuya-convert icon indicating copy to clipboard operation
tuya-convert copied to clipboard

Issue with ./install_prereq.sh and Wifi AP creation on Ubuntu 21.04

Open Kamynsky opened this issue 3 years ago • 3 comments

Dear Dev , There are two issues on Ubuntu 21.04 with current scripts : ./install_prereq.sh is failing due to lack of universal repo being enabled as default on Ubuntu 21.04 Quick fix : If there are errors "Package '********' has no installation candidate" Ask user if he/she want to add Universal Repo ( sudo add-apt-repository universe )and re run the script

Second issue is wrong naming for Network Manger in /scripts/setup_ap.sh in two lines : sudo service network-manager stop should be sudo service NetworkManager stop and sudo service network-manager restart should be sudo service NetworkManager restart

Without that change Vtrust AP will not be working for longer than couple of seconds . Same issue will be with all Ubuntu 21.04 based distorts I think After these changes I was able to flash 4 devices :)

Kamynsky avatar Sep 12 '21 22:09 Kamynsky

Doesn't work in 20.04 or 18.04 either without these changes.

mkaatman avatar Oct 14 '21 18:10 mkaatman

Thanks!!!

andrei-lazarov avatar Feb 09 '22 00:02 andrei-lazarov

Hello, I agree that the correct statement for my version would be sudo service NetworkManager stop as well - I made that change, unfortunately that did not fix my issue described here (timeout waiting for device to re-connect): https://github.com/ct-Open-Source/tuya-convert/issues/1022

Looks like there is not much feedback from the original team as much as I can see - so my hope of getting to the root cause of my issue seems unlikely. Also, I´m not sure how a change like the above would be pulled into the repo ..

MacSass avatar Feb 15 '22 17:02 MacSass