NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Mac OS
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 09-06-2005   #1 (permalink)
macubergeek
Registered Member
 
Join Date: Aug 2004
Posts: 16
compiling airodump, aireplay, airparse in Mac OS Tiger

I've tried compiling airodump with gcc v. 3.3 and I get:

jamesk @ /Applications/aircrack-2.1@Xmac-->gcc -c airodump.c -o airodump
airodump.c:21:30: netpacket/packet.h: No such file or directory
airodump.c: In function `main':
airodump.c:89: error: storage size of `mr' isn't known
airodump.c:90: error: storage size of `sll' isn't known
airodump.c:98: error: `PF_PACKET' undeclared (first use in this function)
airodump.c:98: error: (Each undeclared identifier is reported only once
airodump.c:98: error: for each function it appears in.)
airodump.c:158: error: `SIOCGIFINDEX' undeclared (first use in this function)
airodump.c:167: error: `AF_PACKET' undeclared (first use in this function)
airodump.c:168: error: structure has no member named `ifr_ifindex'
airodump.c:180: error: `SIOCGIFHWADDR' undeclared (first use in this function)
airodump.c:186: error: structure has no member named `ifr_hwaddr'
airodump.c:192: error: structure has no member named `ifr_hwaddr'
airodump.c:203: error: `PACKET_MR_PROMISC' undeclared (first use in this function)
airodump.c:205: error: `SOL_PACKET' undeclared (first use in this function)
airodump.c:205: error: `PACKET_ADD_MEMBERSHIP' undeclared (first use in this function)

Can anyone give me any pointers on how to fix this?
I'm guessing that my problem is gcc can't find packet.h:
airodump.c:21:30: netpacket/packet.h: No such file or directory

I'm guessing that this directory netpacket should have been part of the tarball I downloaded but wasn't?
macubergeek is offline   Reply With Quote
Old 09-06-2005   #2 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by macubergeek
I've tried compiling airodump with gcc v. 3.3 and I get:

jamesk @ /Applications/aircrack-2.1@Xmac-->gcc -c airodump.c -o airodump
airodump.c:21:30: netpacket/packet.h: No such file or directory
airodump.c: In function `main':
airodump.c:89: error: storage size of `mr' isn't known
airodump.c:90: error: storage size of `sll' isn't known
airodump.c:98: error: `PF_PACKET' undeclared (first use in this function)
airodump.c:98: error: (Each undeclared identifier is reported only once
airodump.c:98: error: for each function it appears in.)
airodump.c:158: error: `SIOCGIFINDEX' undeclared (first use in this function)
airodump.c:167: error: `AF_PACKET' undeclared (first use in this function)
airodump.c:168: error: structure has no member named `ifr_ifindex'
airodump.c:180: error: `SIOCGIFHWADDR' undeclared (first use in this function)
airodump.c:186: error: structure has no member named `ifr_hwaddr'
airodump.c:192: error: structure has no member named `ifr_hwaddr'
airodump.c:203: error: `PACKET_MR_PROMISC' undeclared (first use in this function)
airodump.c:205: error: `SOL_PACKET' undeclared (first use in this function)
airodump.c:205: error: `PACKET_ADD_MEMBERSHIP' undeclared (first use in this function)

Can anyone give me any pointers on how to fix this?
I'm guessing that my problem is gcc can't find packet.h:
airodump.c:21:30: netpacket/packet.h: No such file or directory

I'm guessing that this directory netpacket should have been part of the tarball I downloaded but wasn't?
Won't work on MacOS without a lot of porting of Linux kernel and net handling code, because the Aircrack suite code is Linux specific. Devine has stated that previously.

Use Kismac instead, afair they have incorporated KoreK's attacks in their program.


Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 09-07-2005   #3 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by macubergeek
I've tried compiling airodump with gcc v. 3.3 and I get:

jamesk @ /Applications/aircrack-2.1@Xmac-->gcc -c airodump.c -o airodump
airodump.c:21:30: netpacket/packet.h: No such file or directory
I've tried writing some docs and people don't read it:

http://www.cr0.net:8040/code/network/aircrack/#q0C0
devine is offline   Reply With Quote
Old 09-07-2005   #4 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,619
Quote:
Originally Posted by devine
I've tried writing some docs and people don't read it:

http://www.cr0.net:8040/code/network/aircrack/#q0C0
I leave a tab on my browser open to the aircrack documentation pretty much 24/7.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline   Reply With Quote
Old 09-07-2005   #5 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by theprez98
I leave a tab on my browser open to the aircrack documentation pretty much 24/7.
... And a MSN Messenger window open to Dutch so he can explain the documentation to me..

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 09-07-2005   #6 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,619
Quote:
Originally Posted by Dutch
... And a MSN Messenger window open to Dutch so he can explain the documentation to me..

Dutch
This is also generally true.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 01:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.