-
Notifications
You must be signed in to change notification settings - Fork 59
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
Question: Adding a network interface #21
Comments
Hi there, apologies for the delay. I've had most success by using strace on commands like iw, checking the applicable kernel side code, order r setting up an nlmon interface and using Wireshark to inspect the packets. I apologize, there is no simple solution really. A lot of the stuff here I was able to work out with some trial-and-error. |
Hi I had the same problem. If you use the right encoding for the Attributes the code works. It helps to use iw with -- debug option.
Hope it helps |
Forgive me if this is asking about a trivial thing.
I am trying to add the capability of adding a network interface to a physical device similar to the iw command
sudo iw phy phy1 interface add mon type monitor
I've found the neccesary commands (cmdNewInterface) and attributes, but I am having a very hard time constructing a simple example. Would it be possible to point to, show or guide me towards an example?
This is my current code (which outputs "operation not supported" -- while iw works):
Any help or guidance is highly appreciated -- apologies for potential misunderstandings
Best,
Henrik
The text was updated successfully, but these errors were encountered: