Is it possible to get a list of MAC addresses of devices connected to a network, even though the device is currently turned off? The device has power so I could do a wake-on-lan. I'm trying to get something like this to work in Linux.
Using nmap would only give me a list of the devices that are powered on and got an IP address, but I would like to get a list of ALL devices in any power state.