wifi-control-node
wifi-control-node copied to clipboard
Error on non 'wlan0' interfaces on Linux machines
I get this error:
WiFiControl: Encountered an error while searching for wireless interface: [object Object] WiFiControl: You cannot scan for nearby WiFi networks without a valid wireless interface.
Because the name of my wireless interface isn't wlan0, it's wlp4s0. I don't know why it's so. But I know it's not always wlan0 among linux machines. I have seen variations in different OSes.
This is my OS: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04"
I can send a pull request which would be a generic solution irrespective of the interface name.