View unanswered posts | View active topics It is currently Thu Sep 02, 2010 5:06 pm

Forum rules


Why can I only post in General discussion? Read the Rules to figure out why. Click here to read the rules



Reply to topic  [ 5 posts ] 
 Building aircrack-ng on Snow Leopard - 10.6 
Author Message
I need 10 posts

Joined: Sat Sep 05, 2009 1:11 am
Posts: 1
Post Building aircrack-ng on Snow Leopard - 10.6
Obviously, you need Xcode installed. However, you don't need gmake or sqlite like aircrack-ng's guide says.
Open Terminal, run:
Code:
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng


Now, you need to edit common.mak to build for a 32-bit architecture using 10.5 headers, and have it use gcc-4.0 instead of 4.2.

Find this line:
Code:
CC              = $(TOOL_PREFIX)gcc

and replace with:
Code:
CC              = $(TOOL_PREFIX)gcc-4.0


Then find this line:
Code:
CFLAGS          ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing

and replace with:
Code:
CFLAGS          ?= -g -W -Wall -Werror -O3 -Wno-strict-aliasing -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk


Go back to Terminal and:
Code:
cd aircrack-ng
make
sudo make install


Look at the make install output to find out where stuff got placed; the tools you'll likely use are in /usr/local/bin/

Hope this helps somebody!


Last edited by harleyb on Sat Sep 05, 2009 11:46 am, edited 1 time in total.



Sat Sep 05, 2009 1:23 am
Profile
Full Member
User avatar

Joined: Mon Mar 30, 2009 7:55 pm
Posts: 239
Location: Sunny California
Post Re: Building aircrack-ng on Snow Leopard - 10.6
This does not belong in the KisMAC forum. It belongs in the Aircrack-ng forum.

_________________
MacBook Pro (5,2)
Snow Leopard 10.6.2
Intel Core 2 Duo @ 2.93 GHz
8 GB RAM
256 GB SSD
Airport Extreme Broadcom BCM43xx
Edimax EW7138USG (Ralink RT2571WF Chipset, RT73 Drivers)
9 dBi omni-directional antenna
KisMAC-ng 0.2.99
Aircrack-ng 0.9.3 Running Natively on Mac OS Leopard
Aircrack-ng v4.7 under VMware Fusion
Backtrack 4 Beta Running Under VMware Fusion

USGlobalSat BU-353 USB GPS Reciever


Sat Sep 05, 2009 11:42 am
Profile
Member

Joined: Wed Feb 18, 2009 9:43 pm
Posts: 32
Post Re: Building aircrack-ng on Snow Leopard - 10.6
I do appreciate the extra instructions. Since most people on here are OS X users it is a great place to get the extra support from the Mac Community.

Much appreciated. Worked for me.


Sun Sep 06, 2009 1:47 pm
Profile
I need 10 posts
User avatar

Joined: Sat Apr 12, 2008 6:28 am
Posts: 8
Location: Amsterdam
Post Re: Building aircrack-ng on Snow Leopard - 10.6
Thanks for the post. Worked like a charm.

Might be a good idea to repost in the aircrack forums, there is hardly anything useful on OS X there...

EDIT:I posted it, let me know if you want it removed...


Tue Sep 15, 2009 6:17 am
Profile WWW
Moderator
User avatar

Joined: Sat Mar 31, 2007 2:57 am
Posts: 1127
Location: Sunny... California?
Post Re: Building aircrack-ng on Snow Leopard - 10.6
mokum wrote:
Thanks for the post. Worked like a charm.

Might be a good idea to repost in the aircrack forums, there is hardly anything useful on OS X there...

EDIT:I posted it, let me know if you want it removed...

You must have missed the installation instructions: Mister_X added the necessary information to their wiki after I showed him the original post here.

_________________
I'm not a nice person, but I'll help you if you've already read the FAQ and browsed the wiki.
"Some folks are wise, and some are otherwise."
"Knowledge is the information acquired while searching for an answer, not the answer itself."


Tue Sep 15, 2009 9:49 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Google [Bot], MSN [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.