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

Ask for root login upon startup (on linux) #100

Open
Serial-Comma opened this issue Sep 9, 2023 · 0 comments
Open

Ask for root login upon startup (on linux) #100

Serial-Comma opened this issue Sep 9, 2023 · 0 comments

Comments

@Serial-Comma
Copy link

Tried to use this to flash my ESP8266 and the serial port was already detected (and selected) before flashing. However, It was stuck at Detecting Chip type... ESP8266 and stayed there forever with no error code or anything.

So i copied the command esptool.py --port /dev/ttyUSB0 --baud 115200 --after no_reset write_flash --flash_size detect --flash_mode dio 0x00000 /home/username/Downloads/esp8266_milight_hub_nodemcuv2-1.10.9.bin and ran it in my terminal, but it said it was unable to detect the port, but after running it with sudo it successfully flashed.

I wasn't asked for root privileges when running nodemcu-pyflasher, nor was there a way to configure such, so I would assume that this was the problem when using the GUI earlier. Therefore, the software may need to ask for root privileges when running, at least for linux users.

OS: Arch Linux
Installed from AUR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant