diff --git a/code/make_ap.sh b/code/make_ap.sh new file mode 100755 index 0000000..867923a --- /dev/null +++ b/code/make_ap.sh @@ -0,0 +1,7 @@ +#! /bin/env bash +nmcli con add type wifi ifname wlp44s0 mode ap con-name WIFI_AP_TEST ssid MY_AP_TEST && +nmcli con modify WIFI_AP_TEST 802-11-wireless.band bg && +nmcli con modify WIFI_AP_TEST 802-11-wireless.channel 1 && +nmcli con modify WIFI_AP_TEST 802-11-wireless-security.key-mgmt wpa-psk && +nmcli con modify WIFI_AP_TEST 802-11-wireless-security.psk 11223344 && +nmcli con modify WIFI_AP_TEST ipv4.method shared && nmcli con up WIFI_AP_TEST