luci-app-commands #needs to be added and setup.sh would need to be copied to router or command could be curl xyz | sh -c
( there is also ttyd for a web based terminal connection... )
luci-app-commands #needs to be added and setup.sh would need to be copied to router or command could be curl xyz | sh -c
( there is also ttyd for a web based terminal connection... )
That is what I meant. Console over webinterface. Thx!
https://openwrt.org/docs/guide-user/network/wifi/basic says "If the device has ethernet ports, the wireless is turned OFF by default."
So, would I do it like this?
$ openssl passwd -1 openwrt-password
$1$F19aiQmh$Ri0odAtLFiyYaQ89jXuo2/
And then put this in /files/etc/uci-defaults/80_set_password
/bin/sed -i 's/^root::/root:$1$F19aiQmh$Ri0odAtLFiyYaQ89jXuo2/\/:/‘ /etc/shadow
That is right.