setup: add nic identify function.