Git Product home page Git Product logo

rtl8192eu_wifi_linux's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtl8192eu_wifi_linux's Issues

others dongles

It's not exactly a issue, but a question. Does it works with others dongles based on rtl8192eu like the DLink DWA 131 rev E?

error on build

hi,

i have a dlink dwa 131 ... and want to use on fedora 32 kernal 5.6.6-300.fc32.x86_64

when trying to compile ... bumped into the below error can you help ...

[M] /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o
/home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
72 | entry = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
| ^~~~
| |
| const struct file_operations *
In file included from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/../os_dep/linux/rtw_proc.h:18,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/osdep_intf.h:128,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/drv_types.h:104,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/**rtw_proc.c:17:
./include/linux/proc_fs.h:61:13: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations
61 | const struct proc_ops ,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

make[2]: *** [scripts/Makefile.build:268: /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o] Error 1
make[1]: *** [Makefile:1683: /home/kids/Downloads/rtl8192EU_WiFi_linux] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.6.6-300.fc32.x86_64'
make: *** [Makefile:1828: modules] Error 2
[root@desktop-old rtl8192EU_WiFi_linux]# uname -a
Linux desktop-old 5.6.6-300.fc32.x86_64 #1 SMP Tue Apr 21 13:44:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@desktop-old rtl8192EU_WiFi_linux]#

can you help ...

Errors occur during compilation. Help please.

┌──(root💀kali)-[~/rtl8192EU_WiFi_linux]
└─# make
/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-kali5-amd64/build M=/root/rtl8192EU_WiFi_linux modules
make[1]: вход в каталог «/usr/src/linux-headers-5.9.0-kali5-amd64»
/bin/sh: 1: bc: not found
CC [M] /root/rtl8192EU_WiFi_linux/core/rtw_cmd.o
In file included from /root/rtl8192EU_WiFi_linux/include/drv_types.h:78,
from /root/rtl8192EU_WiFi_linux/core/rtw_cmd.c:17:
/root/rtl8192EU_WiFi_linux/include/rtw_security.h:243:8: error: redefinition of ‘struct sha256_state’
243 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.9.0-kali5-common/include/linux/filter.h:24,
from /usr/src/linux-headers-5.9.0-kali5-common/include/net/sock.h:59,
from /usr/src/linux-headers-5.9.0-kali5-common/include/linux/tcp.h:19,
from /usr/src/linux-headers-5.9.0-kali5-common/include/linux/ipv6.h:88,
from /usr/src/linux-headers-5.9.0-kali5-common/include/net/addrconf.h:50,
from /root/rtl8192EU_WiFi_linux/include/osdep_service_linux.h:48,
from /root/rtl8192EU_WiFi_linux/include/osdep_service.h:47,
from /root/rtl8192EU_WiFi_linux/include/drv_types.h:27,
from /root/rtl8192EU_WiFi_linux/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.9.0-kali5-common/include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.9.0-kali5-common/scripts/Makefile.build:288: /root/rtl8192EU_WiFi_linux/core/rtw_cmd.o] Ошибка 1
make[2]: *** [/usr/src/linux-headers-5.9.0-kali5-common/Makefile:1799: /root/rtl8192EU_WiFi_linux] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.9.0-kali5-common/Makefile:185: __sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.9.0-kali5-amd64»
make: *** [Makefile:1828: modules] Ошибка 2

Drive does not compile under 5.7 / gcc issues as well

Hi guys,
I tried to compile the driver on
Linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/Linux

First issue: The gcc throws errors that I was able to fix with two switches in the Makefile.
gcc version 9.3.0 (Debian 9.3.0-15)

EXTRA_CFLAGS += -Wno-date-time        
EXTRA_CFLAGS += -Wno-uninitialized

The main issue are changes in the header files of the kernel that I'm not able to fix.
The changed data types:

/home/kali/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   72 |  entry = proc_create_data(name,  S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
      |                                                                       ^~~~
      |                                                                       |
      |                                                                       const struct file_operations *
In file included from /home/kali/rtl8192EU_WiFi_linux/include/../os_dep/linux/rtw_proc.h:18,
                 from /home/kali/rtl8192EU_WiFi_linux/include/osdep_intf.h:128,
                 from /home/kali/rtl8192EU_WiFi_linux/include/drv_types.h:104,
                 from /home/kali/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c:17:
/usr/src/linux-headers-5.7.0-kali1-common/include/linux/proc_fs.h:74:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
   74 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
      |                               ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.7.0-kali1-common/scripts/Makefile.build:272: /home/kali/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o] Error 1

Any idea / advice what happened here?
Any chance to get the driver comiled on newer kernel versions?

Thanks
Marcus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.