Commit Graph

13 Commits

Author SHA1 Message Date
d139c423cb feat: Replace mr16_3 with ap3825i2
Following up from 08dab0af7da30a90a5bd130977704b0ec2ba60fb; the
replacement is now complete.
2022-08-05 14:49:18 -04:00
08dab0af7d feat: ap3825i2: prep to replace the mr16_3
This commit reconfigures the ap3825i2 in preparation for having it
replace mr16_3. We set up STP, prep some mesh VIFs and match it to the
mr16_3's channels.

Replacing the mr16_3 will fix Matt Woodbury's issues.
2022-08-02 00:15:10 -04:00
e1fd69bfee feat: packages: allow per-host package conf
We want to be able to assert / de-assert the presence of certain
packages.

Note that the ansible-openwrt role already gives us an opkg cache
refresh.
2022-08-02 00:11:23 -04:00
60ded8e0f7 fix: wifi-iface: apply skip_inactivity_poll and dissasoc_low_ack
I neglected to do this before.

Also, since these conf values now apply everywhere, shift the default
settings for these confs to just vgolan, where they are known-working.
2022-08-01 20:53:45 -04:00
3df974ae64 feat: inventory: Configure mr16_3 2022-07-26 15:56:13 -04:00
6592260901 feat: wifi_device: Make band vs hwmode configurable
As per openwrt.org[1], the `band` configurable was introduced in
OpenWrt 21.02.2, replacing `hwmode`.

To handle the pre-21.02.2 nodes to which we're deploying, allow us to
configure either of the two (but defaulting hwmode to null).

[1]: https://openwrt.org/docs/guide-user/network/wifi/basic
2022-07-26 15:35:47 -04:00
df2c87b5fc feat: Add a "vgomesh2" template 2022-07-26 12:45:20 -04:00
48b7e59dc6 cleanup: drop device defaults
We don't have any templating to do here ... yet. Maybe when we have
VPN connections we will.
2022-07-26 12:45:00 -04:00
7cfb5261ab cleanup: Remove ifname if it's still present in network.interface
This was a pre-21.02 thing. We will instead configure a device for the
network.interface to point to.
2022-07-26 12:43:44 -04:00
d265d2d9f7 feat: wifi-iface: Implement mesh_mode variant
- Use empty 'ssid:' in your template when you want it to be removed but
the mesh_id added

- Add an stp network.device option so mesh loops don't break things
2022-07-26 12:42:33 -04:00
c795ef6189 fix: We must set the wifi-iface's mode
... otherwise it won't work. This is usually AP.
2022-07-26 12:41:16 -04:00
772f1a78fb cleanup: DRY: Merge together VGO AP variations 2022-07-26 12:39:33 -04:00
c7e9c5f5b9 labb-wifi: initial commit
To set up WiFi:

```sh
ap -D -i inventory.yml wireless-setup.yml -e @default_vars.yml --ask-vault-pass
```
2022-07-25 22:28:57 -04:00