Fixed network autoconfiguration as explained in #200, fixes #200