Hello @yuza_tipo
there is a lan.get_ip_config() function which returns the current IP etc. as a 4 tuple like this ('192.168.x.x', '255.255.255.0', '192.168.x.1', '8.8.8.8').
I also found there is a lan.set_ip_config() function but when I feed the above 4 tuple as argument I get an error that the function takes 5 positional parameter, but only 2 are given. I tried many other ways to format the 4 arguments, but all I got are different error messages.
Thanks
Felix