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

[Suggestion] NixOS Firewall Troubleshooting

Open rendeko opened this issue 4 years ago • 2 comments

Small suggestion, but I noticed for running the Docker container from NixOS, I had to change my NixOS configuration to remove networking.firewall.enable = false; and then rebuild. After doing so, my AP was able to distribute an IP address to my phone and I was able to flash. It might be worth noting this along with the lsof command to check for other services such as systemd taking up needed ports.

rendeko avatar May 22 '20 21:05 rendeko

Hi @rendeko thanks for the suggestion. I won't be implementing this myself as I do not use docker or NixOS, but I'm happy to take a look at a PR if you would like to make this change yourself.

kueblc avatar May 22 '20 21:05 kueblc

I'm uncertain if this has anything to do with docker itself, since the docker-container uses network: host and privileged: true, it should be similar if executing directly on the host. But I don't know NixOS in depth (we would need to test tuya without docker to know if this is a docker issue), I'll add a comment in the docker section to be aware of possible firewall-problems ...

Cyber1000 avatar Jan 30 '21 22:01 Cyber1000