Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface not necessarily on wlp58s0 #16

Open
randyzwitch opened this issue Nov 23, 2018 · 0 comments
Open

Interface not necessarily on wlp58s0 #16

randyzwitch opened this issue Nov 23, 2018 · 0 comments

Comments

@randyzwitch
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant