Всем доброго времени суток
Я новичок в Ubuntu, так что прошу заранее прощения за "тупые" вопросы.
Пользую 14.04 Десктоп для работы на ноуте. Для интереса и по-нужде решил попробовать взлом соседской "вафли" (благо у них безлимит) с помощью Aircrack-ng, который легко скачался и "вотыкнулся".
Тут встала проблема с адаптером wifi, точнее его драйвером, который надо каким-то образом "пропатчить".
Имею в наличии исправно работающий RTL8187B Wireless Adapter (Realtek Semiconductor Corp.).
Забавно, что PCI-E адаптер видится Ubuntu как usb-устройство.. ну не суть.
Далее на сайте Aircrack-ng посмотрел дровишки к своей вафле и скачал.
После прочтения ReadMe.txt стало вроде ясно, что делается в 2 тычка: ./makedrv ./wlan0up
Однако первый же тык выдал ошибки...
djangar@djangar-Satellite-L40:~/Загрузки/rtl8187b$ sudo ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/3.13.0-53-generic/build M=/home/djangar/Загрузки/rtl8187b/ieee80211 CC=gcc modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.13.0-53-generic'
CC [M] /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.o
In file included from /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:16:0:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211.h:1214:24: error: field ‘ps_task’ has incomplete type
struct tasklet_struct ps_task;
^
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac_rtl7b’:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:1679:3: error: implicit declaration of function ‘tasklet_schedule’ [-Werror=implicit-function-declaration]
tasklet_schedule(&ieee->ps_task);
^
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init_rtl7b’:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:2504:2: error: implicit declaration of function ‘tasklet_init’ [-Werror=implicit-function-declaration]
tasklet_init(&ieee->ps_task,
^
In file included from /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:16:0:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: At top level:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211.h:1434:37: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static [enabled by default]
return ((struct ieee80211_device *)netdev_priv(dev))->priv;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.o] Ошибка 1
make[1]: *** [_module_/home/djangar/Загрузки/rtl8187b/ieee80211] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.13.0-53-generic'
make: *** [modules] Ошибка 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/3.13.0-53-generic/build M=/home/djangar/Загрузки/rtl8187b/rtl8187 CC=gcc modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.13.0-53-generic'
CC [M] /home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.o
In file included from /home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.c:64:0:
/home/djangar/Загрузки/rtl8187b/rtl8187/r8187.h:75:27: fatal error: asm/semaphore.h: Нет такого файла или каталога
#include <asm/semaphore.h>
^
compilation terminated.
make[2]: *** [/home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.o] Ошибка 1
make[1]: *** [_module_/home/djangar/Загрузки/rtl8187b/rtl8187] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.13.0-53-generic'
make: *** [modules] Ошибка 2
djangar@djangar-Satellite-L40:~/Загрузки/rtl8187b$ sudo ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/3.13.0-53-generic/build M=/home/djangar/Загрузки/rtl8187b/ieee80211 CC=gcc modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.13.0-53-generic'
CC [M] /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.o
In file included from /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:16:0:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211.h:1214:24: error: field ‘ps_task’ has incomplete type
struct tasklet_struct ps_task;
^
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac_rtl7b’:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:1679:3: error: implicit declaration of function ‘tasklet_schedule’ [-Werror=implicit-function-declaration]
tasklet_schedule(&ieee->ps_task);
^
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init_rtl7b’:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:2504:2: error: implicit declaration of function ‘tasklet_init’ [-Werror=implicit-function-declaration]
tasklet_init(&ieee->ps_task,
^
In file included from /home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c:16:0:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.c: At top level:
/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211.h:1434:37: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static [enabled by default]
return ((struct ieee80211_device *)netdev_priv(dev))->priv;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/djangar/Загрузки/rtl8187b/ieee80211/ieee80211_softmac.o] Ошибка 1
make[1]: *** [_module_/home/djangar/Загрузки/rtl8187b/ieee80211] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.13.0-53-generic'
make: *** [modules] Ошибка 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/3.13.0-53-generic/build M=/home/djangar/Загрузки/rtl8187b/rtl8187 CC=gcc modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.13.0-53-generic'
CC [M] /home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.o
In file included from /home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.c:64:0:
/home/djangar/Загрузки/rtl8187b/rtl8187/r8187.h:75:27: fatal error: asm/semaphore.h: Нет такого файла или каталога
#include <asm/semaphore.h>
^
compilation terminated.
make[2]: *** [/home/djangar/Загрузки/rtl8187b/rtl8187/r8187_core.o] Ошибка 1
make[1]: *** [_module_/home/djangar/Загрузки/rtl8187b/rtl8187] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.13.0-53-generic'
make: *** [modules] Ошибка 2
Подскажите начинающему Убутоводу умную мыслю. Очень жду.