October 22, 2024 · modern wfi access point apache rasperry pi iwd easy blazing fast quick
Quick & Easy: Modern WiFi AP on Rasberry Pi feat iwd
Install iwd
sudo apt install iwd
sudo mkdir -p /etc/iwd/
Configure
echo -e "[General]\nEnableNetworkConfiguration=true" >> main.conf
cp main.conf /etc/iwd/main.conf
sudo iwctl device wlan0 set-property Mode ap
sudo iwctl ap wlan0 start "testwifi" test123456
Setup routing
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -s 192.168.250.0/24 -j MASQUERADE
Reference
ap list List devices in AP mode
ap start <"network name"> Start an access point called "network name" with a passphrase
ap start-profile <"network name"> Start an access point based on
a disk profile
ap stop Stop a started access point
ap show Show AP info
ap scan Start an AP scan
ap get-networks```