Added Linux (tested on Debian with net-tools 1.60-23) ifconfig support and fixed some regex stuff.