I run my DietPi setup as an NAS. To connect it to the router and the rest of the network, I use TP-Link's WN725N WiFI mini-dongle. Ethernet is absolutely not an option due to the space organization.
Now, if I set a static local IP address to DietPi, the Internet doesn't work. No
apt-get, no
dietpi-update, nothing but samba, ssh and other local-network protocols. But when i do
the internet link sprouts to life, BUT the Pi loses its static IP and gets assigned a DHCPed one by the router. Since I have mapped the NAS drives on a few networked devices, that won't do.
How to get both the Internet access and the static local IP?