How to enable network discovery