Page 1 of 11 123 ... LastLast
Results 1 to 10 of 102

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

  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

  2. #2
    Join Date
    Jan 2007
    Location
    /India/Auroville/home
    Beans
    367
    Distro
    Xubuntu 13.10 Saucy Salamander

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

    Hi k33bz,
    the org. German link is local /media/disk. Does that mean you have a German USB stick? Can you post the Internet link. I have trouble with this wireless card and will try your suggestion as soon as I am back on that laptop.
    Don't forget to thank; more points when you want to go to heaven or less karma if you decide for reincarnation. Mark threads solved when they are ...

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

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

    Quote Originally Posted by be4truth View Post
    Hi k33bz,
    the org. German link is local /media/disk. Does that mean you have a German USB stick? Can you post the Internet link. I have trouble with this wireless card and will try your suggestion as soon as I am back on that laptop.
    No, it probable did that because I had saved the document for easy viewing while off line. I will try to find the real link again.


    cant seem to find that link now, so I will just remove the link I have here.
    Last edited by k33bz; May 22nd, 2008 at 10:55 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

  4. #4
    Join Date
    Apr 2006
    Location
    Alberta,Canada
    Beans
    1,135
    Distro
    Ubuntu Development Release

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

    Regarding the ndiswrapper 64 bit method:

    I am in a bit of a pickle....

    Everything goes well up until using the script on reboot.As far as I can tell I did everything correctly regarding copying and symlinking it however it doesn't seem to have any effect.I can see wireless networks but cannot connect.

    Once rebooted if I run the script manually ie sudo sh /etc/init.d/subirwifi I can usually get connected.Sometimes I have to disable/re-enable wireless through the network manager to be able to connect.

    During my testing on the odd occasion I have been able to get connected without doing anything!

    Something kinda flakey is going on here...any ideas.
    What color do Smurfs turn when you choke em?
    ____________________________

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

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

    Quote Originally Posted by Anduu View Post
    Regarding the ndiswrapper 64 bit method:

    I am in a bit of a pickle....

    Everything goes well up until using the script on reboot.As far as I can tell I did everything correctly regarding copying and symlinking it however it doesn't seem to have any effect.I can see wireless networks but cannot connect.

    Once rebooted if I run the script manually ie sudo sh /etc/init.d/subirwifi I can usually get connected.Sometimes I have to disable/re-enable wireless through the network manager to be able to connect.

    During my testing on the odd occasion I have been able to get connected without doing anything!

    Something kinda flakey is going on here...any ideas.
    To tell you the truth, I am not sure, hope someone else comes by and lets you know. I dont run a 64 bit machine. I just found this post, and it worked perfectly for me on my machine. But I dont have the hardware to test on a 64 bit.
    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

  6. #6
    Join Date
    Apr 2006
    Location
    Alberta,Canada
    Beans
    1,135
    Distro
    Ubuntu Development Release

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

    Well I think I have it sorted out now....I added
    Code:
    /etc/init.d/networking restart
    to the end of the script and after rebooting a few times it has been connecting consistently so far.
    What color do Smurfs turn when you choke em?
    ____________________________

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

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

    Sounds good, for others I will add that at the end of the script I have up there.




    SCRIPT FIXED
    Last edited by k33bz; May 23rd, 2008 at 10:31 AM. Reason: Fixing the script, thanks for the help Anduu
    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

  8. #8
    Join Date
    May 2008
    Beans
    146

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

    I got this method working once, but after restart I could not connect to wireless anymore. I haven't tried going through the steps again, but I am pretty sure that would allow me to connect again; is there a way around having to go through the steps each reboot?

    Just a note: I'm running i386 / 32 bit or whatever and followed the first set on instructions.

    EDIT: Okay, running the instructions starting from cd madwifi-ng-r2756+ar5007 works, but is there a way to not have to go through the instructions from there each time I reboot when the wireless works?
    Last edited by Jaded Misanthrope; May 27th, 2008 at 12:18 AM.

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

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

    Quote Originally Posted by Jaded Misanthrope View Post
    I got this method working once, but after restart I could not connect to wireless anymore. I haven't tried going through the steps again, but I am pretty sure that would allow me to connect again; is there a way around having to go through the steps each reboot?

    Just a note: I'm running i386 / 32 bit or whatever and followed the first set on instructions.

    EDIT: Okay, running the instructions starting from cd madwifi-ng-r2756+ar5007 works, but is there a way to not have to go through the instructions from there each time I reboot when the wireless works?

    MMMM, I am not sure about that, I only did these instructions once, never had a problem after rebooting. Only thing I can suggest is to go over the steps again, and make sure you did everything.

    sorry.
    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

  10. #10
    Join Date
    May 2008
    Beans
    146

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

    Yeah, I just rebooted after going to bed last night and I could connect to my router straight away; not sure what happened--hopefully it'll work like that all the time now.

Page 1 of 11 123 ... LastLast

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
  •