add a function check_nic():
check the numbers of NICs, it's require 2 at least. Still need to refine
the method for counting. Later, try to use iwreq to count the number,
instead
of ifreq.