Create Wifi HotSpot with Rust

Hi all,
I'm creating a project which requires that I create WiFi hotspot on laptops, I've been looking for a way to achieve this, I'd appreciate a guide or sample project which implement this.

The closest I've come to achieving this is GitHub - balena-os/wifi-connect: Easy WiFi setup for Linux devices from your mobile phone or laptop but it doesn't work on my system

There is nothing Rust-specific about this task. It requires calling appropriate OS-specific APIs, so look up how to do that in general (or using C or C++), and then either find a Rust crate that has wrappers for the functions you need (like nix or windows-sys or core-foundation etc.) or use FFI to call required methods directly.

2 Likes

will do that, thank you

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.