in reply to Internet Connection

IO::Interface::Simple can tell you what interfaces are up and running, which can get you started.