oh yeah, I had to specify -D madwifi -c /etc/wpa.conf -i ath0 in network/interfaces