Results 1 to 5 of 5

Thread: Atheros 5007 Madwifi Driver

  1. #1
    Just burned his ISO
    Join Date
    Nov 2008
    Posts
    13

    Question Atheros 5007 Madwifi Driver

    Hello!

    I have googled several hours, I cannot find the solution.
    I got an Samsung R522 with an Atheros 5007 WLAN-Card.

    So I installed backtrack today on my harddrive (parallel to windows7), and everything is fine.

    Now I wanted to install the madwifi-drivers, but I havn't got this problem solved.
    As I see there is only this revision working:
    madwifi-hal-0.10.5.6-r4126-20100324

    I downloaded the tarball, did make + make install +
    modprobe ath_pci


    If I type in iwconfig now, I should see an at0-interface, but it doesn't show up.
    Code:
    root@bt:~/mad# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wmaster0  no wireless extensions.
    
    wlan0     IEEE 802.11bg  ESSID:""
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry min limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    
    
    
    
    
    root@bt:~/mad# modinfo ath_pci
    filename:       /lib/modules/2.6.30.9/net/ath_pci.ko
    license:        Dual BSD/GPL
    version:        svn r4126 (branch madwifi-hal-0.10.5.6)
    description:    Support for Atheros 802.11 wireless LAN cards.
    author:         Errno Consulting, Sam Leffler
    srcversion:     8A443DE7DABEFD2C364037B
    alias:          pci:v0000168Cd00009013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000101Asv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*
    alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*
    alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*
    depends:        ath_hal,wlan
    vermagic:       2.6.30.9 SMP mod_unload 686
    parm:           beacon_cal:int
    parm:           countrycode:Override default country code.  Default is 0. (int)
    parm:           maxvaps:Maximum VAPs.  Default is 4. (int)
    parm:           outdoor:Enable/disable outdoor use.  Default is 0. (int)
    parm:           xchanmode:Enable/disable extended channel mode. (int)
    parm:           rfkill:Enable/disable RFKILL capability.  Default is 0. (int)
    parm:           hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the HAL.  Default is OFF. (int)
    parm:           autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
    parm:           ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp)
    parm:           intmit:Enable interference mitigation by default.  Default is 0. (int)
    parm:           ath_debug:Load-time driver debug output enable (int)
    parm:           ieee80211_debug:Load-time 802.11 debug output enable (int)
    
    
    
    
    root@bt:~/mad#

    What could I do?
    It would be great if someone could help me out.

    Thanks,
    nitramf

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    6

    Default Re: Atheros 5007 Madwifi Driver

    i have same model and working perfectly. You can install madwifi drivers and injection support for kernel from Synaptic Package Manager at System menu.Also you can find lots of tut about how to install it. here 1 of them ;

    btw u need to connect internet, plug cable to ur laptop and type dhclient to connect

    first download madwifi driver and go downloaded path and type this

    wget http://patches.aircrack-ng.org/madwifi-ng-r4073.patch -O – | patch -Np1

    down all interfaces.use ifconfig down for all interfaces

    make clean & make
    sudo ./scripts/madwifi-unload
    sudo make install
    sudo depmod -ae
    sudo modprobe ath_pci
    popd

    hope it helps

  3. #3
    Just burned his ISO
    Join Date
    Nov 2008
    Posts
    13

    Default Re: Atheros 5007 Madwifi Driver

    which driver revision I should take?

    the madwifi-hal-0.10.5.6-r4126-20100324 ?


    Thank you for helping!
    nitramf

  4. #4
    Just burned his ISO
    Join Date
    Nov 2008
    Posts
    13

    Default Re: Atheros 5007 Madwifi Driver

    Hello,

    I had to wait until I get some internet, so now I am here.
    I set the option download only on the madwifi-drivers package, then I went into var/cache/apt/archive/, where the .deb package is inside, I uncompressed it (the inside .tar.lzma too), and this is the folder structure which I get:

    Code:
    root@bt:/var/cache/apt/archives/treiber# ls -R
    .:
    data.tar  lib  usr
    
    ./lib:
    modules
    
    ./lib/modules:
    2.6.30.9
    
    ./lib/modules/2.6.30.9:
    net
    
    ./lib/modules/2.6.30.9/net:
    ath_hal.ko  ath_rate_amrr.ko      ath_rate_onoe.ko    wlan.ko      wlan_ccmp.ko     wlan_scan_sta.ko  wlan_wep.ko
    ath_pci.ko  ath_rate_minstrel.ko  ath_rate_sample.ko  wlan_acl.ko  wlan_scan_ap.ko  wlan_tkip.ko      wlan_xauth.ko
    
    ./usr:
    lib  local
    
    ./usr/lib:
    modules
    
    ./usr/lib/modules:
    2.6.30.5
    
    ./usr/lib/modules/2.6.30.5:
    net
    
    ./usr/lib/modules/2.6.30.5/net:
    ath_hal.ko  ath_rate_amrr.ko      ath_rate_onoe.ko    wlan.ko      wlan_ccmp.ko     wlan_scan_sta.ko  wlan_wep.ko
    ath_pci.ko  ath_rate_minstrel.ko  ath_rate_sample.ko  wlan_acl.ko  wlan_scan_ap.ko  wlan_tkip.ko      wlan_xauth.ko
    
    ./usr/local:
    bin  man  share
    
    ./usr/local/bin:
    80211debug  80211stats  ath_info  athchans  athctrl  athdebug  athkey  athstats  madwifi-unload  wlanconfig  wpakey
    
    ./usr/local/man:
    man8
    
    ./usr/local/man/man8:
    80211debug.8  80211stats.8  athchans.8  athctrl.8  athdebug.8  athkey.8  athstats.8  wlanconfig.8
    
    ./usr/local/share:
    man
    
    ./usr/local/share/man:
    man8
    
    ./usr/local/share/man/man8:
    ath_info.8
    But there is no madwifi-ng/ath/if_ath.c anywhere.

    What did I do wrong?

    Thanks,
    nitramf

  5. #5
    Just burned his ISO
    Join Date
    Nov 2008
    Posts
    13

    Default Re: Atheros 5007 Madwifi Driver

    Hello,

    still not getting that card working

    Code:
    root@bt:~/neumad/madwifi-ng# modinfo ath_pci
    filename:       /lib/modules/2.6.30.9/net/ath_pci.ko
    license:        Dual BSD/GPL
    version:        svn r4071
    description:    Support for Atheros 802.11 wireless LAN cards.
    author:         Errno Consulting, Sam Leffler
    srcversion:     362BB9762B389CA50B44C7F
    alias:          pci:v0000168Cd00009013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000101Asv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*
    alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*
    alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*
    depends:        ath_hal,wlan
    vermagic:       2.6.30.9 SMP mod_unload 686
    parm:           beacon_cal:int
    parm:           countrycode:Override default country code.  Default is 0. (int)
    parm:           maxvaps:Maximum VAPs.  Default is 4. (int)
    parm:           outdoor:Enable/disable outdoor use.  Default is 0. (int)
    parm:           xchanmode:Enable/disable extended channel mode. (int)
    parm:           rfkill:Enable/disable RFKILL capability.  Default is 0. (int)
    parm:           hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the                   HAL.  Default is OFF. (int)
    parm:           autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, u                  se 'none' to disable (charp)
    parm:           ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp)
    parm:           intmit:Enable interference mitigation by default.  Default is 0. (int)
    parm:           ath_debug:Load-time driver debug output enable (int)
    parm:           ieee80211_debug:Load-time 802.11 debug output enable (int)
    root@bt:~/neumad/madwifi-ng# modprobe autocreate
    FATAL: Module autocreate not found.
    root@bt:~/neumad/madwifi-ng# modprobe ath_pci autocreate
    With this autocreate the laptop would have to create a ath0 device, but how to use it? I haven't found anything usable at the man pages of modprobe...


    Please, help!
    Any Ideas would be great

    Thanks,
    nitramf

Similar Threads

  1. atheros 5007 wifi card doesnt work
    By ontherooftop in forum OLD Newbie Area
    Replies: 4
    Last Post: 07-03-2009, 04:49 PM
  2. Madwifi driver users UPDATE NOW (THAT MEANS ANYONE USING ATHEROS CARDS)
    By balding_parrot in forum OLD BackTrack v2.0 Final
    Replies: 24
    Last Post: 10-15-2008, 09:55 PM
  3. BT3 - Wifizoo v1.3 - Atheros -Madwifi
    By Misterniceguy in forum OLD BackTrack 3 Final
    Replies: 10
    Last Post: 09-15-2008, 08:18 PM
  4. Atheros 5007 802.11b/g
    By crowheart in forum OLD Newbie Area
    Replies: 4
    Last Post: 07-03-2008, 11:41 AM

Posting Permissions

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