checks for ethernet IP address first, if none present, displays wifi IP address