Added check on networksetup configuration, works on Mac but not Ubuntu;