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

Get interface automatically (don't hardcode it) #36

Closed
prateekmedia opened this issue Feb 10, 2022 · 2 comments
Closed

Get interface automatically (don't hardcode it) #36

prateekmedia opened this issue Feb 10, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@prateekmedia
Copy link

We can get the default interface easily by running this command:

ip -4 route ls | grep default | grep -Po '(?<=dev )(\S+)'

So hardcoding wifi interface is not needed.

@jmanc3 jmanc3 added the enhancement New feature or request label Feb 10, 2022
@jmanc3
Copy link
Owner

jmanc3 commented Feb 10, 2022

@prateekmedia interface should be automatically detected after commit 98d2077. Let me know!

@prateekmedia
Copy link
Author

@jmanc3 Thanks, it is fixed now. Although I thought that this will also fix #33 but no it still persists :(

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

No branches or pull requests

2 participants