Skip to content

Error on non 'wlan0' interfaces on Linux machines #41

@jee1mr

Description

@jee1mr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions