Results 1 to 10 of 102

Thread: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install

Threaded View

  1. #1
    Join Date
    May 2007
    Location
    San Antonio, TEXAS
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install

    After alot of toying around trying to find how I can get my wireless working in my Acer Aspire Laptop I came across this post.

    The originally post is in German.

    I have place the contents below.



    If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04

    First make sure of your Network card. But do be careful, for some reason it might report back to being AR5006 or might come up as Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)


    More than likely if you get either one of those reported back to you it is in fact AR5007.

    Run this code in your terminal

    Code:
    lspci
    For i386 Users:

    First go to System> Administration-> Hardware Drivers "and disable by un-ticking the following option

    Atheros Hardware Access Layer (Hal)

    Then reboot your system

    Preparing your System

    Go to System->Administration->Software Sources
    Make sure you have "Universe" & "Multiverse" checked.

    Then open the terminal from Applications–>Accessories–>Terminal and copy the following command

    Code:
    sudo apt-get install build-essential
    
    wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
    
    tar xfz madwifi-ng-r2756+ar5007.tar.gz
    
    cd madwifi-ng-r2756+ar5007
    
    sudo make 
    
    sudo make install
    
    sudo modprobe ath_pci
    
    sudo reboot
    That’s it now your wireless should work without any problem.




    PROCEDURE FOR UBUNTU HARDY HERON 64 bits USERS
    (NEW INFO PROVIDED BY ANDUU FOR YOU 64BIT USERS. GO TO HIS THREAD:http://ubuntuforums.org/showthread.php?t=816780 AND THANK BRAVEERUDITE FOR POINTING THIS OUT)

    64-bit users please let me know if the above solution works.

    Go to System / Administration / hardware drivers and disable all referring to your network card

    HAL and support for Atheros Card

    Ensure you have your kernel headers and build the essential package. Use Synaptic or:


    Code:
    sudo aptitude update 
    
    sudo aptitude install linux-headers-$ (uname-r) build-essential
    
    Install ndisgtk.
    Use Synaptic or:


    Code:
    sudo apt-get install ndisgtk
    Get 64 bits XP drivers from blakemartin:

    Code:
    wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz 
    
    
    tar xvf ar5007eg-*.tar.gz tar xvf ar5007eg tar.gz-*.
    
    tar xvf ndiswrapper-newest.tar.gz
    Blacklist the default driver

    Code:
    echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist
    Load Ndiswrapper and XP driver:

    Code:
    sudo ndiswrapper -i net5211.inf Sudo ndiswrapper-i net5211.inf
    Load up ndiswrapper every time Linux is loaded

    Code:
    sudo modprobe ndiswrapper Sudo modprobe ndiswrapper
    
    echo “ndiswrapper” | sudo tee -a /etc/modules
    Restart your system using the following command Restart your system using the following command

    Code:
    sudo reboot
    At this point your network card must work OK if not try to load XP driver with ndisgtk.
    (blue led in some laptops will not work or still red but its a minor problem)

    This information was taken from forums.
    When you reboot your PC in most cases AR5007EG does not work anymore (maybe find networks but can not connect to them)

    Victor Nieto has written a script to solve the problem but this script must be executed before X server starts, I tried this and works ok EVERY TIME TURNS YOU ON YOUR PC.

    first of all here is the script:
    Use an editor and copy-paste this: (pay attention in the 1st. Line in other posts looks like "# bin / bash", correct it)

    Code:
    #! bin/bash 
    modprobe-r ndiswrapper
    cp /etc/modprobe.d/blacklist
    sed ’s/#blacklist ath_pci/blacklist ath_pci/g’ /etc/modprobe.d/blacklist>blacklist3
    mv blacklist3 /etc/modprobe.d/blacklist 
    ndiswrapper -ma && sudo ndiswrapper -mi
    modprobe ndiswrapper
    sed ’s/blacklist ath_pci/#blacklist ath_pci/g’ /etc/modprobe.d/blacklist>blacklist3
    mv blacklist3 /etc/modprobe.d/blacklist blacklist3 /etc/init.d/networking restart
    Save the file as subirwifi

    Copy file into / etc / init.d and change file mode

    Code:
    sudo cp subirwifi /etc/init.d subirwifi
    Now we need to make a symbolic link in / etc/rc5.d to load driver before X server starts.

    Go to / etc/rc5.d

    Code:
    sudo ln -s /etc/init.d/subirwifi S09subirwifi
    if all was correct you should see a line like this when you do
    Code:
    ls -l
    lrwxrwxrwx …………… S09subirwifi -> /ect/init.d/subirwifi

    reboot your system and… Luck!!!


    Thanks to all who contribute to make Linux grow up, and specially to Victor Nieto for the script.
    Last edited by k33bz; June 8th, 2008 at 09:54 PM.
    Our only ignorance is our own intelligence
    Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install|
    Linux user number 479043 | Ubuntu User number is # 24065

Bookmarks

Posting Permissions

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