Support Unix

On Unix-based systems, ifconfig must be used instead of ipconfig, and the output format of that command is different.