How can I programmatically get the connection status of OSX network services?
- by BigBrainz
In the OS X System Preferences, when I click on 'Network' I see a green dot by 'Ethernet', and red dots by 'AirPort' and 'FireWire'. This is because I turned off AirPort and FireWire, as I access networks and the Internet via Ethernet.
I need to programmatically determine which of these network services displayed in System Preferences have green…