Thanks to this post http://forum.aircrack-ng.org/index.php?topic=6091.new I was able to com­pile air­crack for Snow Leop­ard! I used svn r1623 and it workls like a charm!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Index: src/Makefile
=============================
— src/Makefile    (revi­sion 1623)
+++ src/Makefile    (work­ing copy)
@@ –4,7 +4,7 @@

TEST_DIR    = $(AC_ROOT)/test

CFLAGS     += –Iin­clude
+CFLAGS += –Iin­clude –arch i386 –I/opt/local/include –L/opt/local/lib

iCC             = $(shell find /opt/intel/cc/*/bin/icc)
iCFLAGS         = –w –mcpu=pentiumpro –march=pentiumpro $(COMMON_CFLAGS)
Index: common.mak
=============================
— common.mak  (revi­sion 1623)
+++ common.mak  (work­ing copy)
@@ –57,7 +57,7 @@
ifeq ($(OSNAME), cyg­win)
CC              = $(TOOL_PREFIX)gcc-4
else
CC     = $(TOOL_PREFIX)gcc
+CC     = $(TOOL_PREFIX)gcc-4.0
endif

RANLIB      = $(TOOL_PREFIX)ranlib
@@ –67,7 +67,7 @@
REVFLAGS    = –D_REVISION=$(REVISION)

OPTFLAGS        = –D_FILE_OFFSET_BITS=64
CFLAGS          ?= –g –W –Wall –Wer­ror –O3 –Wno-strict-aliasing
+CFLAGS          ?= –g –W –Wall –Wer­ror –O3 –Wno-strict-aliasing –arch i386 –isys­root /Developer/SDKs/MacOSX10.5.sdk
CFLAGS          += $(OPTFLAGS) $(REVFLAGS) $(COMMON_CFLAGS)

pre­fix          = /usr/local

Cre­ate a sym­link for the air­port command:

1
sudo ln –s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

Spoof Mac Adress. Hint you need to be dis­as­so­ci­ated from the net­work (do *not* turn off airport!).

1
2
#air­port –z
#sudo ifcon­fig en1 ether 00:e2:e3:e4:e5:e6

But I didn’t man­age to run Airodump-ng, any hints?