- Enter the settings up to line 17 in "ApSetup.py" as you like.
- Run "ApSetup.py" as root user.
sudo su -
python3 ApSetup.py
- After you run "ApSetup.py", restart Raspberry PI.
- You can use following command to activate the Wifi access point in both Raspberry Pi OS and Ubuntu.
sudo systemctl restart hostapd