Wednesday, August 14, 2013

How to install Alfa Network card on Matriux Krypton and later

This is just an experimental solution and been worked around with other Linux groups

extract the drivers for kernel 3.0+

edit the following files:

Quote
driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h
driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_io.h
and search for the
Quote
#include for smp_lock.h
(one in each file). Comment out or delete the line and save the files.


Add

Code:
void daemonize(char *, char *);
just before these lines:

Code:
inline static void thread_enter(void *context)
{
#ifdef PLATFORM_LINUX
    //struct net_device *pnetdev = (struct net_device *)context;
    //daemonize("%s", pnetdev->name);
    daemonize("%s", "RTKTHREAD");
    allow_signal(SIGTERM);
#endif
}

No comments:

Post a Comment