Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 had a fully operational version of Ubuntu 11.10 running (64 bit) and decided to upgrade to 12.04. After I did I no longer had network connectivity. I am running a Tenda Wireless W322P adapter. In the past I had installed it just fine and it was working great. Everytime I did a kernel update I would always have to do a

modprobe rt3562sta 

to reinstall and get the network working. Now, I do that and I get the error

FATAL: Error inserting rt3562sta (/lib/modules/3.2.0-24-generic/kernel/drivers/net/wireless/rt3562sta.ko): Invalid module format

I am dead in the water. Any ideas?

share|improve this question
Be sure to accept the answer that helps the most so that other users can find it and know it works with a quick glance. Use the checkmark next to the answer. – hexafraction Jun 14 '12 at 22:05

I have tried the answer given and it didn't work. It compiled and was properly installed, but no network.

You can go into os/linux/makefile.cfg and set the options:


Recompile, and reboot.

It should now work.

share|improve this answer
There is no makefile.cfg in the os/linux/ subdirectory.... – izx Jun 15 '12 at 7:40

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.