fixing bug #1444, update to use ip instead of ifconfig if available. additional minor fixes

git-svn-id: http://svn.aircrack-ng.org/trunk@2407 28c6078b-6c39-48e3-add9-af49d547ecab