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

Error: Error: No devices to listen #9

Closed
AlSa-Her opened this issue Nov 15, 2017 · 2 comments
Closed

Error: Error: No devices to listen #9

AlSa-Her opened this issue Nov 15, 2017 · 2 comments

Comments

@AlSa-Her
Copy link

Hello,
i finally got the node to install. Nonetheless, I now get an error when having the node in a flow and deploying. Once deployed, the node immediately sends the error:
Error: Error: No devices to listen
even though I did add the right MAC Adress (copied out of the findbutton-skript and double checked with my router settings-page).
What I noticed is, that I do get four
node_pcap: EthernetFrame() - Don't know how to decode ethertype 34958
messages in the bin/findbutton skript every time i press the button before the actual mac-address is displayed (It does find the right mac address without problems though!).

My configuration:
Raspberry Pi Zero W running DietPi
Node.js v6.10.0
Node-Red v0.17.5
npm v5.5.1

Thanks in advance!

@AlSa-Her
Copy link
Author

AlSa-Her commented Feb 13, 2018

Hey,

I got it to work for me few weeks ago.
The problem was the "capabilities" of the program "node". As explained in this link (german, also mentioned in issue #2), this can be fixed using the setcap tool.

The exact code which fixed the problem for me was:
sudo setcap 'cap_net_raw,cap_net_admin+eip' $(readlink -f $(which node))

Hope this helps,
cheers!

@Noob-777
Copy link

Noob-777 commented Aug 13, 2019

Hey,

I got it to work for me few weeks ago.
The problem was the "capabilities" of the program "node". As explained in this link (german, also mentioned in issue #2), this can be fixed using the setcap tool.

The exact code which fixed the problem for me was:
sudo setcap 'cap_net_raw,cap_net_admin+eip' $(readlink -f $(which node))

Hope this helps,
cheers!

thanks AlSa-Her! you have solved my node-red-contrib-amazondash problems!

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

2 participants