Skip to main content.
Monday, June 27th, 2005

Hawking HWP54G Under Linux

How I got my Hawking HWP54G PCI wireless card working with Linux, and links to drivers, instructions and forums so that you can do it too.

I have written a much better post on this subject that provides more details and tons of links. I had to finally edit this post because of the traffic I’ve been getting due to my prominent position when someone searches Google using the terms “hwp54g” and “linux”. Since I seem to keep adding details on this subject, this saved search will call up all my posts in reverse chronological order.

Here’s my original post that the search engines found:

It’s been a week since I posted – a very busy week and I got little sleep. Just got caught up.

I checked my stats page and saw a lot of hits from people looking for info on setting up the Hawking HWP54G wireless adapter under linux. If you need help, feel free to contact me at greg_at_gregrperry_dot_com. I searched my own site and only found vague references to it – I had gotten the job done just days before I started this blog, and wrote about it at SourceForge!

Here’s a reproduction of the thread (complete with typos,) which can be found here. I’m “altjira.”

By: altjira – altjira_
linux newbie / hwp54g / connected? but no joy
2005-04-19 18:03
Linux wannabe newbie but problems with connecting through wireless have kept me from freedom from ****ing Windoze. After a series of frustrating wireless experiences (RH9, Knoppix 3.1 – SpeedStream 1024, DLink DWL-520, Hawking HWP54G), I have been pushed to the point of (sob) asking for help.

I have a new self-built mono 3.2 GHz 800 FSB 160G hd with the Hawking. I feel insulted that the XP Pro I paid $120 for works just fine, but the FC3, SuSe 9.1, and Knoppix 3.7 fails to connect through my wireless network to the Internet. I’m trying to get everything up and running with FC3. I identified the rt2500 chip in the HWP54G, have searched your forums, downloaded 1.1.0 b2, found fstab and loaded my fat32 share partition (so I can access downloads), installed qt, made and installed the rt2500 module and RaConfig [kudos to serialmonkey and his “ifconfig ra0 up” advice ( hope you enjoyed your honeymoon)], and I am at the point where RaConfig runs, sees my AP and seems to connect, but leaves me with “ could not be found” when I try to run Mozilla. I thought maybe I was screwing up the 128 bit WEP encryption, but freeloading on my neighbor’s unsecured access gives me the same results.


One thing I noticed using iwconfig is that the 128 bit key keeps changing whenever I use RaConfig, but this seems to be a side issue considering I cannot connect to the unsecured network.

Please save me from Bill Gates serfdom and tell me what to do next.

By: IvD – ivd
RE: linux newbie / hwp54g / connected? but no
2005-04-20 09:00
does the file /etc/resolv.conf
contain your IP addresses for the DNS servers…

By: altjira – altjira_
RE: linux newbie / hwp54g / connected? but no
2005-04-21 00:18
I see it but get an error message “Couldn’t display /etc/resolve.conf”, even when logged on as root. It is zero bytes in size, so it can’t contain anything.

By: IvD – ivd
RE: linux newbie / hwp54g / connected? but no
2005-04-21 02:02
Then that is your problem.
Put the following data in that file:

nameserver <ip address DNS 1></ip>
nameserver <ip address DNS 2></ip>

By: altjira – altjira_
RE: linux newbie / hwp54g / connected? but no
2005-04-21 17:14
I filled in resolve.conf but still no joy. I see darknight’s thread for installing to FC3, which is completely different than anything I ever tried, and I will attempt to follow it. First, 2 stupid questions, anyone:

1. When you download and make a module, where do you put it in the filesystem? I unzipped the tarball in my user home folder, but since I can’t tell when I need to be root or not, now I can’t even access anything as user without chown. Also, it just seems to be a dumb place to put files required for operating my hardware.

2. I have used command lines since before MSDOS existed, but there is perhaps a notational device I have noticed but don’t understand- when describing commands, there is frequenctly a “$” or “#” sign as the first character. Do you type that in or does it just indicate the required user status?

By: DarkKnight – darkknight_9
RE: linux newbie / hwp54g / connected? but no
2005-04-22 00:19
ok .. the $ and the # tell you whether you are in normal user mode or root user mode. When you open up a shell, as a normal user, you get something like:

[darkknight@darkworld ~]$

notice the “$” for a regular user. Now when I become “root”

[darkknight@darkworld ~]$ su
[root@darkworld darkknight]#

The prompt changes to “#” to reflect that you are root! So, you don’t need to type in the “$” or the “#”, it’s just there to tell you when you need root privileges to run some command.

When you unzip the archive, it just unpacks the source files. You need to run “make” to make the module. Then the “make install-fedora” (as root) will take care of installing that module in the proper place for you. Once that’s done, you can even delete the source files if you want!

But from experience, once I manage to build a module that works for a particular kernel, I backup the “rt2500.ko” and the “Makefile” so that I can restore it at a later point if need be.

Of course, when you change the kernel, you will again have to get the sources, make, make install-fedora…

By: DarkKnight – darkknight_9
RE: linux newbie / hwp54g / connected? but no
2005-04-22 00:23
An additional comment: I also noticed that it kept changing the WEP Key from time to time .. this problem was solved after I removed the file in /etc/Wireless/ and used _only_ the fedora net configuration tool (system-config-network) to setup all the parameters.

By: altjira – altjira_
RE: linux newbie / hwp54g / connected? but no
2005-04-23 14:26

Thanks for all the help. I am logged on for the first time through my home wifi using Linux.

Darknight’s advice was very helpful, but I could not make the latest cvs. Here’s how I did it:

I used tengel’s advice on cleaning out all my mistakes:, but noted that rt2500 info was in eth1 files and deleted those too.

I made and installed the 1.1.0-b2 beta module. Wish I had have gone down to the bottom of the readme file before and found the FC3 instructions.

I used FC’s System Setting>Network and “New” to create a wireless connection. The first time I tried, I had “rt2500” to pick from. That didn’t work, but it was because wlan0 wasn’t up. I used
# /sbin/ifconfig wlan0 up
to get it going. Then, to make sure, I deleted the wlan0 wireless device in Network Configuration and added a new wireless device as wlan0. This time I had a full description-
RaLink Ralink RT2500 802.11 Cardbus Reference Card
I then double-clicked the wlan0 device to get the Wireless Device Configuration. Under the Wireless Settings tab, I set the BSSID, the channel and the key, but it still didn’t work until I changed the Mode from Auto to Managed.

Every time I boot up I hav to go root and type
ifconfig wlan0 up
but then I can use FC’c Network tool to active the wireless network. If I tell it to activate when compute starts, it fails.

This leaves out a lot of what I went through to get the card up and running. For other people with problems, I’d highly recommend going to the rt2X00 SourceForge project site and, if necessary, contacting SerialMonkey, the project admin.

I’ve got lots more to write about when I get the time, but noticing the ralink hits made me feel obligated to get this post in.

Posted by Greg as Hardware & Drivers, OS at 16:49 PST