FerasMoalla
August 5th, 2012, 10:34 PM
Hi
Trying to list the host's IPs connected to my LAN, using the command:
sudo arp-scan --localnet
It's not working, I get this respond:
root@localhost:~$ sudo arp-scan --localnet
ioctl: Cannot assign requested address
WARNING: Could not obtain IP address for interface eth0. Using 0.0.0.0 for
the source address, which is probably not what you want.
Either configure eth0 with an IP address, or manually specify the address
with the --arpspa option.
Interface: eth0, datalink type: EN10MB (Ethernet)
ERROR: Could not obtain interface IP address and netmask
ERROR: pcap_lookupnet: eth0: no IPv4 address assigned
I am connected to the internet using wlan0 interface and not eth0, why is it talking about eth0 here? any suggestions?
Trying to list the host's IPs connected to my LAN, using the command:
sudo arp-scan --localnet
It's not working, I get this respond:
root@localhost:~$ sudo arp-scan --localnet
ioctl: Cannot assign requested address
WARNING: Could not obtain IP address for interface eth0. Using 0.0.0.0 for
the source address, which is probably not what you want.
Either configure eth0 with an IP address, or manually specify the address
with the --arpspa option.
Interface: eth0, datalink type: EN10MB (Ethernet)
ERROR: Could not obtain interface IP address and netmask
ERROR: pcap_lookupnet: eth0: no IPv4 address assigned
I am connected to the internet using wlan0 interface and not eth0, why is it talking about eth0 here? any suggestions?