2

I have an ODroid U2 running Ubuntu 14.04 LTS and Linux version 3.8.13.30.

I am trying to get my USB WiFi dongle working through this tutorial.

However, at the sudo dkms install 8192cu/1.10 stage, I am getting the following error:

Error! Your kernel headers for kernel 3.8.13.30 cannot be found.
Please install the linux-headers-3.8.13.30 package, or use the --kernelsource dir option to tell DKMS where it's located`  

So, I did dpkg -l | grep linux-headers to find that linux-headers-3.13.0-51 was installed at /usr/src.

I passed this data to DKMS through the --kernelsourcedir option but got the same error:

I also did apt-get install linux-headers-$(uname-r) but got an Unable to locate package error.

What am I doing wrong/How can I fix this?

Zanna
  • 70,465
  • Wonder what you did to use a kernel from a previous release, as ubuntu 14.04 comes with Linux 3.13. – xangua May 02 '15 at 22:09
  • @xangua I didn't check exactly. I recently did a fresh install of Ubuntu and got an option to update kernel. When I did, this is what I have currently. – Kanishka Ganguly May 02 '15 at 22:20

2 Answers2

2

I found the correct headers here.

How to add this repository:

sudo -i
cd /etc/apt/sources.list.d
wget https://oph.mdrjr.net/meveric/sources.lists/meveric-all-main.list
wget -O- http://oph.mdrjr.net/meveric/meveric.asc | apt-key add -
exit
sudo apt-get update

You can then use APT to install the headers you need.

Zanna
  • 70,465
0

If you take a look at this page: http://kernel.ubuntu.com/~kernel-ppa/mainline/, you'll see that particular version is not available (anymore). It is probably better to install a newer kernel from the page mentioned and then try to compile the dkms module again.

wie5Ooma
  • 1,789