Aircrack-ng
Welcome, Guest. Please login or register.
November 21, 2009, 04:03:33 am

Login with username, password and session length
Search:     Advanced search
Read forum rules, "Read this before posting". Post that do not respect them will be trashed.
29628 Posts in 5046 Topics by 13319 Members
Latest Member: Valerynut
* Home Help Search Login Register
+  Aircrack-ng
|-+  Members only
| |-+  Drivers
| | |-+  * heLp-me. $slackware 12.1 * aircrack-ng
« previous next »
Pages: [1] Print
Author Topic: * heLp-me. $slackware 12.1 * aircrack-ng  (Read 116 times)
bruc3
Newbie
*
Posts: 3


* heLp-me. $slackware 12.1 * aircrack-ng
« on: November 06, 2009, 06:45:23 pm »

[root @ Slackware wep]# airmon-ng start wlan0


Interface       Chipset         Driver

wlan0           Intel 3945ABG   iwl3945 - [phy0]

ERROR: Neither the sysfs interface links nor the iw command is available.
Please download and install iw from
http://wireless.kernel.org/download/iw/iw-0.9.17.tar.bz2



[root @ Slackware pentest]# cd iw-0.9.17
[root @ Slackware iw-0.9.17]# ls
COPYING    event.c  interface.c  link.c     phy.c     sections.c  version.sh
Makefile   genl.c   iw.8    mesh.c     reason.c  station.c
README      ibss.c   iw.c    mpath.c    reg.c     status.c
connect.c  info.c   iw.h    nl80211.h  scan.c    util.c
[root @ Slackware iw-0.9.17]# make
Makefile:38: *** Cannot find development files for any supported version of libnl.  Stop.
[root @ Slackware iw-0.9.17]# uname -a
Linux Slackware 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Core(TM)2 Duo CPU     T5550  @ 1.83GHz GenuineIntel GNU/Linux
[root @ Slackware iw-0.9.17]#


Why?
Logged
Mister_X
Administrator
Hero Member
*****
Posts: 3047


WWW
Re: * heLp-me. $slackware 12.1 * aircrack-ng
« Reply #1 on: November 06, 2009, 06:50:15 pm »

You have to install libnl (if you use a package manager, install the development package).
Logged
bruc3
Newbie
*
Posts: 3


Re: * heLp-me. $slackware 12.1 * aircrack-ng
« Reply #2 on: November 06, 2009, 09:36:06 pm »

and now?

[bruc3 @ Slackware iw-0.9.17]$ make
 CC   iw.o
iw.c:17:31: error: netlink/genl/genl.h: No such file or directory
iw.c:18:33: error: netlink/genl/family.h: No such file or directory
iw.c:19:33: error: netlink/genl/ctrl.h: No such file or directory
In file included from /usr/local/include/netlink/netlink.h:23,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/netlink-kernel.h:222: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/netlink-kernel.h:232: error: expected specifier-qualifier-list before '__u16'
In file included from /usr/local/include/netlink/netlink.h:24,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/rtnetlink-kernel.h:281: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:342: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:403: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:431: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:477: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:498: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:533: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:540: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:622: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:629: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:663: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:751: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:767: error: expected specifier-qualifier-list before '__u32'
iw.c: In function '__genl_ctrl_alloc_cache':
iw.c:41: error: implicit declaration of function 'genl_ctrl_alloc_cache'
iw.c:41: warning: initialization makes pointer from integer without a cast
iw.c: In function 'nl80211_init':
iw.c:62: error: implicit declaration of function 'genl_connect'
iw.c:74: error: implicit declaration of function 'genl_ctrl_search_by_name'
iw.c:74: warning: assignment makes pointer from integer without a cast
iw.c:84: error: implicit declaration of function 'nl_cache_free'
iw.c: In function 'nl80211_cleanup':
iw.c:92: error: implicit declaration of function 'genl_family_put'
iw.c: In function 'error_handler':
iw.c:237: error: 'NL_STOP' undeclared (first use in this function)
iw.c:237: error: (Each undeclared identifier is reported only once
iw.c:237: error: for each function it appears in.)
iw.c: In function 'ack_handler':
iw.c:251: error: 'NL_STOP' undeclared (first use in this function)
iw.c: In function '__handle_cmd':
iw.c:367: error: implicit declaration of function 'nlmsg_alloc'
iw.c:367: warning: assignment makes pointer from integer without a cast
iw.c:373: error: implicit declaration of function 'nl_cb_alloc'
iw.c:373: warning: assignment makes pointer from integer without a cast
iw.c:380: error: implicit declaration of function 'genlmsg_put'
iw.c:380: error: implicit declaration of function 'genl_family_get_id'
iw.c:411: error: implicit declaration of function 'nl_cb_put'
make: *** [iw.o] Error 1
[bruc3 @ Slackware iw-0.9.17]$ make install
 CC   iw.o
