Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How I Got injection working with the belkin 7050 ZyDas zd1211b usb with Ubuntu Hardy

  1. #1
    Just burned his ISO
    Join Date
    Aug 2007
    Posts
    5

    Talking How I Got injection working with the belkin 7050 ZyDas zd1211b usb with Ubuntu Hardy

    Here is how I got injection working on my belkin 050d:705c 7050 ZyDas zd1211b usb dongle with the Latest Ubuntu Hardy Heron

    modprobe -r zd1211rw
    modprobe -r ieee80211
    modprobe -r ieee80211_crypt_tkip
    modprobe -r ieee80211_crypt_wep.ko
    modprobe -r ieee80211_crypt_ccmp.ko
    modprobe -r ieee80211_crypt
    modprobe -r ieee80211softmac
    Grab my patched drivers:
    wget hxxp://ubuntu-debs.googlecode.com/files/patched.tar.gz
    tar zxvf patched.tar.gz
    cd patched
    Copy contents to ieee80211 folder overwriting existing drivers, make sure you backup these 2 folders!:
    cp -R ieee80211 /lib/modules/2.6.24-17-generic/kernel/net/

    Copy contents to zd1211rw folder overwriting existing drivers
    cp -R zd1211rw /lib/modules/2.6.24-17-generic/kernel/drivers/net/wireless/

    You can either modprobe zd1211rw or reboot to load the new drivers.

    For ubuntu all I did to patch the existing drivers was compile the existing kernel like this:

    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev linux-source

    cd /usr/src
    sudo tar xvjf linux-source-2.6.24.tar.bz2
    sudo ln -s linux-source-2.6.24 linux
    cd linux
    Download patches to /usr/src/linux/
    Download this patch hxxp://trac.aircrack-ng.org/browser/trunk/patches/ieee80211_inject.patch?rev=873&format=raw
    wget hxxp://wxw.latinsud.com/pub/zd1211rw/zd1211rw_inject_2.6.24.4.patch
    sudo patch -Np1 --verbose -i ieee80211_inject.patch
    sudo patch -Np1 --verbose -i zd1211rw_inject_2.6.24.4.patch

    sudo cp /boot/config-`uname -r` .config && make oldconfig
    sudo make menuconfig
    Entered through all options

    And finally built the kernel .deb
    sudo make-kpkg --initrd --revision=386 kernel_image kernel_headers modules_image
    At the end of the compile I got an error regarding the patched drivers, and gave up at first but seen that it created a kernel debian package in /usr/src/linux so I simply installed the new kernel and headers:
    cd .. && dpkg -i linux*.deb
    once installed, rebooted and fired up aircrack and attempted association, chop chop and arp replay attacks and both worked fine, I tried the fragmentation attack but I never got that to succeed with other cards either, so all in all, I can crack any wep access point , with full association and injection with my ubuntu system.

    -defcon

  2. #2
    Just burned his ISO
    Join Date
    Aug 2007
    Posts
    5

    Thumbs down

    since this is so easy to patch im upset that backtrack 3 isnt patched already

  3. #3
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default

    Well thats the whole idea of idea of bt3's status being "BETA". So they can find and fix bugs etc.

    And why post a f%^&% tutorial on here using ubuntu lol !!! OMG sorry mods for being a little rude

  4. #4
    Junior Member
    Join Date
    Mar 2007
    Posts
    54

    Default backtrack 2

    I have a local backtrack two install on my miniITX pc and was wondering if anyone could tell me if i could use this method for my own USrobotics card with the zd1211b chip set?

    Thanks,
    Dave.

  5. #5
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default

    No this tutorial is for ubuntu lol here's how its done in bt3. If I can remember didn't injection work in bt2 on these cards ??? If not update the kernel and then apply the corresponding patch.

    Download the kernel source from the the wiki and extract to /usr/src. CD into the source folder and then

    Code:
    make menuconfig
    Find Networking ----> and make sure the following is set...

    Code:
    <M> Generic IEEE802.11 Networking Stack
    <M> Software MAC add-on to the IEEE 802.11 netowrking stack
    also check that:

    Code:
    Device Drivers / Network device support / Wireless LAN (non-hamradio) ---->
    <M> ZyDAS ZD1211/ZD1211B USB-wireless support
    is also set.

    Next get the patch

    Code:
    wget http://patches.aircrack-ng.org/old/zd1211rw_inject_2.6.22.patch
    wget http://patches.aircrack-ng.org/ieee80211_inject.patch

    Now install the patch and rebuild your modules...

    Code:
    patch -Np1  --verbose  -i zd1211rw_inject_2.6.22.patch
    patch -Np1 --verbose -i ieee80211_inject.patch
    And copy the new modules to the /lib/modules tree to be used.

    And rebuild your modules.

    Code:
    make modules && make modules_install
    Reboot and you should be set to go.

    PS.

    I haven't tested this Try it and if it works for you post back.

  6. #6
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by defconoi View Post
    Here is how I got injection working on my belkin 050d:705c 7050 ZyDas zd1211b usb dongle with the Latest Ubuntu Hardy Heron
    And this has what to do with BackTrack???? Completely different OS, package management system, etc.

    Maybe you were on the wrong browser tab when you posted this ???
    dd if=/dev/swc666 of=/dev/wyze

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Please post ubuntu tutorials on the ubuntu forums. This is the backtrack forum. Anyway ubuntu sucks so I have a biased opinion. Moving to general IT

  8. #8
    Junior Member
    Join Date
    Mar 2007
    Posts
    54

    Default

    Thank you dr_green.

    Do you have MSN so that I could ask you some questions?
    PM me if you want me to add you,

    Dave,

  9. #9
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default

    Thats NP Pureline.

    I don't mean to be rude but could you ask your questions here please so if others are having the same issues as yourself they can refer to this post.

    Quote Originally Posted by pureh@te
    Anyway ubuntu sucks so I have a biased opinion.
    Yep I second that lol

    Cheers

  10. #10
    Junior Member
    Join Date
    Mar 2007
    Posts
    54

    Default

    Ok then

    Well i'm at backtrack 3 now. I followed your instructions but my card still doesn't seem to want to inject :P

Page 1 of 2 12 LastLast

Posting Permissions

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