Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I bought a USB WiFi key, the Hercules HWGUm-54. Apparently, the appropriate driver is the RTL8192SU from Realtek. I downloaded it from their website and extracted it.

I then went to the driver folder, extracted the archive and went into it.

As root I did:

cp 8712u.ko /lib/modules/<my_kernel>/kernel/drivers/net/
depmod -a

However I got an error:

WARNING: Can't read module /lib/modules/ Exec format error

Any ideas why?

share|improve this question

Not sure why you got the error, but here's how I did it for a similar piece of hardware.

CD to inside the driver folder, then try:

sudo su
make clean
make config
make install

finally, though I think make install does this:

depmod -a
share|improve this answer

You should have done make install in the source dir, that would have copied the driver to the correct directory. The error message says it: .../drivers/net/wireless. You can try to move it there from the dir where you copied it.

share|improve this answer
up vote 0 down vote accepted

I finally found the solution, it was just about installing kmod-staging.

I put the exact commands I do here in case someone else is stuck :

yum install kmod-staging
unzip -j "*rtl8192sfw.bin" -d RTL8192SU
mv RTL8192SU /lib/firmware/

unplug/replug the usb key and voilà! It woks!

Important Note: When you upgrade your system to a new kernel, but didn't had the following kmod-staging update too, if you reboot your computer, your wifi will not work again since the kmod-staging aren't available for that kernel.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.