Skip to content

Commit 083531b

Browse files
committed
fixes, sae password untested
1 parent 26b60ea commit 083531b

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build_image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ jobs:
5555
ODY_IROH_ROOT_PASSWORD: ${{ secrets.ODY_IROH_ROOT_PASSWORD }}
5656
ODY_MESH_ROOT_PASSWORD: ${{ secrets.ODY_MESH_ROOT_PASSWORD }}
5757
ODY_MESH_AP_PASSWORD: ${{ secrets.ODY_MESH_AP_PASSWORD }}
58+
ODY_MESH_SAE_PASSWORD: ${{ secrets.ODY_MESH_SAE_PASSWORD }}
5859
MASTER_PASSWORD: ${{ secrets.ODY_MASTER_PASSWORD }}
59-
run: for i in ODY_AP_ROOT_PASSWORD ODY_TPU_ROOT_PASSWORD ODY_WHEEL_ROOT_PASSWORD ODY_WHEEL_AP_PASSWORD ODY_IROH_ROOT_PASSWORD ODY_MESH_ROOT_PASSWORD ODY_MESH_AP_PASSWORD ODY_BASE_WIFI_PASSWORD ODY_BASE_FIELD_WIFI_PASSWORD; do echo "$i=${!i}" >> SECRETS.env; done; echo "" >> SECRETS.env; gpg --batch --symmetric --passphrase "$MASTER_PASSWORD" --no-symkey-cache --cipher-algo AES256 SECRETS.env
60+
run: for i in ODY_AP_ROOT_PASSWORD ODY_TPU_ROOT_PASSWORD ODY_WHEEL_ROOT_PASSWORD ODY_WHEEL_AP_PASSWORD ODY_IROH_ROOT_PASSWORD ODY_MESH_ROOT_PASSWORD ODY_MESH_AP_PASSWORD ODY_MESH_SAE_PASSWORD ODY_BASE_WIFI_PASSWORD ODY_BASE_FIELD_WIFI_PASSWORD; do echo "$i=${!i}" >> SECRETS.env; done; echo "" >> SECRETS.env; gpg --batch --symmetric --passphrase "$MASTER_PASSWORD" --no-symkey-cache --cipher-algo AES256 SECRETS.env
6061
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
6162
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
6263
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.

compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ services:
2727
- ODY_BASE_WIFI_PASSWORD=password
2828
- ODY_WHEEL_ROOT_PASSWORD=password
2929
- ODY_WHEEL_AP_PASSWORD=password
30+
- ODY_MESH_SAE_PASSWORD=password
3031
volumes:
3132
shared_data:
3233
labels:

odysseus_tree/overlays/rootfs_overlay_mesh/etc/wpa_supplicant_halow.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ network={
1515
op_class=71
1616
country=“US”
1717
mesh_rssi_threshold=-85
18-
sae_password=“REDACTED”
18+
sae_password="password"
1919
pairwise=CCMP
2020
ieee80211w=2
2121
beacon_int=1000

odysseus_tree/post-build-mesh.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
sed -i "s|^\(ssid=.*_\).*|\1${ODY_MESH_ID}|" "$TARGET_DIR"/etc/hostapd.conf
55

66
# change the static IP
7-
sed -i "s|^\(\s*static ip_address=10\.42\.0\.\)[0-9X]\+/24|\1${ODY_NODE_ID}/24|" "$TARGET_DIR"/etc/dhcpcd.conf
7+
sed -i "s|^\(\s*static ip_address=10\.42\.0\.\)[0-9X]\+/24|\1${ODY_MESH_ID}/24|" "$TARGET_DIR"/etc/dhcpcd.conf
8+
9+
# add the sae password
10+
sed -i "s|^\(\s*sae_password=\)\".*\"|\1\"${ODY_MESH_SAE_PASSWORD}\"|" "$TARGET_DIR"/etc/wpa_supplicant_halow.conf

0 commit comments

Comments
 (0)