Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible (but near) to flash firmware using DIY Tools under Ubuntu 18.04 #21

Open
ThierryM opened this issue Jul 29, 2019 · 3 comments

Comments

@ThierryM
Copy link

commented Jul 29, 2019

Hi,
Here my experience in intending flashing Tasmota firmware with Sonoff_Devices_DIY_Tools under Ubuntu 18.04 (I think, that this DIY mode should interest many people working with GNU/Linux and not only these under Windows...). You can find more informations (in french) here : https://lofurol.fr/joomla/electronique/domotique/225-sonoff-flasher-tasmota-sur-un-module-sonoff-rf-r3.
As the tools are python programs, I think that they could work for GNU/Linux... Almost but not.
When I try to flash, the progression bar stay at 0% and I have this error message:

Server initialization complete
Traceback (most recent call last):
  File "/perso_ssd/Thierry/Electronique/Domotique/Tasmota/Sonoff_DIY_Tools/Sonoff_Devices_DIY_Tools/code/Dialog_text.py", line 623, in start_root
    server_port=myport, server_ip=myaddr)
  File "/perso_ssd/Thierry/Electronique/Domotique/Tasmota/Sonoff_DIY_Tools/Sonoff_Devices_DIY_Tools/code/tcp_server.py", line 30, in __init__
    self.sockfd.bind(ADDR)
PermissionError: [Errno 13] Permission non accordée

So it seems that this is an access denied problem but I don't know how to solve it. I add that I succeeded to flash with the same local WLAN network with a Windows 10 laptop.
Thanks for your help, regards

@ZZLinvec

This comment has been minimized.

Copy link
Contributor

commented Aug 5, 2019

Now the error is that the expression tool cannot get to the IP address of the local machine, so the port cannot be bound.If you need to run under LINUX, change the tool code to get the IP address under LINUX.
I can talk to you about the upgrade process.

@ThierryM

This comment has been minimized.

Copy link
Author

commented Aug 5, 2019

Hi, thanks for your reply.
I made some searches but I'm not able to modify the tool code ;-).
Under Ubuntu when I launched mdns.py, nothing happened. It seems in this topic https://stackoverflow.com/questions/10244117/how-can-i-find-the-ip-address-of-a-host-using-mdns that there is a problem with zeroconf and ESP8266.
Regards

@rradar

This comment has been minimized.

Copy link

commented Aug 8, 2019

This needs to be investigated!

@ZZLinvec could you please assist get your DIY Tools running with linux? Thank's a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.