Kismet Wireless

Kismet Forums

 

Posted by:jmatt
Subject:Problems with Orinoco (Hermes 1) and 2.6.17.4 kernel
Date:03:47:49 02/08/2006

> > c) Trying to compile the driver, has an error:
> >
> > [root@sdg01 orinoco-0.13-dragorn-2.6.17]# make
> > make -C /usr/src/kernels/2.6.17-1.2157_FC5-i686 M=/usr/src/orinoco-0.13-dragorn-2.6.17 modules
> > make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686'
> > /usr/src/orinoco-0.13-dragorn-2.6.17/orinoco.h:194: aviso: se ignora el atributo ‘packed’ para el campo de tipo ‘char[16]’
> > /usr/src/orinoco-0.13-dragorn-2.6.17/orinoco_cs.c: En la función ‘orinoco_cs_detach’:
> > /usr/src/orinoco-0.13-dragorn-2.6.17/orinoco_cs.c:158: error: declaración implícita de la función ‘free_orinocodev’
> > make[2]: *** [/usr/src/orinoco-0.13-dragorn-2.6.17/orinoco_cs.o] Error 1
> > make[1]: *** [_module_/usr/src/orinoco-0.13-dragorn-2.6.17] Error 2
> > make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686'
>
> Sounds like redhat broke their kernels.
>
> I have no suggestions. I don't run redhat, and have no interest in doing so.
>
> -m

I added the template for free_orinocodev to the end of orinoco.h, and it compiled and executed OK - kismet came up

--- orinoco.h.orig 2006-08-01 20:43:25.000000000 -0700
+++ orinoco.h 2006-08-01 19:19:06.000000000 -0700
@@ -320,4 +320,5 @@
void orinoco_int_rxmonitor( struct orinoco_private *dev, uint16_t rxfid, int len,
struct hermes_rx_descriptor *rxdesc, struct ieee802_11_hdr *hdr);

+void free_orinocodev(struct net_device *dev);
#endif /* _ORINOCO_H */


And the tarfile was missing hermes.conf...


Reply to this message