You are not logged in.

#1 2013-09-27 15:11:49

mebow
Member
Registered: 2013-09-27
Posts: 5

How to install compat-drivers ?

Ok guys, I am an arch user for a good while now (1 month, ehehe), but I am not even close to a tech savy for now. I wanted to try today the aircrack injection in arch. It works flawlessly in backtrack 5. Now ... I get an error something about mon0 channel and access point channel. A bit of research, gave me some results from google.

First one:
http://hacklab.cl/wireless/aircrack-y-f … -problema/

I've followed the tutorial even though I don't speak that language, but google translate helped me.

When I wrote in the terminal

make

I got this

make[1]: Leaving directory `/usr/src/linux-3.7.3-1-ARCH/build'
make: *** [modules] Error 2

I couldn't bypass this error, so I've made another search on google, and I found a similar thread from this forum, but it was the same thing, and I got the same error.

Second thing:
I tried to install the compat-drivers with yaourt, they seem to be installed

Packages (1): compat-drivers-frag+ack-0-2

Total Installed Size:   0.00 MiB
Net Upgrade Size:       0.00 MiB

But the size is 0.00, which is nothing I guess.

In yaourt there are two packages, this is the first one, the second one is this one https://aur.archlinux.org/packages/comp … mments=all

I read almost all the comments, but I haven't understood what the guys were talking about.

If somebody could take a look at what's going on with the drivers, what to install, or why I get that error, I would really appreciate it.

I know that the USB dongle works good with the drivers that are already in arch, but I can't do the pentesting for my home router.

Offline

#2 2013-09-27 16:08:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install compat-drivers ?

The description https://aur.archlinux.org/packages/comp … rag%2Back/ says

mac80211.compat08082009.wl_frag+ack_v1.patch for compat-drivers-patched

Maybe you need to install https://aur.archlinux.org/packages/comp … s-patched/ ?


Edit:

$ pacman -Ql compat-drivers-frag+ack
compat-drivers-frag+ack /etc/
compat-drivers-frag+ack /etc/makepkg.d/
compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/
compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/patches/
compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/patches/50-1-mac80211.compat08082009.wl_frag+ack_v1.patch

The package does install something. The patch is over a kilobyte :-)
PKGBUILD seems OK to me.

Last edited by karol (2013-09-27 16:12:22)

Offline

#3 2013-09-27 16:22:40

mebow
Member
Registered: 2013-09-27
Posts: 5

Re: How to install compat-drivers ?

I am getting this:

error: target not found: compat-drivers-frag+ack

I cannot install it with pacman only with yaourt, and yes, it's over a K, but when it asks me for installation it's 0.00 MiB

Last edited by mebow (2013-09-27 16:32:54)

Offline

#4 2013-09-27 16:43:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install compat-drivers ?

0.00 MB probably means it's less than 10 KB. 1 KB is 0.001 MB

You can't install stuff from AUR with pacman directly, you have to compile it with makepkg first.
Please read the wiki https://wiki.archlinux.org/index.php/AUR

Offline

#5 2013-09-27 16:44:03

mebow
Member
Registered: 2013-09-27
Posts: 5

Re: How to install compat-drivers ?

it seems to be a bug from aircrack, and a patch was released, the one I've tired. Here are more details http://trac.aircrack-ng.org/ticket/742. I think it's for the latest kernel, how do I upgrade it to the latest one for arch ?

Offline

#6 2013-09-27 16:46:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install compat-drivers ?

Upgrade to the latest what? Latest kernel? Are you using linux-3.7.3-1?
I'm sorry, but I think you should read (or re-read) the basics about Arch and pacman. The wiki has all the info you need.

Are you using aircrack-ng?

Last edited by karol (2013-09-27 16:47:32)

Offline

#7 2013-09-27 16:47:52

mebow
Member
Registered: 2013-09-27
Posts: 5

Re: How to install compat-drivers ?

Yes, I am using aircrack-ng. I am still new to this, I just asked about the kernel because I get this

make -C /lib/modules/3.11.1-3-ARCH/build M=/home/arch/test/compat-wireless-2010-10-16 modules
make[1]: Entering directory `/usr/lib/modules/3.11.1-3-ARCH/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/lib/modules/3.11.1-3-ARCH/build'
make: *** [modules] Error 2

Last edited by mebow (2013-09-27 16:48:12)

Offline

#8 2013-09-27 16:51:21

mebow
Member
Registered: 2013-09-27
Posts: 5

Re: How to install compat-drivers ?

Thanks for the heads up guys. I will read more about arch, even though, if somebody knows about this, please comment here.

Offline

Board footer

Powered by FluxBB