forked from dect/dedected
1
0
Fork 0
dedected.org DECT (kismet, com-on-air-cs, metasploit, wireshark)
Go to file
Martin Hauke e8cfb775e7 HACK: Use "0xDE" instead of "0xDEC" for the major number
Workaround the issues that the com_on_air_cs.ko kernel module could not be loaded:

insmod com_on_air_cs.ko
-> insmod: ERROR: could not insert module com_on_air_cs.ko: Invalid parameters

dmesg
-> CHRDEV "com_on_air_cs" major requested (3564) is greater than the maximum (511)

CHRDEV_MAJOR_MAX is set to "512" in the kernel
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/fs.h
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/fs/char_dev.c

com_on_air_cs uses 0xDEC (int 3564) which is greater than this maximum.
 -> Workaround: Use 0xDE (int  222) instead.

This already conflicts with a reserved (but probably not widely used) allocation:
https://www.kernel.org/doc/Documentation/admin-guide/devices.txt

Real fix:
* Use Dynamic Major Number allocation instead of assigning a static one.
2023-12-16 14:49:30 +01:00
com-on-air_cs-linux HACK: Use "0xDE" instead of "0xDEC" for the major number 2023-12-16 14:49:30 +01:00
kismet-dect Update to kismet release default dir (to match kismet release plugins) 2009-06-03 18:20:02 +00:00
kismet-dect-v2 Enhanced gps support 2009-11-22 11:41:51 +00:00
metasploit-dect git-svn-id: https://dedected.org/svn/trunk@80 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624 2009-02-24 16:49:39 +00:00
wireshark-dect initial commit for dect plugin based on wireshark-1.0.5 2008-12-29 00:48:27 +00:00