question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to obtain IP address for vtrust-flash for aoycocr mini Wi-Fi switch

See original GitHub issue

Before opening a new issue, please read the following

Are you reporting a successful flash? Please add it to the wiki instead!

Do you have a question about configuring your newly flashed device? Please ask in your alternative firmware’s support channel instead!

Did you have issues getting a device to flash? Please be sure to include your device name, model, and firmware version as well as your logs!

Please remember to close your issue when the problem has been addressed!

Running tuya-convert in a kali docker image on a nuc and using an Android device to try to connect to vtrust-flash and tries to obtain an IP address but never succeeds. The tuya device is an aoycocr mini-Wi-Fi switch ([https://www.amazon.com/gp/product/B07N1JPPXK]).

CLI output:


Checking for network interface wlp3s0... Found.
Checking UDP port 53... Available.
Checking UDP port 67... Available.
Checking TCP port 80... Available.
Checking TCP port 443... Available.
Checking UDP port 6666... Available.
Checking UDP port 6667... Available.
Checking TCP port 1883... Available.
Checking TCP port 8886... Available.
======================================================
  Starting AP in a screen.............................

smarthack-wifi.log:

Stopping NetworkManager...
network-manager: unrecognized service
Configuring AP interface...
RTNETLINK answers: File exists
RTNETLINK answers: File exists
Starting DNSMASQ server...
Starting AP on wlp3s0...
Configuration file: /dev/stdin
Using interface wlp3s0 with hwaddr a0:c5:89:63:87:ba and ssid "vtrust-flash"
wlp3s0: interface state UNINITIALIZED->ENABLED
wlp3s0: AP-ENABLED 
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-DISCONNECTED 54:14:fd:01:7c:b9
wlp3s0: AP-STA-CONNECTED 54:14:fd:01:7c:b9

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
kueblccommented, Jan 25, 2020

It’s come up in some other issues that a firewall might interfere with dnsmasq. Try checking if ufw or firewalld is running.

0reactions
compactcodecommented, Jul 3, 2020

Had the same issue with docker running on a NixOS host machine. Disabling the default host firewall sorted this issue for me, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Smart Switch Won't Connect To Wifi: 3 WAYS TO FIX - YouTube
Are you having trouble getting your smart switch to connect to wifi ? We have 3 easy fixes that can get your smart...
Read more >
Aoycocr Alexa Smart Plugs - Mini Bluetooth WIFI Smart Socket ...
Aoycocr Alexa Smart Plugs - Mini Bluetooth WIFI Smart Socket Switch Works With Alexa Echo Google Home, Remote Control Smart Outlet with Timer...
Read more >
What should I do if I cannot access the web management ...
[1] The default IP address of the switch is 192.168.0.1. If you had changed the default IP address, then ping the new IP...
Read more >
Find the IP Address of any IoT Device - PingPlotter
IP Addresses of internet connected devices aren't always obvious, but MultiPing can help you find them.
Read more >
Alexa Smart Plugs - Aoycocr Mini WIFI Smart Socket Switch ...
Arrives by Fri, Dec 30 Buy Alexa Smart Plugs - Aoycocr Mini WIFI Smart Socket Switch Works With Alexa Echo Google Home, Remote...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found