Results 1 to 9 of 9

Thread: How to install compat-wireless-2.6 ?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    63

    Default How to install compat-wireless-2.6 ?

    Hello.

    Does anybody can help me with this pack of drivers ?

    I have a laptop with an Intel wireless 4965AGN wifi card, and so I would like to install these drivers so as to inject with this card.
    Anyway, when I compile it, it return
    Code:
    bt compat-wireless-2008-07-02 # make
    make -C /lib/modules/2.6.21.5/build M=/root/compat-wireless-07-02 modules
    make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop
    make: *** [modules] Error 2
    (I do this on BT3 cd version on an USB with persistent changes)

    Thanks for help

  2. #2
    Junior Member 0tt0v0nc4t's Avatar
    Join Date
    Mar 2008
    Posts
    69

    Default

    Your last post was in my rt73 thread that tells you how to do this. I normally would not tell you the answer but you have enlightened me to the fact that maybe what, alot of these tutorials are missing is any explanation of why we are running these commands. This is mostly because its not our job to teach you linux basics but at the same time maybe it will help with people asking the same questions over and over..... We'll see. So for now I will answer your question and update my thread with some simple explanations in hopes that we can avoid scenarios like this and it will help people to understand a bit more......Again, we'll see.


    In the mean time I would like to encourage you to make liberal use of the search bar before asking questions like this as alot of people who know the answer will not take the time to help you, because you have shown no effort to help yourself.


    You need the kernel sources which can be found here .

    Then you wanna use
    lzm2dir kernel.lzm /
    In the same folder with he kernel.lzm

  3. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    Oh lol, it was exactly the same as on the other thread with rt73.
    I apologize for being stupid

    So each time I want to install drivers I would have to do this ? Okay.
    I'm going to try this tomorrow

    Thank you again, you rock

  4. #4
    Junior Member 0tt0v0nc4t's Avatar
    Join Date
    Mar 2008
    Posts
    69

    Default

    No problem. The best thing you can teach someone is how they can teach themselves. I use BT off the cd so I dont really know the specifics about an environment with persistent changes. However, on the cd you only have to lzm2dir once until turn the computer off. This leads me to believe that you would only have to do it once. My best advice experiment and post your solution.

  5. #5
    Junior Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    uh,errors again !

    Code:
    bt compat-wireless-2008-07-02 # make
    make -C /lib/modules/2.6.21.5/build M=/root/compat-wireless-2008-07-02 modules
    make[1]: Entering directory 
    
    `/usr/src/linux-2.6.21.5'
      CC [M]  /root/compat-wireless-2008-07-02/drivers/misc/eeprom_93cx6.o
    In file included from <command line>:1:
    /root/compat-wireless-2008-07-02/include/net/compat.h:122: error: static declaration of 'pci_set_mwi' follows non-static declaration
    include/linux/pci.h:538: error: previous declaration of 'pci_set_mwi' was here
    /root/compat-wireless-2008-07-02/include/net/compat.h:127: error: static 
    
    declaration of 'pci_clear_mwi' follows non-static declaration
    include/linux/pci.h:539: error: previous declaration of 'pci_clear_mwi' was here
    make[3]: *** 
    
    [/root/compat-wireless-2008-07-02/drivers/misc/eeprom_93cx6.o] Error 1
    make[2]: *** [/root/compat-wireless-2008-07-02/drivers/misc] Error 2
    make[1]: *** 
    
    [_module_/root/compat-wireless-2008-07-02] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
    make: *** [modules] Error 2
    
    
    bt
    
     
    
    compat-wireless-2008-07-02 # make install
    
    Your old wireless subsystem modules were left intact:
    
    /lib/modules/2.6.21.5/kernel/net/mac80211/mac80211.ko
    /lib/modules/2.6.21.5/kernel/net/wireless/cfg80211.ko
    /lib/modules/2.6.21.5/kernel/net/mac80211/rc80211_simple.ko
    /lib/modules/2.6.21.5/kernel/drivers/net/wireless/iwl3945.ko
    /lib/modules/2.6.21.5/kernel/drivers/net/wireless/iwl4965.ko
    /lib/modules/2.6.21.5/kernel/drivers/net/wireless/ipw2100.ko
    /lib/modules/2.6.21.5/kernel/drivers/net/wireless/ipw2200.ko
    /lib/modules/2.6.21.5/kernel/net/ieee80211/ieee80211.ko
    /lib/modules/2.6.21.5/kernel/net/ieee80211/ieee80211_crypt.ko
    /lib/modules/2.6.21.5/kernel/net/mac80211/mac80211.ko
    /lib/modules/2.6.21.5/kernel/drivers/usb/net/usbnet.ko
    /lib/modules/2.6.21.5/kernel/drivers/usb/net/cdc_ether.ko
    /lib/modules/2.6.21.5/kernel/drivers/usb/net/rndis_host.ko
    /lib/modules/2.6.21.5/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
    /lib/modules/2.6.21.5/kernel/net/ieee80211/softmac/ieee80211softmac.ko
    
    make -C 
    
    /lib/modules/2.6.21.5/build M=/root/compat-wireless-2008-07-02 modules
    make[1]: Entering directory `/usr/src/linux-2.6.21.5'
      CC [M]  
    
    /root/compat-wireless-2008-07-02/drivers/misc/eeprom_93cx6.o
    In file included from <command line>:1:
    /root/compat-wireless-2008-07-02/include/net/compat.h:122: error: static declaration of 'pci_set_mwi' follows non-static declaration
    include/linux/pci.h:538: error: previous declaration of 'pci_set_mwi' was here
    /root/compat-wireless-2008-07-02/include/net/compat.h:127: error: static 
    
    declaration of 'pci_clear_mwi' follows non-static declaration
    include/linux/pci.h:539: error: previous declaration of 'pci_clear_mwi' was here
    make[3]: *** 
    
    [/root/compat-wireless-2008-07-02/drivers/misc/eeprom_93cx6.o] Error 1
    make[2]: *** [/root/compat-wireless-2008-07-02/drivers/misc] Error 2
    make[1]: *** 
    
    [_module_/root/compat-wireless-2008-07-02] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
    make: *** [modules] Error 2

  6. #6
    Member
    Join Date
    Jan 2010
    Posts
    140

    Default

    The error you're seeing is that you are still using the same kernel that came with the Backtrack 3 iso.
    Code:
    bt compat-wireless-2008-07-02 # make
    make -C /lib/modules/2.6.21.5/build M=/root/compat-wireless-07-02 modules
    make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop
    make: *** [modules] Error 2
    You need to update your kernel to at least 2.6.24+. (2.6.25+ is recommended) Once you upgrade your kernel successfully then you can patch the compat-wireless framework for fragmentation and injection. I know it works for 3945abg as I've done it a few times myself.

  7. #7
    Junior Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    Ok thank you

    I will upgrade the kernel sooner or later ; anyway I've purchased an Alfa 500, so when I have it, the problem will be to connect to a WPA2 AP with the Alfa, and I believe I've seen a thread about this the other day. No problem at all now

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

    Default

    Quote Originally Posted by alan-smithee View Post
    Ok thank you

    I will upgrade the kernel sooner or later ; anyway I've purchased an Alfa 500, so when I have it, the problem will be to connect to a WPA2 AP with the Alfa, and I believe I've seen a thread about this the other day. No problem at all now
    I did a little write-up on exactly this a few days ago, in case you are feeling lazy
    http://forum.remote-exploit.org/showthread.php?t=15497
    -Monkeys are like nature's humans.

  9. #9
    Junior Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    Yes, this is the one I saw 2 days ago

    See you on it if I have some problem

Posting Permissions

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