Open GoogleCodeExporter opened 8 years ago
You must install the "compat-wireless" according to your kernel and download
stable versions.
download from here:
http://wireless.kernel.org/en/users/Download/stable/
Example:
My kernel is 3.0
Download "compat-wireless 3.0 stable releases"
in terminal:
tar -jxf compat-wireless-3.0.9-1.tar.bz2
cd compat-wireless-3.0.9-1
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < channel-negative-one-maxim.patch
( apply any additional patches that you may need)
make
make install
sudo make wlunload
sudo modprobe driver-name
used by me in:
Ubuntu 11.10, kernel 3.0.12
Original comment by demon.ia...@hotmail.com
on 15 Feb 2012 at 4:49
i don't know what my kernel is. i use backtrack 5 rc1(downloaded .. a week
ago).
can you help me in that too?
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 5:29
uname -r gave me
2.6.39.4
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 5:36
I checked out this website:
http://linuxwireless.org/en/users/Download/stable#compat-wireless_2.6.39_stable_
releases
and should I use
compat-wireless-3.0.9-1.tar.bz2 (because it is first 3.0 driver)
or same as my kernel:
compat-wireless-2.6.39-1.tar.bz2(i see 2 versions but use first one, any
difference?)
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 5:40
tar -jxf compat-wireless-2.6.39-1.tar.bz2
gave me error that "no such file or directory"
shouldn't there be any other line, command before that command?
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 5:48
ok, so I tried with just luck to work it out.
I couldn't just start with that "tar -jxf compat-wireless" command so instead I
made folder called reaver on my desktop.
cd /root/Desktop/reaver
wget
http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.39/compat-wirele
ss-2.6.39-1.tar.bz2
(did 100%)
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
(both did 100%)
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < channel-negative-one-maxim.patch
(both failed)
I thought it's because I'm at /Desktop/reaver/compat-wireless-2.6.39-1
I opened next terminal window and patched those two after merging what's in
reaver and patches in 1 folder.
Both patches were succesful:)
make
(failed, I received:
/root/Desktop/reaver/config.mk:204: "WARNING: CONFIG-CFG80211-WEXT will be
deactivated or not working because kernel was complied with
CONFIG_WIRELESS-EXT=n. Tools using wext interface like iwconfig will not work.
To activate it build your kernel e.g. with CONFIG-LIBIPW=m."
Your old wireless subsystem modules were left intact.
....
No such file or directory. Stop. Error 2.
)
but then make install failed too...
cd compat-wireless-2.6.39-1
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 6:25
so now I'm stuck and backtrack doesn't see my wifi adapter.
Original comment by piotrchm...@poczta.fm
on 15 Feb 2012 at 6:29
try this. you can save it into a script and make executable or copy and paste
each line.
if you dont have svn installed do this first:
apt-get install subversion
this will also update your aircrack suite and you have the latest patches this
way.
cd ~
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
cd ./aircrack-ng/src/
make sqlite=true unstable=true install
cd ./usr/src/
wget
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-11-
07.tar.bz2
wget http://www.backtrack-linux.org/patches/wireless-patches-2.6.35.8.tar.gz
tar -xvjf compat-wireless-2010-11-07.tar.bz2
tar -xvf wireless-patches-2.6.35.8.tar.gz
mv ./wireless-patches-2.6.35.8/* ~/aircrack-ng/patches/*
cd compat-wireless-2010-11-07.tar.bz2
./scripts/driver-select rtl818x
patch -p1 < ~/aircrack-ng/patches/channel-negative-one-maxim.patch
patch -p1 <
~/aircrack-ng/patches/mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch
patch -p1 < ~/aircrack-ng/patches/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < ~/aircrack-ng/patches/zd1211rw-2.6.28.patch
patch -p1 < ~/aircrack-ng/patches/ipw2200-inject.2.6.36.patch
make && make install
make unload
modprobe rtl8187
Original comment by JonnyBla...@gmail.com
on 15 Feb 2012 at 10:15
I don't know how to save it to script and how to run it.
Since I use livedvd a script would be wonderful solution. Can you show me how?
Original comment by piotrchm...@poczta.fm
on 16 Feb 2012 at 9:02
I'm stuck again
wget http://www.backtrack-linux.org/patches/wireless-patches-2.6.35.8.tar.gz
doesn't exist so I couldn't go further
also
make sqlite=true unstable=true install
gave me warning and errors only
Original comment by piotrchm...@poczta.fm
on 16 Feb 2012 at 10:12
run this first:
apt-get install build-essential
apt-get install libssl-dev
iv attached the patches file for you as well.
Original comment by piotrchm...@poczta.fm
on 17 Feb 2012 at 8:55
apt-get install build-essential
apt-get install libssl-dev
(both worked but I think they didn't give any news)
cd ~
(does it do anything?)
svn cohttp://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
cd ./aircrack-ng/src/
make sqlite=true unstable=true install
(did time it was long and I don't even know what is what)
cd ./usr/src/
(doesn't work, no file or directory)
SO I skipped it and then
wget
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-11-
07.tar.bz2
tar -xvjf compat-wireless-2010-11-07.tar.bz2
tar -xvf wireless-patches-2.6.35.8.tar.gz
(obviously couldn't work so I changed the filename to what you sent me and it
unzipped it:)
mv ./wireless-patches-2.6.35.8/* ~/aircrack-ng/patches/*
(changed it also and folder "patches" with 4 patches files were created)
cd compat-wireless-2010-11-07.tar.bz2
./scripts/driver-select rtl818x
patch -p1< ~/aircrack-ng/patches/channel-negative-one-maxim.patch
patch -p1<
~/aircrack-ng/patches/mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch
patch -p1< ~/aircrack-ng/patches/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1< ~/aircrack-ng/patches/zd1211rw-2.6.28.patch
patch -p1< ~/aircrack-ng/patches/ipw2200-inject.2.6.36.patch
(I had problem with patches too because you forgot /sr/c inside address but it
worked, all 4 or 5 installed)
make&& make install
(this ended with Error 2, but i don't know what it means and if that is
something wrong)
make unload
modprobe rtl8187
then apt-get update
apt-get install reaver
airmon-ng start wlan0
airodump-ng mon0
reaver -i mon0 -b bssid -vv
I couldn't get assosciation. So nothing wroked out...
Then I tried that driver trick
modprobe -r rtl8187 && modprobe r8187
Now I can have assosciation but it showed me error by saying:
you are on channel 6 but AP is on channel 9
I tried different networks but nothing could even start not to mention that I
could finally see reaver working...
Original comment by piotrchm...@poczta.fm
on 17 Feb 2012 at 9:42
Original issue reported on code.google.com by
piotrchm...@poczta.fm
on 15 Feb 2012 at 4:01