## Final Modem Configuration ### Generic 1. Set a password 2. Set a name: `parangon` 3. Copy/paste scripts in the `files/` folder if they are not shipped with the ROM 4. Set IP range: `192.168.0.254/24` ### ModemManager config automatic The image of this project relies on [UCI](https://openwrt.org/docs/guide-developer/uci-defaults) to configure ModemManager from the installation. In *files/etc/uci-defaults/10-modemmanager*: ``` uci -q batch < wgclient.pub wg genpsk > wgclient.psk ``` Add to `/etc/config/network` ``` config interface 'wg0' option proto 'wireguard' list addresses '192.168.2.3' option private_key '???' config wireguard_wg0 option public_key '???' option description 'rayonx' option persistent_keepalive '25' option endpoint_port '51820' list allowed_ips '192.168.2.0/24' option route_allowed_ips '1' option endpoint_host 'rayonx.machine.dufour.io' ``` Doc: - https://openwrt.org/docs/guide-user/services/vpn/wireguard/basics - https://openwrt.org/docs/guide-user/services/vpn/wireguard/client ### Configure SQM *Not relevant now*