Power & Source of Big Ideas

So I found a fix: def get_ip(): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) try: # doesn't even have to be reachable s.connect(('8.8.8.8', 1)) IP = s.getsockname()[0] (changed the 10.255.255.255 to 8.8.8.8 -seems to do the trick!) Hopefully this helps someone! Cheers cabs
Andy I have just taken receipt of my first NanoPi NEO2 and I have the same problem-I used a mesh network with its own DHCP server, which in turn sits "behind" a OpenWRT flashed router (also running its own separate DHCP server-so yes,I'm double NAT'ing in some cases). If I plug the Nano in...