"Unable to open /etc/resolv.conf"
I downloaded an nmap script from the internet in order to be able to display in Conky the IP addresses connected to my home network but when I run conky from console I get these errors :
"mass_dns: warning: Unable to open /etc/resolv.conf. Try using --system-dns or specify valid servers with --dns-servers "
"mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers"
The weird part is that even with the errors mentioned before, when I run conky I still get the addresses of all the peripherals connected to my network.
On terminal, I also ran the command sudo nmap -sP #.#.#.#/24 (# = my Ip) and still got the same errors but again, it listed all my IP's-.
I'm currently running nmap version 5.2
I would appreciate any help regarding this since I don't know much about nmap and networking.