LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-29-2006, 05:47 AM   #1
supermyself
LQ Newbie
 
Registered: May 2005
Posts: 17

Rep: Reputation: 0
How to write a driver for wnic in linux?


I have never write a driver.
Can any guy introduce me some forums ?
Thx a lot!
 
Old 03-29-2006, 06:34 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Any particular reason?

Do you have a network card that doesn't have an existing driver or do you just want a challenge?

You could take a look at Ndiswrapper which will allow you to use the existing windows driver under linux.
 
Old 03-30-2006, 06:27 AM   #3
supermyself
LQ Newbie
 
Registered: May 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I want to write a drive for wnic so that the card can send any packet I want to send.

thx
 
Old 03-30-2006, 08:15 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Among the 3 class of drivers, I would say that the network drivers are the hardest to code/debug but if you're really interested, have a look here:

http://lwn.net/images/pdf/LDD3/ch17.pdf
http://lwn.net/images/pdf/LDD3/

If its for Linux 2.0,2.2,2.4 then you probably should look here:
http://www.xml.com/ldd/chapter/book/ch14.html
I used this one to code a network driver, there is some information but it's not sufficent. You can also look directly at the kernel source (the best documentation)

In any case, you will need information for your chipset : registrer, GPIO,... which is not always available and then there is no luck

Happy coding
 
  


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 write a driver -> any guide? Itachi Linux - Hardware 3 06-04-2005 05:21 AM
Windows driver to read/write Linux file system bmccurdy General 3 08-23-2004 05:06 PM
how to write a device driver raghu mitra Linux - Software 1 07-22-2004 02:26 PM
how to write a device driver dummyagain Programming 3 10-20-2003 08:36 AM
Help! Onbooard Geforce2/Linksys WNIC ( Asus A7N266 MoBo and a WMP11 7.2 WNIC OmegaNine Slackware 2 02-13-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:29 AM.

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