I use a 3Com OfficeConnect 10/100 LAN adapter card (PCMCIA) for Ethernet connectivity. I've never had to do anything special to make the lappy's networking go with any Linux distribution I have tried. It just works "out of the box." I also have a D-Link DWL-G630 WiFi card (also PCMCIA). It works "out of the box" in Xubuntu, but not in SkinnyDebbie. This is a summary of how I got it to work.
I bought the D-Link card because it was listed as Linux compatible at http://linux-wless.passys.nl/ (and because of favorable comments at Newegg). The site says that my card is compatible with MadWifi drivers--drivers that have been developed to support Atheros chipsets. The process below is adapted from MadWifi's own newbie installation guide; however, I had to do some extra stuff and not do some other stuff to make it go in SkinnyDebbie. I expect that the instructions below will work for any MadWifi-compatible card. There are lots of little steps here, none of which are large or complicated, but all of which add up to some tedium. Sorry about that.
Preparation
- I started with my wired Ethernet card in the laptop. The WiFi card was not physically in the machine.
- Verify that your WiFi card is compatible with the MadWifi drivers at http://linux-wless.passys.nl/. Be sure to check the vendor/product code of your card as well as the product ID because manufacturer's routinely change chipsets in their cards without changing model numbers! If it's not listed as working with MadWifi, then don't install the MadWifi drivers.
- Open a terminal and type:
sudo aptitude install network-manager network-manager-gnome
This will install a network management system and notification tray applet that takes a lot of the headache out of setting up and signing on to WiFi networks. - When that's done, type
sudo aptitude install module-assistant build-essential
- When that's done, type
sudo m-a update
sudo m-a prepare
The above will install the header files needed to build the MadWifi drivers. - When that's done, type
geany ~/.icewm/startup
In the text editor window that opens, right after the linexscreensaver -no-splash &
add the linenm-applet --sm-disable &
Save the file and exit Geany.
- Download the drivers from the Madwifi home page. I used v0.9.4. If something doesn't work in what follows, it may be because of a version change.
- In ROX-Filer, navigate to the
*.tar.gz
file you downloaded and double click on it to extract it. - Open a terminal and navigate to the directory where you extracted the package. (This may be a good time to get to know ROX-Filer's Window -> Terminal here command or it's keyboard shortcut, `.)
- Type the following in the terminal:
sudo ifconfig ath0 down
sudo ifconfig wifi0 down
You will probably get warnings or errors. Don't worry about them. - Now type the following:
cd scripts
./madwifi-unload
./find-madwifi-modules.sh $(uname -r)
cd ..
This removes any old modules, which you almost certainly don't have anyway. We are now ready to build the drivers. - Still in the terminal, make sure you are at the top level of the downloaded and extracted MadWifi directory and type:
sudo make
sudo make install
Both of the above may take some time. You should not see errors. If you do, curse the Linux gods and give up. - Type:
sudo geany /etc/modules
In the text editor window that opens, add the following line to the bottom:ath_pci
Save the file and exit Geany. - Logoff and power down the computer. Replace the wired Ethernet adapter card with the WiFi adapter card.
- When you start the computer and login again, you should see a new icon in the notification tray. When you click on it, you will be able to select and sign into available WiFi networks
No comments:
Post a Comment