Chleba / netscanner

Terminal Network scanner & diagnostic tool with modern TUI
MIT License
865 stars 20 forks source link

OS Error 1 #18

Closed ghost closed 7 months ago

ghost commented 7 months ago

I installed netscanner with cargo and there were no errors, I'm using a raspberry pi (ARM) running debian 12 and upon trying to run netscanner I'm faced with

❯ netscanner netscanner failed with Error: Unable to create datalink channel: Operation not permitted (os error 1)

K0ntact commented 7 months ago

Did you tried to run it with sudo?

Chleba commented 7 months ago

Hi, As @K0ntact mention - did you try run it with sudo please ? That should help. If not - please let me know. Btw. I have to try it run on RPi with debian also, just for curiosity :) Thanks

ghost commented 7 months ago

@K0ntact @Chleba Yes it worked when running with sudo, i too ran this on a raspberry pi and by default i wasn't able to run this with sudo and was faced with a not found error (installed with cargo install netscanner), however setting an alias to the location of the file ~/.cargo/netscanner I was able to run it fine. Thank you for the solution @K0ntact