LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2015, 12:14 PM   #1
maciek1988
LQ Newbie
 
Registered: Aug 2015
Posts: 5

Rep: Reputation: Disabled
The easiest way to install a .ko file containing a wifi adapter driver on Ubuntu 12.1


Normally I use Windows but I bought an Android TV stick and decided to install Danuntu which is a Rockchip RK3066 port of Ubuntu 12.10. Unfortunately, the wifi doesn't work.

I have a .ko file that is supposedly needed for my wifi adapter to work. How do I install it?
 
Old 08-22-2015, 01:06 PM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
It's not that simple. For starters, that ko must be built for the same exact kernel version as installed on that stick. I'd be weary of a .ko that didn't come from a known source, and if from a good source it should have come with instructions on how to install it.

In short it would have to be copied to lib/modules/<kernel_version>/kernel/net/<appropriate_subdirectory>
 
1 members found this post helpful.
Old 08-22-2015, 02:10 PM   #3
maciek1988
LQ Newbie
 
Registered: Aug 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks. I also know of this page. What should I do?
 
Old 08-23-2015, 03:10 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
For starters, that ko must be built for the same exact kernel version as installed on that stick
As goumba stated, it has to be built for that system. A ko file is a driver that is specifically tuned for the host system, either it's built on a similar system and you can try to "paste-n-copy or it is not, and you'll have to build it...
Basically it (as goumba suggested between the lines) involves getting the source code of the driver, unpacking it and building it. And, indeed, a "legit" bundle wil have all the credentials and instructions...and source is at any rate safer to use anyway...
So basically...you'll ahve to learn how to compile/build from source...eh, welcome to Linux, I'd say
Thor
Edit : maybe hovering a bit beyond the scope of what's being asked, still, this article could help too...
More edit : welcome to LQ!

Last edited by ButterflyMelissa; 08-23-2015 at 03:14 AM. Reason: welcoming a new member
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install USB wifi adapter driver? Bhanu999 Linux - Software 14 09-04-2014 10:37 AM
USB Wifi Adapter does not work in Ubuntu Linuxplayer2300 Linux - Hardware 8 03-22-2012 08:14 PM
LXer: How to install the Pronet Wifi Adapter on Ubuntu LXer Syndicated Linux News 0 08-07-2011 06:33 PM
[SOLVED] Ubuntu driver for SMCWUSB-N2 WIFI adapter not working. Alternatives? alegre Linux - Networking 9 07-25-2010 05:14 AM
The easiest way to install Nvidia driver under RedHat suro Linux - Software 0 09-22-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration