Skip to content

Interface not necessarily on wlp58s0 #16

@randyzwitch

Description

@randyzwitch

For my laptop running Ubuntu 18.04 LTS, my network interface is actually wlp59s0 https://github.com/alessandrobessi/pytelemetry/blob/master/pytelemetry/listen.py#L37

Haven't thought too much about the robustness of this (I'm just getting started trying this package), but something like [x for x in ni.interfaces() if 'wlp' in x][0] would fix this for my case while (presumably) making your interface id work as well.

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