Results 1 to 6 of 6

Thread: Injection on zd1211rw

  1. #1
    Member
    Join Date
    Mar 2010
    Location
    Somewhere in CA
    Posts
    98

    Default Injection on zd1211rw

    Is there a working parch for this? I tried the one from aircrack-ng.org but it had issues installing.

    So any other fix?

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Quote Originally Posted by slowz3r View Post
    Is there a working parch for this? I tried the one from aircrack-ng.org but it had issues installing.

    So any other fix?
    If the patch was found at aircrack-ng.org it is probably your best bet. What kind of issues where you having installing it?
    -Monkeys are like nature's humans.

  3. #3
    Member
    Join Date
    Mar 2010
    Location
    Somewhere in CA
    Posts
    98

    Default

    I would just get the eqivilent to an installation failed..

    Ill post exactly what i get a little later

  4. #4
    Member
    Join Date
    Mar 2010
    Location
    Somewhere in CA
    Posts
    98

    Default

    patch -Np1 --verbose --dry-run -i zd1211rw_inject_2.6.24.4.patch

    Hmm... Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |# For kernels 2.6.24.x only. Applying ieee80211 patch is required too. Some distros may require the 2.6.25.x version of the patch
    |# Features: sets monitor mode properly, discards invalid frames, ...
    |diff -pur linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_mac.c linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_mac.c
    |--- linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_mac.c 2008-01-24 23:58:37.000000000 +0100
    |+++ linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_mac.c 2008-04-12 21:21:59.000000000 +0200
    --------------------------
    Patching file drivers/net/wireless/zd1211rw/zd_mac.c using Plan A...
    Reversed (or previously applied) patch detected! Skipping patch.
    Hunk #1 ignored at 156.
    Hunk #2 ignored at 238.
    Hunk #3 ignored at 776.
    Hunk #4 ignored at 798.
    Hunk #5 ignored at 812.
    Hunk #6 ignored at 853.
    Hunk #7 ignored at 877.
    Hunk #8 ignored at 936.
    Hunk #9 ignored at 960.
    Hunk #10 ignored at 975.
    Hunk #11 ignored at 991.
    Hunk #12 ignored at 1101.
    12 out of 12 hunks ignored -- saving rejects to file drivers/net/wireless/zd1211rw/zd_mac.c.rej
    Hmm... The next patch looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |diff -pur linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_usb.c linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_usb.c
    |--- linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_usb.c 2008-01-24 23:58:37.000000000 +0100
    |+++ linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_usb.c 2008-04-12 19:48:06.000000000 +0200
    --------------------------
    Patching file drivers/net/wireless/zd1211rw/zd_usb.c using Plan A...
    Reversed (or previously applied) patch detected! Skipping patch.
    Hunk #1 ignored at 774.
    1 out of 1 hunk ignored -- saving rejects to file drivers/net/wireless/zd1211rw/zd_usb.c.rej
    Hmm... The next patch looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |diff -pur linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_usb.h linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_usb.h
    |--- linux-2.6.24.4-zd1211rw/drivers/net/wireless/zd1211rw/zd_usb.h 2008-01-24 23:58:37.000000000 +0100
    |+++ linux-2.6.24.4-sud/drivers/net/wireless/zd1211rw/zd_usb.h 2008-04-12 19:48:06.000000000 +0200
    --------------------------
    Patching file drivers/net/wireless/zd1211rw/zd_usb.h using Plan A...
    Reversed (or previously applied) patch detected! Skipping patch.
    Hunk #1 ignored at 221.
    1 out of 1 hunk ignored -- saving rejects to file drivers/net/wireless/zd1211rw/zd_usb.h.rej
    done
    And when i try the 2.6.25 patch i get this
    Hmm... Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |# Enables sniffer and enhances rx error detection
    |diff -pur linux-2.6.25-orig/drivers/net/wireless/zd1211rw/zd_mac.c linux-2.6.25/drivers/net/wireless/zd1211rw/zd_mac.c
    |--- linux-2.6.25-orig/drivers/net/wireless/zd1211rw/zd_mac.c 2008-04-17 04:49:44.000000000 +0200
    |+++ linux-2.6.25/drivers/net/wireless/zd1211rw/zd_mac.c 2008-05-04 23:06:22.000000000 +0200
    --------------------------
    Patching file drivers/net/wireless/zd1211rw/zd_mac.c using Plan A...
    Hunk #1 FAILED at 174.
    Hunk #2 FAILED at 655.
    2 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/zd1211rw/zd_mac.c.rej
    done

  5. #5
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Alright, your problems seem to be related to the fact that BT3 runs on kernel version 2.6.21.5 and the patch assumes version 2.6.24 by default. I checked out the aircrack-ng homepage and it does look like it is possible to install it with older kernel versions as well, but that some tweaking will be required depending on the specific distribution and kernel version.

    The page also gives the following information, which would indicate that actually updating the kernel to at least version 2.6.25 would be the best way to go:
    ...Bottom line, the Zydas chipset is only recommended for use with the aircrack-ng suite if you have a fairly-recent kernel (2.6.25 or newer), due to the large number of problems with it. There are simply too many problems associated with the driver and the specific wireless devices. (Most of these problems are fixed by the mac80211-based driver in kernels 2.6.25 and up.)

    The zd1211rw driver has been incorporated into the latest kernels. So you will have to patch the kernel source to obtain injection support. This is described below in detail.
    -Monkeys are like nature's humans.

  6. #6
    Member
    Join Date
    Mar 2010
    Location
    Somewhere in CA
    Posts
    98

    Default

    Quote Originally Posted by =Tron= View Post
    Alright, your problems seem to be related to the fact that BT3 runs on kernel version 2.6.21.5 and the patch assumes version 2.6.24 by default. I checked out the aircrack-ng homepage and it does look like it is possible to install it with older kernel versions as well, but that some tweaking will be required depending on the specific distribution and kernel version.

    The page also gives the following information, which would indicate that actually updating the kernel to at least version 2.6.25 would be the best way to go:
    Alright, i was hoping i wouldnt need to do that. Im only trying to do this now because my wusb54g v.4 errors when i try to start it with airmon-ng

    get some damn forcedprism error crap, it worked fine before so i dont know

    thanks for your suggestion

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •