Home > linux, tech > Replacing the wifi card in an eeePC 1000

Replacing the wifi card in an eeePC 1000

September 30, 2008 Leave a comment Go to comments

eeePC Wifi Replacement My latest project with the eee 1000 was to get some better wifi range, possibly saving some battery life in the process.  My first thought was to go for a replacement antenna.  I ordered one on eBay, and was prepared to do a bit of mod work to get it done.  Just then, the seller didn’t send me my antenna parts, but instead sent me an Intel Wifi Link 5300 MiniPCIe card.  We agreed to just call it even at that point.  I bought a different antenna at that point.  You’ll see why.

Conventional wisdom calls for (as many others have done previously) an Intel 4965 MiniPCIe card. The 5300 seems to be the successor to the 4965, boasting up to 450 Mbps of 802.11n performance.  Not having any 802.11n APs, I wouldn’t know about that just yet.  We’ll see.  Unfortunately, this card doesn’t have drivers in the mainline Linux kernel until version 2.6.27.  As I’m running Ubuntu Hardy (until Intrepid Ibex rolls out), and on kernel 2.6.24, no drivers exist, outside of the backported ones from compat-wireless guys.  Well, since the drivers exist, I decided to give it a go.

First up, grab the firmware and the drivers package.  Unpack the firmware and drop it in /lib/firmware.  Next, you’ll need to install the “build-essential” package, as well as the linux-headers packages appropriate for your kernel.  Unpack the drivers, check the config.mk file.  You should probably (as I did) uncomment the lines that enable support for the RFKILL code.  This is what gives you the ability to toggle the wifi on & off.  Do a make & make install (as root) to load the drivers up.  It will not overwrite existing mac80211 modules, and that’s a good thing.  Halt your machine and do the card swap.

Installing the card was pretty easy.  Pull the battery and unplug first.  After all, you don’t want to short things out, right? Ok, now remove the two screws that hold down the existing Ralink wifi card and pop the two antenna leads off.  Now install the Intel card and put the screws back.  Connect the white wire to terminal 1, and the black to terminal 2.  Terminal 3 is where you’ll need to connect the extra antenna.  I opted for a small antenna, typically used for a bluetooth radio, but since it’s a 2.4 Ghz antenna, it also works fine here. I snaked the wire through one of the small gaps in the plastic housing adjacent to the wifi card, and used the adhesive backing on the antenna to stick it in the hole where the hard drive goes on a 1000h.  Not sure where you’d want to put the antenna on a 1000h, but then again, that’s not my chief concern, as I’m working on a 1000.  Put back all the screws and you’re done.

Boot the system, and you should be all done.  The card should be automagically detected and have the iwlagn module loaded.  You’ll likely want to gently massage your /etc/acpi/eeepc-wifi-toggle.sh script to work with the proper modules.  Removing the module and echoing a 0 into /proc/acpi/asus/wlan (to power down the card) results in the card going into “deep sleep”.  My last bit is to figure out how to wake it from deep sleep, other than a reboot.

Advertisement
Categories: linux, tech Tags: , , , , , ,
  1. November 4, 2008 at 7:26 am | #1

    Hi,
    I’m trying to install a brand new Intel 5300 Wifi card in my EeePC 901 runing Xandros. I’m following the steps above but ‘make’ fails when trying to build the drivers with an error finishing with “error: linux/rfkill.h: No such file or directory” :/ As you mentioned, I’ve enabled the 3 lines regarding RFKILL in config.mk.
    Didn’t you meet the same problem when installing your card?
    TIA for your help!

  2. November 4, 2008 at 11:39 am | #2

    Hmm.. sounds like you’re missing the kernel headers packages…

  3. November 12, 2008 at 2:33 pm | #3

    Good stuff, any chance of more details / pics to your antenna mod? Considering doing the same to my 1000 (non H) with an Atheros wifi chipset with external antenna option as well.

  4. November 12, 2008 at 6:44 pm | #4

    The extra antenna is the small orange bar in the picture above.  It’s not going to provide great range on that particular antenna terminal, but it’s a simple mod that doesn’t involve drills, dremels, etc. :)

  1. No trackbacks yet.
You must be logged in to post a comment.
Follow

Get every new post delivered to your Inbox.