Archived:How to get phone IP address using PySymbian
This is a simple code snippet from which you can get your phones IP address using PySymbian
ap_id = socket.select_access_point()
apo = socket.access_point(ap_id)
print "PHONE IP IS", apo.ip()
If the returned IP address is 169.254.234.80, then DHCP failed and your router didn't give you any IP. Please check your Access Point settings.