LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-08-2007, 05:55 PM   #1
Chinook06
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Rep: Reputation: 0
installing orinoco driver on debian etch


I installed debian etch on my notebook. It has orinoco driver 0.15. It dont support monitor mode. I want install driver from http://www.tzi.de/~plasmahh/orinoco.html. But when I write "make install"
Quote:
make -C /lib/modules/2.6.18-3-686/kernel/drivers/net/wireless SUBDIRS=/lib/modules/2.6.18-3-686/build/orinoco-0.13e-SN-15 modules
make[1]: Entering directory `/lib/modules/2.6.18-3-686/kernel/drivers/net/wireless'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.18-3-686/kernel/drivers/net/wireless'
make: *** [modules] Error 2
Where is error?
Where have I take source kernel?
Will I have to compile kernel?

Last edited by Chinook06; 01-08-2007 at 06:01 PM.
 
Old 01-08-2007, 06:09 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Why would you want to install an older driver than you already have?

I don't really understand your problem, but maybe one of these programs will help.
 
Old 01-08-2007, 06:15 PM   #3
Chinook06
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rickh
Why would you want to install an older driver than you already have?
I need orinoco card in monitor mode. I have orinoco cards with firmware 8.72 and with driver 0.15. That doesnt work in monitor mode.
 
Old 11-19-2007, 03:47 PM   #4
ronmuzzi
LQ Newbie
 
Registered: May 2007
Location: Michigan
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Here's a quick HowTo to get the Orinoco drivers to work on Debian Etch kernel 2.6.18 with the monitor mode for use with programs such as kismet. You need driver version 0.13e because version 0.15 doesn't support the monitor mode.

From a command prompt as the root user, download the driver orinoco-0.13e-SN-14.tar.bz2 from http://www.projectiwear.org/~plasmahh/orinoco.html and save in the /usr/src directory with something like this. (You could also do this with a web browser, but I like the command line):

Code:
cd /usr/src wget http://www.projectiwear.org/~plasmahh/orinoco-0.13e-SN-14.tar.bz2
Extract the archive, make, and install it:

Code:
tar xjvf orinoco-0.13e-SN-14.tar.bz2 cd orinoco-0.13e-SN-14 make
Ignore any warnings, but if you get errors, it may be because you don't have the kernel headers installed. In that case, do this:

Code:
aptitude install linux-kernel-headers
And then run the make command again. If it still fails, then you probably need a different version of the driver. Check the web page above and/or search the internet. There's many versions out there!

After a successful make, install it with:

Code:
make install
However, it may not install to the correct location! So force the correct install with:

Code:
cp *.ko /lib/modules/$( uname -r )/kernel/drivers/net/wireless/
Now you can reboot. (Yes, there's other ways to do this than rebooting, but rebooting confirms that the drivers will come up correctly each time!)

Check that everything is working with the command:

Code:
iwpriv eth0
You may need to use eth1 or whatever is appropriate for your card. If the "monitor" option is listed, then you've installed it ok! You can now run Kismet and other software that uses the monitor mode.

You're done! Enjoy!

In summary, there's three keys to get this to work correctly:
- the right driver version
- the kernel headers need to be installed
- the drivers need to be put in the correct directory
That's it!
 
Old 11-20-2007, 11:34 AM   #5
ronmuzzi
LQ Newbie
 
Registered: May 2007
Location: Michigan
Distribution: Debian
Posts: 5

Rep: Reputation: 0
P.S. You're not suppose to need to recompile the kernel, but I did do this to get it to work. (I was recompiling the kernel for other reasons anyway.)

You may need to install the kernel source to compile the orinoco modules even if you don't compile the kernel:

Code:
aptitude install linux-source-2.6.18
You may need to compile the kernel. See http://kernel-handbook.alioth.debian...ommon-building
for the steps to do this. When you run menuconfig, it's a good idea to first select "Load an Alternate Configuration File" and load the /boot/config-XXX file so that you start with the same options as your working system.

If you do recompile the kernel, reboot into the new kernel before you run "make" for the orinoco drivers.

You may also need to add the following to the CPPFLAGS in the orinoco Makefile (cf. the README.orinoco):

Code:
-DMODVERSIONS -include $(KERNEL_SRC)/include/linux/modversions.h
If you've already tried to "make" the orinoco packages, run the "make clean" command to remove any previous compiles, then run "make" again.
 
  


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
Best way to install ATI driver on Debian Etch? Crushing Belial Debian 10 09-19-2008 04:36 PM
ATI 200M fglrx driver How to (Debian Etch) android6011 Linux - Hardware 18 07-28-2007 11:10 AM
XGL and Nvidia driver Debian Etch fakie_flip Linux - Software 5 12-24-2006 07:17 AM
Help installing Debian Etch android6011 Debian 6 06-30-2006 04:30 AM
problem installing orinoco-usb-wlan driver on debian sarge Marc L. Linux - Hardware 1 01-12-2006 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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