detect method for LAN interface