Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After installing NMAP: dnet: Failed to open device eth0?

Tags:

device

nmap

Error after starting command > nmap

dnet: Failed to open device eth0 after installing NMAP.
QUITTING!
like image 945
Davor Avatar asked Nov 24 '25 01:11

Davor


1 Answers

In my case, the error was caused by nmap being installed through Snap.

In order to get nmap to work, I had to tell snap to connect it to the network-control:

sudo snap connect nmap:network-control

After that everything worked fine.

like image 144
Potherca Avatar answered Nov 27 '25 21:11

Potherca



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!