From 7830b561708a58abbcea1cf04de23bf0f71c3511 Mon Sep 17 00:00:00 2001 From: alihan Date: Tue, 16 May 2023 23:50:13 +0300 Subject: [PATCH] minor touches for raspberry zero w --- .gitkeep | 0 install.sh | 4 ++-- manage.sh | 1 + settings/admin.yml | 4 ++-- wpa_supp.log | 0 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .gitkeep create mode 100644 wpa_supp.log diff --git a/.gitkeep b/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/install.sh b/install.sh index 5a904d2..c8755b3 100755 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ elif [ "$ARCH" = "armv6l" ]; then fi echo "found architecture $ARCH"; sleep 3 -rm yq_linux_* && \ +rm yq_linux_* wget https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_$ARCH && \ mv yq_linux_$ARCH yq && \ chmod +x yq && \ @@ -20,6 +20,6 @@ mv yq /home/uad/.local/bin echo "installing virtualenv"; sleep 3 -virtualenv venv +virtualenv --python=/usr/bin/python3.7 venv pip install -r requirements.txt diff --git a/manage.sh b/manage.sh index 2a6c136..956038c 100755 --- a/manage.sh +++ b/manage.sh @@ -13,6 +13,7 @@ list_related_network_interface_status() { } list_wifi_ssid(){ + echo "using drone interface: $DRONE_INTERFACE" sudo iw dev $DRONE_INTERFACE scan | grep "SSID: " } diff --git a/settings/admin.yml b/settings/admin.yml index c0e929c..fb6faeb 100644 --- a/settings/admin.yml +++ b/settings/admin.yml @@ -1,6 +1,6 @@ commander: drone_interface: - wlx14cc201488aa + wlan1 net_interface: wlan0 drone_wpa_supp: @@ -8,4 +8,4 @@ commander: net_wpa_supp: wpa_supp_uadis.conf env_for_dynaconf: - tuncel \ No newline at end of file + commander diff --git a/wpa_supp.log b/wpa_supp.log new file mode 100644 index 0000000..e69de29