iw.c:17:31: error: netlink/genl/genl.h: No such file or directory
iw.c:18:33: error: netlink/genl/family.h: No such file or directory
iw.c:19:33: error: netlink/genl/ctrl.h: No such file or directory
In file included from /usr/local/include/netlink/netlink.h:23,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/netlink-kernel.h:222: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/netlink-kernel.h:232: error: expected specifier-qualifier-list before '__u16'
In file included from /usr/local/include/netlink/netlink.h:24,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/rtnetlink-kernel.h:281: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:342: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:403: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:431: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:477: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:498: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:533: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:540: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:622: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:629: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:663: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:751: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:767: error: expected specifier-qualifier-list before '__u32'
iw.c: In function '__genl_ctrl_alloc_cache':
iw.c:41: error: implicit declaration of function 'genl_ctrl_alloc_cache'
iw.c:41: warning: initialization makes pointer from integer without a cast
iw.c: In function 'nl80211_init':
iw.c:62: error: implicit declaration of function 'genl_connect'
iw.c:74: error: implicit declaration of function 'genl_ctrl_search_by_name'
iw.c:74: warning: assignment makes pointer from integer without a cast
iw.c:84: error: implicit declaration of function 'nl_cache_free'
iw.c: In function 'nl80211_cleanup':
iw.c:92: error: implicit declaration of function 'genl_family_put'
iw.c: In function 'error_handler':
iw.c:237: error: 'NL_STOP' undeclared (first use in this function)
iw.c:237: error: (Each undeclared identifier is reported only once
iw.c:237: error: for each function it appears in.)
iw.c: In function 'ack_handler':
iw.c:251: error: 'NL_STOP' undeclared (first use in this function)
iw.c: In function '__handle_cmd':
iw.c:367: error: implicit declaration of function 'nlmsg_alloc'
iw.c:367: warning: assignment makes pointer from integer without a cast
iw.c:373: error: implicit declaration of function 'nl_cb_alloc'
iw.c:373: warning: assignment makes pointer from integer without a cast
iw.c:380: error: implicit declaration of function 'genlmsg_put'
iw.c:380: error: implicit declaration of function 'genl_family_get_id'
iw.c:411: error: implicit declaration of function 'nl_cb_put'
make: *** [iw.o] Error 1
[bruc3 @ Slackware iw-0.9.17]$ su -c "make install"
Password:
 CC   iw.o
iw.c:17:31: error: netlink/genl/genl.h: No such file or directory
iw.c:18:33: error: netlink/genl/family.h: No such file or directory
iw.c:19:33: error: netlink/genl/ctrl.h: No such file or directory
In file included from /usr/local/include/netlink/netlink.h:23,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/netlink-kernel.h:222: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/netlink-kernel.h:232: error: expected specifier-qualifier-list before '__u16'
In file included from /usr/local/include/netlink/netlink.h:24,
                 from /usr/local/include/netlink/msg.h:15,
                 from iw.c:20:
/usr/local/include/netlink/rtnetlink-kernel.h:281: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:342: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:403: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:431: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:477: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:498: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:533: error: expected specifier-qualifier-list before '__u8'
/usr/local/include/netlink/rtnetlink-kernel.h:540: error: expected specifier-qualifier-list before '__u16'
/usr/local/include/netlink/rtnetlink-kernel.h:622: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:629: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:663: error: expected specifier-qualifier-list before '__u64'
/usr/local/include/netlink/rtnetlink-kernel.h:751: error: expected specifier-qualifier-list before '__u32'
/usr/local/include/netlink/rtnetlink-kernel.h:767: error: expected specifier-qualifier-list before '__u32'
iw.c: In function '__genl_ctrl_alloc_cache':
iw.c:41: error: implicit declaration of function 'genl_ctrl_alloc_cache'
iw.c:41: warning: initialization makes pointer from integer without a cast
iw.c: In function 'nl80211_init':
iw.c:62: error: implicit declaration of function 'genl_connect'
iw.c:74: error: implicit declaration of function 'genl_ctrl_search_by_name'
iw.c:74: warning: assignment makes pointer from integer without a cast
iw.c:84: error: implicit declaration of function 'nl_cache_free'
iw.c: In function 'nl80211_cleanup':
iw.c:92: error: implicit declaration of function 'genl_family_put'
iw.c: In function 'error_handler':
iw.c:237: error: 'NL_STOP' undeclared (first use in this function)
iw.c:237: error: (Each undeclared identifier is reported only once
iw.c:237: error: for each function it appears in.)
iw.c: In function 'ack_handler':
iw.c:251: error: 'NL_STOP' undeclared (first use in this function)
iw.c: In function '__handle_cmd':
iw.c:367: error: implicit declaration of function 'nlmsg_alloc'
iw.c:367: warning: assignment makes pointer from integer without a cast
iw.c:373: error: implicit declaration of function 'nl_cb_alloc'
iw.c:373: warning: assignment makes pointer from integer without a cast
iw.c:380: error: implicit declaration of function 'genlmsg_put'
iw.c:380: error: implicit declaration of function 'genl_family_get_id'
iw.c:411: error: implicit declaration of function 'nl_cb_put'
make: *** [iw.o] Error 1
[bruc3 @ Slackware iw-0.9.17]$

Logged
XAVeRY
freezingly cold soul
Full Member
***
Posts: 237


Wroclaw University of Technology student


WWW
Re: * heLp-me. $slackware 12.1 * aircrack-ng
« Reply #3 on: November 06, 2009, 09:41:44 pm »

Apparently, you've installed only the libraries itself, and not the development version which would contain the headers.
Logged

Programming is like commited relationships. You're convinced that you've done everything you could to make it work, but it still stops working at some point.
bruc3
Newbie
*
Posts: 3


Re: * heLp-me. $slackware 12.1 * aircrack-ng
« Reply #4 on: November 07, 2009, 05:24:07 pm »

which I install then?
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Aircrack-ng | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!