Skip navigation.

Install Orinoco USB in Debian Etch

,

This document is based on ORiNOCO USB Unofficial Complex Support Page and The Linux ORiNOCO Driver

1. Download kernel source files and compile kernel from source

If you have a pre-build kernel image with your distribution and do not want to download
the whole kernel source tree and rebuild it, just install the necessary header files

  apt-get install linux-headers-$(uname -r)

Howto: build Linux kernel module against installed kernel w/o full kernel source tree

By installing header files, you end up having

  /lib/modules/2.6.16-2-686/build -> /usr/src/linux-headers-2.6.16-2-686

My kernel version is 2.6.16-2-686

2. Download from SVN branch of orinoco-usb:

svn co \
https://orinoco.svn.sourceforge.net/svnroot/orinoco/branches/usb orinoco

3. Go to newly created by SVN "orinoco" folder and do:

  make
  make install

All modules including orinoco-usb should be installed without problems.

My current gcc version is 4.1. However, the kernel is pre-build using gcc4.0, so I also
installed gcc4.0. "orinoco" build uses gcc4.0. To force the compiler version, add "CC=gcc-4.x" after the make.

Note: if "make" gives you complain about missing "compat.h", just create an empty "compat.h" file in the the "orinoco" directory


4. Enter orinoco/firmware/

  make ezusb

As root

  cp orinoco_ezusb_fw  orinoco_usb_fw.h /usr/lib/hotplug/firmware/ 

All done! You can insert your orinoco-usb device now!

3D acceleration of ATI card in DebianSetup Internet Gateway in Linux

Comments

Anonymous 27. May 2007, 15:07

WeeJeWel writes:

Hey there!
Thanks for your howto, but it's not working for me :( I'm getting this error.

---
make -C /usr/src/linux-headers-2.6.20-15-generic M=/home/emile/orinoco KERNELRELEASE=2.6.20-15-generic modules
make[1]: Map '/usr/src/linux-headers-2.6.20-15-generic' wordt binnengegaan
CC [M] /home/emile/orinoco/orinoco.o
/home/emile/orinoco/orinoco.c: In functie ‘orinoco_get_drvinfo’:
/home/emile/orinoco/orinoco.c:4287: fout: ‘struct net_device’ has no member named ‘dev’
/home/emile/orinoco/orinoco.c:4288: fout: ‘struct net_device’ has no member named ‘dev’
make[2]: *** [/home/emile/orinoco/orinoco.o] Fout 1
make[1]: *** [_module_/home/emile/orinoco] Fout 2
make[1]: Map '/usr/src/linux-headers-2.6.20-15-generic' wordt verlaten
make: *** [modules] Fout 2
---

Do you got a clue what i'm doing wrong? I have Kubuntu with kernel 2.6.20-15 and all headers, so that shouldn't be a problem :)

Thanks in advance!

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies