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

dnsmasq/DHCP Issues - Unable to get IP from vtrust network

Open
#1,060 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.1k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

I've used the docker version of this library on my laptop with no issues in the past, however with my latest attempts I'm running into issues getting my phone (or any device for that matter) to connect to the vtrust-flash wifi network.

I've run through all of the recommended fixes for the problem however it seems as though dnsmasq just isn't running/responding to any of the requests from my devices.

As such the flash process isn't working at all.

Has anyone else experienced this issue and if so, how did you resolve it?

I noticed that the dnsmasq service was running in the foreground thus preventing the AP from starting, so I added an `&` to the end of this line: https://github.com/ct-Open-Source/tuya-convert/blob/master/scripts/setup_ap.sh#L47

That at least started the AP & dnsmasq services but dnsmasq doesn't seem to be receiving any requests for IPs, it doesn't output anything at all.
Meanwhile the AP service is happily logging connects/disconnects each time my phone attempts to connect to the AP.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect scripts/setup_ap.sh around line 47, then reproduce the vtrust-flash Wi-Fi connection attempt while observing the AP and dnsmasq behavior. Done means the AP starts without blocking, dnsmasq responds to DHCP requests from connecting devices, and the flash process can proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.