Showing posts with label Feisty Fawn. Show all posts
Showing posts with label Feisty Fawn. Show all posts

Sunday, October 14, 2007

HOWTO: Get Airgo-Based WiFi Enabled Using ndiswrapper

*UPDATE* February 21, 2008
Due to some changes in the ndiswrapper software, this tutorial became obsolete. As per comments in the original post, I have changed the instructions to once again make them work.

For months I was trying to get my Belkin F5D8010 Pre-N WiFi card to work in my laptop under Ubuntu Feisty Fawn (7.04). Finally I have figured it out, using the Ubuntu Documentation & the NDISwrapper page on Sourceforge. Now I present these steps to you.

Cards This Will Work On:

Note: This list is from the ndiswrapper wiki. I do not know if these steps will actually work for your card. Verified cards are in bold. If you follow these steps and they work for your card, leave a comment and I will point it out.

  • Belkin F5D8010

  • Linksys WPC511GX

  • Netgear WGM511

  • Buffalo WLI-CB-G108

  • AeroGuard AGN1023PC

  • Planex CQW-NS108AG

  • Planex CQW-NS108G

  • amsung X20 Laptop

  • GemTek WPCO-131G

  • Corega CG-WLCB108GM

Ubuntu Version Required:

Ubuntu 6.10 (Edgy Eft) or later

Because I was able to get this to work under Feisty Fawn, I am going to write these steps as if you were using that version. I will post the links for files required by Edgy and Gutsy, but I can't guarantee it will work for you. I am providing two versions of instructions: one if you can get online through a wired connection (the preferred method), and one if you cannot get online through a wired connection.

Online Version

Part One: Installing ndisWrapper

  1. Open Terminal.

  2. Type lspci -nn

  3. Look for the following: 03:00.0 Ethernet Controller: Airgo Networks Inc AGN100 802.11 a/b/g True MIMO Wireless Card [17cb:0001] (rev 01)

    • If the line is not present, these instructions will not work for you.

  4. Type (or copy/paste) the following lines into Terminal:
    sudo modprobe -r ndiswrapper
    sudo apt-get --purge remove ndiswrapper-utils
    sudo rm -r /etc/ndiswrapper/
    sudo rm -r /etc/modprobe.d/ndiswrapper
    sudo rm /lib/modules/$(uname -r)/kernel/drivers/net/ndiswrapper/ndiswrapper.ko

  5. Type (or copy/paste) the following line into Terminal:
    sudo apt-get install linux-headers-$(uname -r)

  6. Type (or copy/paste) the following line into Terminal:
    sudo apt-get install dh-make fakeroot gcc-3.4 build-essential

  7. Navigate to Sourceforge to download the latest version of ndisWrapper.

  8. Save the file you download in your Home folder

  9. Type (or copy/paste) the following lines into Terminal:
    tar xvfz ndiswrapper-[current version].tar.gz
    cd ndiswrapper-[current version]

    (Where [current version] is the version number of the file you downloaded. i.e.: ndiswrapper-1.52.tar.gz)

  10. Type (or copy/paste) the following lines into Terminal:
    sudo make uninstall
    sudo make

  11. Type (or copy/paste) the following lines into Terminal:
    fakeroot
    sudo make install

Part Two: Installing the drivers

  1. Type (or copy/paste) the following into a terminal to download the drivers:
    wget http://77.91.202.10/~alpoimco/Satanas/belkin_pre-n.tar.gz
    Mirror (If the first link is down): wget http://www.someawe.com/uploads/belkin_pre-n.tar.gz

  2. Type (or copy/paste) the following into a terminal to extract the drivers you just downloaded:
    tar xvfz belkin_pre-n.tar.gz
    cd belkin_pre-n

  3. Type (or copy/paste) the following line into terminal:
    echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

  4. Type (or copy/paste) the following line into terminal:
    sudo ndiswrapper -i NetAni.inf

  5. Type (or copy/paste) the following line into terminal:
    ndiswrapper -l

  6. Look for the following:
    tmimo3p: driver installed
         device (17CB:0001) present

  7. Type (or copy/paste) the following into Terminal to activate the driver:
    sudo depmod -a
    sudo modprobe ndiswrapper

  8. Type (or copy/paste) the following into Terminal to check for errors:
    tail /var/log/messages

  9. Type (or copy/paste) the following into Terminal to open the Network Manager:
    gksudo network-admin

  10. Verify the connection labeled "Wireless connection" says "Roaming mode enabled" beneath it.

  11. Perform the following steps if it does not say "Roaming mode enabled:"

    1. Click the Wireless connection to highlight it.

    2. Click the Properties button to open the properties window.

    3. Click the check box next to Enable roaming mode and click Ok.

    4. Verify that the wireless connection now says "Roaming mode enabled."

  12. Click the close button on the Network manager to close it and return to the Terminal.

  13. Type (or copy/paste) the following into Terminal to create an alias for your wireless card:
    sudo ndiswrapper -m

  14. Type (or copy/paste) the following into Terminal to open the modules list:
    gksudo gedit /etc/modules

  15. Type the following at the end of the text document that loads (if not already present):
    ndiswrapper

  16. Reboot your system to make sure everything is in full working order

