Skip to content

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

@Serial-Comma

Description

@Serial-Comma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions