--- /dev/null
+#!/bin/bash
+
+###
+# Activates of Will Budić specific hotspot on the wifi card.
+#
+# Requirements: sdo apt install libgdal-dev, nmcli, vnstat
+# sudo systemctl enable vnstat
+# sudo systemctl start vnstat
+###
+result=$(nmcli radio wifi)
+echo "[$result]"
+if [ "$result" == "disabled" ]; then
+ nmcli radio wifi on;
+ echo -e "Switched on wifi!\n"
+fi
+result=$(nmcli con show Hotspot | awk '/ipv4.addresses/ { print $2}');
+if [ "$result" != "10.42.0.1/24" ]; then
+ nmcli con down Hotspot
+ sudo nmcli con mod Hotspot ipv4.addresses "10.42.0.1/24";
+ echo -e "Changed to mobile compatible host connection address!\n";
+fi
+
+nmcli con up Hotspot
+nmcli -p -f general,wifi-properties device show wlp0s20f3
+
+vnstat -tr -l wlp0s20f3