Morse and mesh and zenoh#269
Conversation
|
|
||
| # wlan0 is the 900 MHz | ||
| interface wlan0 | ||
| static ip_address=10.42.0.X/24 |
There was a problem hiding this comment.
so does including X here just tell dhcp to give any available IP under the subnet here?
There was a problem hiding this comment.
there is a script that replaces it with which node ID it is. https://github.com/Northeastern-Electric-Racing/Odysseus/blob/8ccff923b55bb54a17d26b55978f25427552337a/odysseus_tree/post-build-mesh.sh. It uses the ODY_MESH_ID which should be passed as an env var.
|
|
||
| # STP 802.3 | ||
| interface eth1 | ||
| static ip_address=10.0.0.1/24 |
There was a problem hiding this comment.
is this eth to router? how did that work without this before?
There was a problem hiding this comment.
it did not I forgot to commit it 💀
| ODY_MESH_SAE_PASSWORD: ${{ secrets.ODY_MESH_SAE_PASSWORD }} | ||
| MASTER_PASSWORD: ${{ secrets.ODY_MASTER_PASSWORD }} | ||
| 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_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 | ||
| 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 |
There was a problem hiding this comment.
can you explain how secrets work again? there a local secrets file that the container reads from and then just stores in env or something like that right?
There was a problem hiding this comment.
Changes
Explanation of changes goes here
Notes
Any other notes go here
Test Cases
To Do
Any remaining things that need to get done
Checklist
It can be helpful to check the
ChecksandFiles changedtabs.Please reach out to your Project Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.
Closes # (issue #)