Add ifconfig support, add python3 support