fixed /etc/ path and matching known networks