StackExchange! I have ubuntu 22.04 lts and a nettis wf2123 usb wifi adapter. I download driver from the nettis website but when i run sudo sh ./install.sh i get this error:
home/dmitriykalshnikov/Downloads/RTL8192EU_WF2123_WF2122/RTL8192EU_linux_v4.4.1_17696_BTCOEX20160412-0042.20160510/driver/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/dmitriykalshnikov/Downloads/RTL8192EU_WF2123_WF2122/RTL8192EU_linux_v4.4.1_17696_BTCOEX20160412-0042.20160510/driver/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/include/osdep_service_linux.h:273:15: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
273 | ptimer->data = (unsigned long)cntx;
| ^~
/home/dmitriykalshnikov/Downloads/RTL8192EU_WF2123_WF2122/RTL8192EU_linux_v4.4.1_17696_BTCOEX20160412-0042.20160510/driver/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/include/osdep_service_linux.h:274:9: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
274 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:297: /home/dmitriykalshnikov/Downloads/RTL8192EU_WF2123_WF2122/RTL8192EU_linux_v4.4.1_17696_BTCOEX20160412-0042.20160510/driver/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1907: /home/dmitriykalshnikov/Downloads/RTL8192EU_WF2123_WF2122/RTL8192EU_linux_v4.4.1_17696_BTCOEX20160412-0042.20160510/driver/rtl8192EU_linux_v4.4.1_17696.20160509_BTCOEX20160412-0042] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-71-generic'
make: *** [Makefile:1686: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
please help me install this driver!
ps: https://github.com/Mange/rtl8192eu-linux-driver
driver from here isn't work for me -- system after final reboot doesn't see my adapter