It is suitable for dhcpcd managed network on Raspberry Pi OS.
Component of project are;
- dhcpcd
- dnsmasq
- hostapd
- wpa_supplicant
- Change the configs on source_config file with your preferred values. You can get help from example values.
- Default Values
- Access Point SSID: test_ap
- Access Point Password: 12345678
- Static IP Address: 192.168.100.1
- Domain: test.local
- Default Values
- Do not forget to change [WIFI_SSID] and [WIFI_PASSWORD] on source_config file with your wifi ssid and password.
sudo chmod +x ./install.sh
sudo ./install.sh
To switch to AP mode:
sudo ./switch_ap_mode.sh
To switch to client mode:
sudo ./switch_client_mode.sh
To run test_server
sudo python3 test_server.py
- Change source_config files with your values
- Switch AP mode
- Run the test_server
- Connect the wifi access point by uisng another device
- Type static_ip_address or domain and view the test server on your device.
sudo chmod +x ./uninstall.sh
sudo ./uninstall.sh