ct-Open-Source / ct-Open-Source/tuya-convert

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

Open
#984 3 comments 10 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.1k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

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 :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.