I am trying to scan wifi networks via Linux terminal running on a virtual machine. I am running virtual machine on Mac OS. On MAC terminal, I can see all Wi-Fi networks using (airport) command and can connect to one network.The NetworkAdapter setting for Virtual machine is set to Share with MAC.On Linux terminal, When I do ifconfig -a, I geteth0 & loHowever, when I type : sudo iwlist eth0 scan , I get error message:sudo iwlist eth0 scaneth0      Interface doesn't support scanning.Can someone explain how I can do that with Linux running on virtual machine? What I am doing wrong?
scan and connect to wifi from linux terminal on virtual machine
linux;osx
What you're doing wrong is to assume that whatever software you're using to run the virtual machine will pass the WiFi extension through to your VM.If you ranlspci in the terminal of your VM you'd most likely find that it sees anIntel, Realtek or AMD wired adapter.