Skip to main content.
Saturday, December 24th, 2005

The HWP54G/FC4 Saga – One Last Thing

I wrote that I had additional problems installing the Hawking HWP54G Wireless-G PCI card after a clean Fedora Core 4 install that were not covered in my detailed description of how I got the wireless card working. I promised a write-up, and it’s time to wrap things up.

If you’re an experienced Linux user, what I found and how I fixed it is going to seem elementary, but I’ve focused on explaining this stuff to new users like me. Basically, even though I followed the first part of Mauriat Miranda’s guide to FC4 installation and package selection, I didn’t read the entire document, and therefore didn’t get down to the end where it says “Fedora no longer ships with the kernel-source RPM. You must install it separately.” So when I tried to make the driver, I got this:

[greg@localhost module]$ make
make: *** /lib/modules/2.6.11-1.1369_FC4/build: No such file or directory. Stop .
rt2500.ko failed to build!
make: *** [module] Error 1
[greg@localhost module]$

I was scratching my head, trying to figure out how I could have possibly installed FC4 without the capability of running the make command, but as it turns out,

If you need to install a driver (Nvidia, ndiswrapper, Cisco VPN, etc.) that requires kernel sources [emphasis mine], it may be sufficient to install just the kernel headers package (kernel-devel RPM). This can be found on CD4, the DVD or online. If you have updated your kernel (using yum or up2date), then use yum to install the package (‘yum install kernel-devel’). Make sure to match your current kernel version (read below for the ‘uname’ command).

Once again, stymied because I hadn’t read the instructions in their entirety. Actually, I didn’t solve my problem by reading this document – I’m just finding it now as I check my sources for the write-up. I solved the problem by popping in the FC4 DVD, logging in as root, and typing:

[root@localhost /]# rpm kernel-devel-2.6.11-1.1369_FC4.i686.rpm

After I installed this package, I logged back in as me, went to the /Module directory, and tried make again. Here’s my output:

[greg@localhost ~]$ cd /etc/rt2500/module
[greg@localhost module]$ make
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /etc/rt2500/module/rtmp_main.o
/etc/rt2500/module/rtmp_main.c: In function ‘rt2500_resume’:
/etc/rt2500/module/rtmp_main.c:844: warning: ignoring return value of ‘pci_enabl e_device’, declared with attribute warn_unused_result
CC [M] /etc/rt2500/module/mlme.o
CC [M] /etc/rt2500/module/connect.o
CC [M] /etc/rt2500/module/sync.o
CC [M] /etc/rt2500/module/assoc.o
CC [M] /etc/rt2500/module/auth.o
CC [M] /etc/rt2500/module/auth_rsp.o
CC [M] /etc/rt2500/module/rtmp_data.o
CC [M] /etc/rt2500/module/rtmp_init.o
CC [M] /etc/rt2500/module/sanity.o
CC [M] /etc/rt2500/module/rtmp_wep.o
CC [M] /etc/rt2500/module/wpa.o
CC [M] /etc/rt2500/module/md5.o
CC [M] /etc/rt2500/module/rtmp_tkip.o
CC [M] /etc/rt2500/module/rtmp_info.o
CC [M] /etc/rt2500/module/eeprom.o
LD [M] /etc/rt2500/module/rt2500.o
Building modules, stage 2.
MODPOST
CC /etc/rt2500/module/rt2500.mod.o
LD [M] /etc/rt2500/module/rt2500.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
[greg@localhost module]$

You might notice that I changed the directory name from “Module” to “module” – I hate hitting the SHIFT key in the command line! May as well show you what happened next, when I make install-fedora:

[greg@localhost module]$ su -
Password:
[root@localhost ~]# cd /etc/rt2500/module
[root@localhost module]# make install-fedora
if ! [ -f rt2500.ko ]; then \
module; \
fi
install 'rt2500.ko' to /lib/modules/2.6.11-1.1369_FC4/extra
install -m 755 -o 0 -g 0 -d /lib/modules/2.6.11-1.1369_FC4/extra
install -m 644 -o 0 -g 0 rt2500.ko /lib/modules/2.6.11-1.1369_FC4/extra
/sbin/depmod -a
append 'alias wlan0 rt2500' to /etc/modprobe.conf
[root@localhost module]#

And that’s it! You can go back to my detailed description for my tips on using the system-config-network utility. Note that if you’re not using Fedora, you may also need to build the configuration utility that comes with the drivers. Also, if you upgrade your kernel later on, you will have to make and make install-fedora again, so make sure you include the new kernel-devel package.

Well, I feel like I’ve described in explicit detail how I got my wireless card working in Fedora Core 4. I really need to go and finish the job in SuSE 10 as well, but tweaking my FC4 is keeping me pretty busy, and the closer I get everything to the way I want it, the less incentive I have to do it all over again in SuSE. But if I want to write a real howto, I need the experience. Still, right now there’s lots of other things to do that I found in the installation guide, so I’m off to do those!

Posted by Greg in Hardware & Drivers, Networking, OS

3 Comments »

This entry was posted on Saturday, December 24th, 2005 at 03:49 PST and is filed under Hardware & Drivers, Networking, OS. You can follow any responses to this entry through the comments RSS 2.0 feed. Both comments and pings are currently closed.

3 Responses to “The HWP54G/FC4 Saga – One Last Thing”

  1. Mauriat says:

    Glad to help :) Have a Merry Christmas :)

  2. Ramblings » Blog Archive » Reinstall RT2500 Driver After Kernel Upgrade says:

    New post with details on actions required after upgrading kernel…

  3. Ramblings » Blog Archive » Installing Fedora Core 5 with D-Link DWL-520 Rev E1 Wireless Card says:

    […] – this time, it’s a D-Link DWL-520 revision E1, which has a Prism 2.5 chipset… I thought that this time, it would be a lot easier because I could put into good use everything I learned by setting up the Hawking HWP-54G with the Ralink rt2500 chipset on my FC4 box (soon to be upgraded), but that wasn’t the case. […]