summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-10-14 13:13:07 +0200
committerJonas Smedegaard <dr@jones.dk>2018-10-14 17:23:24 +0200
commit7fa513b374bdda984d0720ce107eb2fb72772967 (patch)
treedc759e1e1d326bc4660416aa015e52fa3412fc8f
parent092144a4f75c023faf011e4e08e2056953777d3b (diff)
Add TODOs from runtime helper script init-network-settings.
-rw-r--r--TODO23
1 files changed, 23 insertions, 0 deletions
diff --git a/TODO b/TODO
index f25d882..db1a1cb 100644
--- a/TODO
+++ b/TODO
@@ -35,6 +35,29 @@ Point releases
* Network
+ Tweak MTA
+ Try configure network during build (reducing/eliminating root script)
+ + Setup WWAN connection
+ - Known working APN values:
+ + data.tre.dk
+ + internet
+ - See /usr/share/mobile-broadband-provider-info/serviceproviders.xml
+ nmcli connection add ifname '' autoconnect yes type gsm apn $apn connection.id gsm-$apn-noauth connection.zone external gsm.password-flags 1
+ + setup dynamic-IP subnet
+ incfile="/etc/dhcp/dhcpd.d/80-shared-network-10-10-0.conf"
+ cfgfile="/etc/dhcp/dhcpd.conf"
+ line="#include \"$incfile\";"
+ mkdir -p "/etc/dhcp/dhcpd.d"
+ cat <<'EOf' > "$incfile"
+ # Dynamic-IP subnet in private class A net
+ shared-network 10-10-0 {
+ option domain-search "internal.localnet";
+ option domain-name-servers 10.10.0.1;
+ subnet 10.10.0.0 netmask 255.255.255.0 {
+ option routers 10.10.0.1;
+ range 10.10.0.100 10.10.0.254;
+ }
+ }
+ EOf
+ grep -q "$line" "$cfgfile" || echo "$line" >> "$cfgfile"
* Packages
+ Optionally upgrade snapshot-based system with multistrap