LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2007, 05:16 PM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
I want my NIC driver to be a .deb package


I've never done anything like this before, is it possible?

1) I get the .tar.gz source file for the drivers
2) I compile it for my 2.6.18-5-686 kernel
3) I repackage it as .deb so that I can install it without a kernel source in the future?

Thanks.

My internet is screwed up, last time I didn't need NIC and it connected randomly at some point for no given reason, guess I'm just hoping it does it again because I really need an internet connection to continue... because my nvidia drivers NEED to download the source themselves and compile it.

Last edited by Virtuality; 12-14-2007 at 05:17 PM.
 
Old 12-14-2007, 05:22 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not konowing the nic and involved I assume it just builds one module. That file can be saved to your /lib/modules/kernel-version and place say under extra. Then run the command depmod -a to rebuild the system.map so you can use modprobe or call from modules.conf or modprobe.conf file. If not then using insmod command to the location of the module plus its extension.

Brian
 
Old 12-14-2007, 05:37 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"3) I repackage it as .deb so that I can install it without a kernel source in the future?"

The binary driver will be kernel version dependent. If you change kernels then you will have to compile the driver again against the new kernel source.

-------------------
Steve Stites
 
  


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
Linux 2.6.20 deb package available nx5000 Debian 4 02-09-2007 03:08 AM
How to make deb package chrisstooss Debian 6 09-16-2005 05:21 PM
the last installed deb package, how ? ag2uki Debian 7 08-15-2005 07:44 AM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 06:39 PM
help with deb package on Xandros 3.0 xiongnu Debian 2 06-08-2005 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 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