use networkInterface() to get mac fix #3