> ifconfig is deprecated. Ah, didn't know that. So I guess the pre-up line should be pre-up ip link set wlan0 up