network detect

Change-Id: Ib0542b5f5c68b5cc142f9f5014f949ee8093d8f2