Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1008 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 1008 Bytes

nl80211 in Rust

Handling nl80211, IEEE 802.11 Netlink protocol, in Rust. Work in progress.

Example

If run without arguments the example program will listen for nl80211 events. If a new scan event is received the scan results will be fetched.

$ cargo run --release --example nl80211

To run some example commands administrative access is needed, Set administrative capabilities like so,

sudo setcap cap_net_admin+ep ./target/release/examples/nl80211

Then it is possible to initiate a scan for example.

./target/release/examples/nl80211 scan

Compatability

Rust 1.30.0 or later is needed.

Tested on following platforms,

  • Linux 4.18 x86_64, Fedora 28
  • Linux 4.1 ARMv7
  • Linux 4.9 AArch64

License

Licensed under the MIT license.

Build Status Crates.io