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

noble warning: adapter state unauthorized #59

Closed
muscaiu opened this issue Jun 15, 2019 · 1 comment
Closed

noble warning: adapter state unauthorized #59

muscaiu opened this issue Jun 15, 2019 · 1 comment

Comments

@muscaiu
Copy link

muscaiu commented Jun 15, 2019

I've reinstalled my RPi3 and recloned the repo that was previosly working, but this time i must have forgotten some step because i'm getting this error when i start scanning:

noble warning: adapter state unauthorized, please run as root or with sudo
               or see README for information on running without root/sudo:
               https://github.com/sandeepmistry/noble#running-on-linuxStop scanning. (unauthorized)

I ran both commands before installing the repo:
[sudo] npm install -g --unsafe-perm homebridge
[sudo] npm install -g --unsafe-perm homebridge-mi-hygrothermograph

PS: i had another question that was solved here: #53

@muscaiu
Copy link
Author

muscaiu commented Jun 15, 2019

Found it:

sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)4

@muscaiu muscaiu closed this as completed Jun 15, 2019
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