Offline Version

  1. Open Terminal.

  2. Type lspci -nn

  3. Look for the following: 03:00.0 Ethernet Controller: Airgo Networks Inc AGN100 802.11 a/b/g True MIMO Wireless Card [17cb:0001] (rev 01)

    • If the line is not present, these instructions will not work for you.

  4. Download the files you need to install the drivers:

  5. Copy the four files you downloaded to your Home folder on your Ubuntu system using a flash drive, CD-ROM, or other means.

  6. Open terminal on your Ubuntu system.

  7. Type (or copy/paste) the following into Terminal to install ndisWrapper:
    sudo dpkg -i ndiswrapper-common_*.deb
    sudo dpkg -i ndiswrapper-utils*.deb
    sudo dpkg -i --force-depends ndisgtk_*.deb

  8. Type (or copy/paste) the following into a terminal to extract the drivers you just downloaded:
    tar xvfz belkin_pre-n.tar.gz
    cd belkin_pre-n

  9. Type (or copy/paste) the following line into terminal:
    echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

  10. Type (or copy/paste) the following line into terminal:
    sudo ndiswrapper -i NetAni.inf

  11. Type (or copy/paste) the following line into terminal:
    ndiswrapper -l

  12. Look for the following:
    tmimo3p: driver installed
         device (17CB:0001) present

  13. Type (or copy/paste) the following into Terminal to activate the driver:
    sudo depmod -a
    sudo modprobe ndiswrapper

  14. Type (or copy/paste) the following into Terminal to check for errors:
    tail /var/log/messages

  15. Type (or copy/paste) the following into Terminal to open the Network Manager:
    gksudo network-admin

  16. Verify the connection labeled "Wireless connection" says "Roaming mode enabled" beneath it.

  17. Perform the following steps if it does not say "Roaming mode enabled:"

    1. Click the Wireless connection to highlight it.

    2. Click the Properties button to open the properties window.

    3. Click the check box next to Enable roaming mode and click Ok.

    4. Verify that the wireless connection now says "Roaming mode enabled."

  18. Click the close button on the Network manager to close it and return to the Terminal.

  19. Type (or copy/paste) the following into Terminal to create an alias for your wireless card:
    sudo ndiswrapper -m

  20. Type (or copy/paste) the following into Terminal to open the modules list:
    gksudo gedit /etc/modules

  21. Type the following at the end of the text document that loads (if not already present):
    ndiswrapper

  22. Reboot your system to make sure everything is in full working order

That's it! I hope that this will help you get onto the Internet through Ubuntu using one of the toughest cards to get working through Ubuntu. Again, if you try out any of the other cards in the list, please feel free to leave a comment to let me know you got it to work. Likewise, if you run into issues, leave a comment and I'll do what I can to assist you.

Technorati Tags: , , , , , , , , , , , , ,

Saturday, October 13, 2007

Introduction

Well, first off, welcome to my newest - and only currently published - blog I have. A little bit about myself: First, I am Justin Miller and have been using computers now for a little over twelve years. I pretty much knew when I got my first PC in 1994 (I had used a Commodore 128 prior to this) that I had found my calling in life.

The computer I started out on was a Gateway 2000 486sx with 16mb of RAM and a whopping 512 MB hard drive. It also ran Windows for Workgroups 3.11. My first foray into the online world was on a Bulletin Board Service (BBS) which I joined in the summer of 2005 before the World Wide Web became a hit. I was really active in one BBS in particular, and was a junior SYSOP before it finally closed its doors in 1999.

My first time on the Internet was sometime in 1996. Time Warner Cable had begun a test marketing for a new high-speed ISP called RoadRunner in my area and I was one of the first ones to get it. I started making web pages after I started looking at what was underneath, as well as learning about email, the WWW, FTP, and newsgroups. Suffice to say, I am pretty much self-taught on almost all of my computer knowledge.

It was also in the year 1996 that I built my first computer from the Motherboard up. It was an AMD-based system and I was pretty proud of myself for it. I used it throughout my high school years, and when I began college in the fall of 1998 majoring in computer engineering, I had received a new Dell for my HS graduation gift. Long story short, I still have that Dell, and have given it a few upgrades throughout the years. I don't actually use it anymore and really only keep it because of its high initial cost and the fact that I have full replacement value on my renter's insurance policy.

For reasons that don't need to be named here, I never wound up graduating college, and in 2000, I began work in a reputable shipping firm as a senior level tech support representative and was employed by them until mid-2001 when the economy crashed. I jumped from job to job with only a year and a half of professional experience, no degree, and no industry certifications under my belt. Finally in 2003, I joined the US Army, where I am currently working as a Network Administrator at a battalion level. In this position, I've learned how to use Cisco switches and routers, effectively troubleshoot systems, and got my first taste of Linux with Solaris and Red Hat. I also began college again, and am now three semesters away from graduating, this time with a degree in MIS.

Throughout the years, I have always used Windows, from WFW 3.11 through XP (skipping over NT4 and ME). I had always wanted to try out Linux for myself, but never found a distribution that I was comfortable with. I found out through Slashdot about a distro called Ubuntu in early 2007, and gave it a look, finally installing it in June of this year, dual-booting with XP. I have been completely impressed by it, I have had only a few qualms, such as the near-impossibility to install drivers for my WiFi (though from reading, that appears to be no longer an issue in 7.10), and I am looking forward to the day I can have a system that is completely open source. There are still Windows-proprietary things I need for my classes that I will eventually try to get working in Wine, but until then I have to remain a dual-user.

I have recently become an activist for Open Source software. Except for Windows and iTunes, I am using open source programs such as Firefox & OpenOffice.org in lieu of MS Office or Internet Explorer. I encourage others to use Open Source software. As for what this blog is about, I hope to share with you my experiences in using Ubuntu, any tips, tricks, and tweaks I find out, reviews of books on Linux (specifically Ubuntu), and any other stuff about Open Source I can find out that I think will help. I will try to update it at least once a week.

Once again, welcome. I hope you have as good a time reading this as I did writing it.

Technorati Tags: , , , , , , , ,