Tuya-convert

User avatar
YoMan
Posts: 3522
Joined: Thu Apr 30, 2020 5:18 pm
Location: Częstochowa
Has thanked: 3 times
Been thanked: 3 times

Post

Cześć,

potrzebuje pomocy z tuya-convert. Jestem zielony z linuxa ale poszedłem po linii instrukcji znalezionych na tym forum i innych internetach.
  1. Zainstalowałem Ubuntu 22.04 LTS
  2. Zainstalowałem wszystkie sugerowane aktualizacje
  3. W terminalu wykonałem polecenia:
    1. sudo apt-get update
    2. sudo apt-get upgrade
    3. sudo apt-get install git
    4. git clone https://github.com/ct-Open-Source/tuya-convert
    5. cd tuya-convert
    6. sudo ./install_prereq.sh
    7. sudo ./start_flash.sh
Po tym wszystkim (i po wielu róznych komunikatach instalacyjnych) dostałem takie coś:

Code: Select all

fatal: unsafe repository ('/home/ja/tuya-convert' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /home/****/tuya-convert
tuya-convert 
======================================================
TUYA-CONVERT

https://github.com/ct-Open-Source/tuya-convert
TUYA-CONVERT was developed by Michael Steigerwald from the IT security company VTRUST (https://www.vtrust.de/) in collaboration with the techjournalists Merlin Schumacher, Pina Merkert, Andrijan Moecker and Jan Mahn at c't Magazine. (https://www.ct.de/)


======================================================
PLEASE READ THIS CAREFULLY!
======================================================
TUYA-CONVERT creates a fake update server environment for ESP8266/85 based tuya devices. It enables you to backup your devices firmware and upload an alternative one (e.g. ESPEasy, Tasmota, Espurna) without the need to open the device and solder a serial connection (OTA, Over-the-air).
Please make sure that you understand the consequences of flashing an alternative firmware, since you might lose functionality!

Flashing an alternative firmware can cause unexpected device behavior and/or render the device unusable. Be aware that you do use this software at YOUR OWN RISK! Please acknowledge that VTRUST and c't Magazine (or Heise Medien GmbH & Co. KG) CAN NOT be held accountable for ANY DAMAGE or LOSS OF FUNCTIONALITY by typing yes + Enter


======================================================
Cleaning up...
No screen session found.
No screen session found.
No screen session found.
No screen session found.
Closing AP
Exiting...
i nic się nie dzieje :(

Prośba do bardziej zaawansowanych linuxusers możecie podpowiedzieć o co chodzi i czego nie zrobiłem?
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
User avatar
klew
Posts: 13911
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 136 times
Been thanked: 137 times

Post

Wpisałeś: "yes" i nacisnąłeś enter zgodnie z poleceniem na ekranie?
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
YoMan
Posts: 3522
Joined: Thu Apr 30, 2020 5:18 pm
Location: Częstochowa
Has thanked: 3 times
Been thanked: 3 times

Post

klew wrote: Tue Jun 21, 2022 7:11 pm Wpisałeś: "yes" i nacisnąłeś enter zgodnie z poleceniem na ekranie?
no faktycznie z rozpędu po prostu walnałem enter ale .... to nic nie zmieniło poza komunikatem, że brakuje wlan0 ale nie wiem o co chodzi i co zmienic/wprowadzic:

Code: Select all

ja@ja-ko:~/tuya-convert$ sudo ./start_flash.sh
fatal: unsafe repository ('/home/ja/tuya-convert' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /home/ja/tuya-convert
tuya-convert 
======================================================
TUYA-CONVERT

https://github.com/ct-Open-Source/tuya-convert
TUYA-CONVERT was developed by Michael Steigerwald from the IT security company VTRUST (https://www.vtrust.de/) in collaboration with the techjournalists Merlin Schumacher, Pina Merkert, Andrijan Moecker and Jan Mahn at c't Magazine. (https://www.ct.de/)


======================================================
PLEASE READ THIS CAREFULLY!
======================================================
TUYA-CONVERT creates a fake update server environment for ESP8266/85 based tuya devices. It enables you to backup your devices firmware and upload an alternative one (e.g. ESPEasy, Tasmota, Espurna) without the need to open the device and solder a serial connection (OTA, Over-the-air).
Please make sure that you understand the consequences of flashing an alternative firmware, since you might lose functionality!

Flashing an alternative firmware can cause unexpected device behavior and/or render the device unusable. Be aware that you do use this software at YOUR OWN RISK! Please acknowledge that VTRUST and c't Magazine (or Heise Medien GmbH & Co. KG) CAN NOT be held accountable for ANY DAMAGE or LOSS OF FUNCTIONALITY by typing yes + Enter

yes
Checking for network interface wlan0... Not found!
Please edit WLAN in config.txt to one of: docker0, enp2s0, lo, wlp3s0
======================================================
Cleaning up...
No screen session found.
No screen session found.
No screen session found.
No screen session found.
Closing AP
Exiting...
ja@ja-ko:~/tuya-convert$ 

YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
Yepestis
Posts: 890
Joined: Mon Sep 24, 2018 6:08 pm
Location: Wrocław
Has thanked: 19 times
Been thanked: 3 times

Post

Masz wi-fi w tym komputerze? Wlan0 to bezprzewodowa karta sieciowa, albo jej nie masz albo brakuje Ci sterowników do niej.
User avatar
YoMan
Posts: 3522
Joined: Thu Apr 30, 2020 5:18 pm
Location: Częstochowa
Has thanked: 3 times
Been thanked: 3 times

Post

Yepestis wrote: Tue Jun 21, 2022 7:27 pm Masz wi-fi w tym komputerze? Wlan0 to bezprzewodowa karta sieciowa, albo jej nie masz albo brakuje Ci sterowników do niej.
no właśnie z tego komputeraz tutaj piszę ;) .... i jestem na wifi
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
Yepestis
Posts: 890
Joined: Mon Sep 24, 2018 6:08 pm
Location: Wrocław
Has thanked: 19 times
Been thanked: 3 times

Post

Nie możesz być połączony z żadną siecią jak uruchamiasz tuya-convert

Może też być tak że Twoja karta sieciowa nie jest wspierana
User avatar
klew
Posts: 13911
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 136 times
Been thanked: 137 times

Post

On szuka interfejsu karty sieciowej wlan0 (to najczęściej używaną nazwa na wifi pod Linuxem). Ty nie masz takiego interfejsu więc prosi abyś edytował plik config.txt i podał nazwę interfejsu Wi-Fi Twojego komputera.

Wpisz polecenie: ifconfig i poszukaj przy którym interfejsie jest Twój adres IP - następnie podaj tą nazwę w pliku config
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
YoMan
Posts: 3522
Joined: Thu Apr 30, 2020 5:18 pm
Location: Częstochowa
Has thanked: 3 times
Been thanked: 3 times

Post

Yepestis wrote: Tue Jun 21, 2022 8:04 pm Nie możesz być połączony z żadną siecią jak uruchamiasz tuya-convert

Może też być tak że Twoja karta sieciowa nie jest wspierana
może tak być bo odłączenie od sieci nic nie zmieniło
YoMan
________________________________________
Wziąłem udział w SOP2023 & SOP2024
s_pol
Posts: 36
Joined: Fri Mar 08, 2019 9:13 pm

Post

Wydaje mi się, że twoja karta wifi nie ma możliwości przełączania się w tryb AP.
Tuya-convert tworzy sieć o nazwie "vtrust-flash".
Kwicol
Posts: 120
Joined: Sun Jan 03, 2021 3:08 pm

Post

Witam.
A można ustawić nazwę sieci w routerze vtrust-flash i robić to w sieci lokalnej po lan ?
edit:
Oczywiście router nie może mieć internetu żeby urządzenie nie pobrało najnowszego softu.Się pobawie w wolnej chwili jeśli nikt tego nie próbował.Wydaje mi się że wystarczy po mac adresie dhcp na sztywno ustawić np. gniazdko na 10.42.42.42 itp. itd.

Return to “Pomoc”