Im running Nethunter (4.19.110-perf+) on a OnePlus 8 Pro (OOS 11.0.7.7) and having trouble configuring static ip on a usb-c to ethernet adapter.
Im doing this so i can see if i can use it as a viable tool to troubleshoot networking issues at work
I have gone into etc/network/interfaces and added (it was blank before this)
auto eth0
iface eth0 inet static
address 192.168.10.22
netmask 255.255.255.0

then when i run
sudo ifconfig eth0 down
sudo ifconfig eth0 up
no dice

I also run
sudo ifup eth0
and nothing happens.
and now if i run ifup again it says
eth0 is already configured

Either command i run...i will follow up if ifconfig to check if the changes were processed and ifconfig reports that it is still working like it has dhcp configured (dhcp ip from the local lan vs static ip i want configured)

Any thoughts?