GithubHelp home page GithubHelp logo

corneal64 / realtek-usb-wireless-adapter-drivers Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 17.0 3.54 MB

Realtek USB Wireless Adapter Drivers [0bda:f179] (Kernel 4.15.x ~ 5.9.x)

License: GNU General Public License v3.0

Makefile 0.14% C 94.46% C++ 5.08% Objective-C 0.32%
0bda arm arm-devices arm-drivers arm64 kernel obdaf179 raspberry-pi raspberry-pi-3 raspberrypi rtl8188fu wifi wireless wireless-adapter

realtek-usb-wireless-adapter-drivers's People

Contributors

corneal64 avatar upanasiuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

realtek-usb-wireless-adapter-drivers's Issues

Where are the product IDs in this driver?

I'd like to see if I can add product f192 to the driver at least as a test. Googling suggests this driver is the right one.

[  165.370447] rtl8188fu: loading out-of-tree module taints kernel.

[  165.421012] =======================================================
[  165.421019] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[  165.421025] =======================================================
[  165.421032] Realtek 8188FU USB WiFi driver (Powered by Rockchip) init.
[  165.421039] RTL871X: module init start
[  165.421047] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[  165.421165] usbcore: registered new interface driver rtl8188fu
[  165.421172] RTL871X: module init ret=0

Support for future kernel versions

Hi, thanks so much for this great solution, i would like to know what do we need to do to have support and get working this driver for future kernel versions.

Today i tried with 5.3.0-050300-generic in ubuntu disco and i got that this kernel is not supported.

Thanks in advance

rtl8188fu : usb_write_port, status=-22

Hi,
I'm running archlinux arm on a rpi4 board ( kernel 4.19.106). I get always this message from dmesg :
rtl8188fu : usb_write_port, status=-22 on every iw event.
The same driver/configuration is working good on PC (fedora 34 . kernel 5.10)
Regards

LV-UW06 Wireless USB Adapter not detecting in Ubuntu 20.04 LTS in Desktop

I want to use Wireless USB Adapter for connect wifi in my desktop.

I have attached photo of Wireless USB Adapter and my ubuntu os information.

Can't find wifi drivers for 0bda:f179 Realtek Semiconductor Corp

I tried with your suggestion but not working really need help

drivers are not working for me somehow it shows icon off wifi but when i am click on Select network nothing is visible.


lsusb result

hp@HP-Computer:~$ lsusb
Bus 002 Device 004: ID 18d1:4ee2 Google Inc. Nexus Device (debug)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:f179 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


iwconfig result
hp@HP-Computer:~$ iwconfig
eno1 no wireless extensions.

lo no wireless extensions.

wlx00e0222cf986 unassociated Nickname:"WIFI@REALTEK"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


hp@HP-Computer:~$ sudo lshw -class network
[sudo] password for hp: 
  *-network                 
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection (Lewisville)
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 04
       serial: 08:2e:5f:11:1f:48
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=192.168.0.103 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:28 memory:fe400000-fe41ffff memory:fe428000-fe428fff ioport:f080(size=32)
  *-network
       description: Wireless interface
       physical id: 2
       bus info: usb@1:1.5
       logical name: wlx00e0222cf986
       serial: 00:e0:22:2c:f9:86
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8188fu multicast=yes wireless=unassociated

enter image description here

enter image description here

enter image description here

enter image description here

Not compiling on Ubuntu 22.04

Hello
,tried to install thos one on the current Ubuntu version, but it fails with:

sudo dkms install rtl8188fu/1.0
...
Error! Bad return status for module build on kernel: 5.15.0-33-generic (x86_64)
/var/lib/dkms/rtl8188fu/1.0/build/make.log shows:

/var/lib/dkms/rtl8188fu/1.0/build/core/rtw_br_ext.c:25:10: fatal error: net/ipx.h: Datei oder Verzeichnis nicht gefunden
25 | #include <net/ipx.h>

Don't connect

I followed the instructions and everything was fine, but the connection never completes. I don't have any clue what's happen.

I can't build

I have 5.9.0-kali1-amd64
and the problem occurs when I execute : sudo dkms build rtl8188fu/1.0
The whole message is :

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.9.0-kali1-amd64.......................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.9.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/rtl8188fu/1.0/build/make.log for more information.

Additionally I have made a change in the make file for the monitor mode as you suggested in a previous issue.

files
make.log

Driver Build is failing

Driver Build is failing with the below errors, any help?

XXXX@XXXX~/Documents/Realtek-USB-Wireless-Adapter-Drivers$ sudo dkms build rtl8188fu/1.0

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.4.0-1022-raspi...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8188fu: 1.0 not found
Error! Bad return status for module build on kernel: 5.4.0-1022-raspi (armv7l)
Consult /var/lib/dkms/rtl8188fu/1.0/build/make.log for more information.

XXXX@XXXX:~/Documents/Realtek-USB-Wireless-Adapter-Drivers$ cat /var/lib/dkms/rtl8188fu/1.0/build/make.log
DKMS make.log for rtl8188fu-1.0 for kernel 5.4.0-1022-raspi (armv7l)
Thursday 19 November 2020 01:16:35 AM IST
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/5.4.0-1022-raspi/build M=/var/lib/dkms/rtl8188fu/1.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1022-raspi'
Makefile:698: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7l/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1022-raspi'
make: *** [Makefile:470: modules] Error 2

Please, add monitor mode.

after: "sudo airmon-ng start wlx00e0202ccd43"

phy1 wlx00e0202ccd43 rtl8188fu Realtek Semiconductor Corp.
Interface 15mon is too long for linux so it will be renamed to the old style (wlan#) name.

ERROR adding monitor mode interface: command failed: Operation not supported (-95)
(mac80211 station mode vif disabled for [phy1]wlx00e0202ccd43)

Build fails on 5.8.12

sudo dkms build rtl8188fu/1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.12-arch1-1.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.12-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl8188fu/1.0/build/make.log for more information.

the build log:

DKMS make.log for rtl8188fu-1.0 for kernel 5.8.12-arch1-1 (x86_64)
Wed Sep 30 08:01:06 PM EDT 2020
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.12-arch1-1/build M=/var/lib/dkms/rtl8188fu/1.0/build  modules
make[1]: Entering directory '/usr/lib/modules/5.8.12-arch1-1/build'
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl8188fu/1.0/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8188fu/1.0/build/core/rtw_mlme_ext.c:1187:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1187 |    if(check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |      ^
/var/lib/dkms/rtl8188fu/1.0/build/core/rtw_mlme_ext.c:1192:3: note: here
 1192 |   case WIFI_ASSOCREQ:
      |   ^~~~
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_br_ext.o
In file included from /var/lib/dkms/rtl8188fu/1.0/build/include/drv_types.h:82,
                 from /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_br_ext.c:32:
/var/lib/dkms/rtl8188fu/1.0/build/include/rtw_security.h:241:8: error: redefinition of ‘struct sha256_state’
  241 | struct sha256_state {
      |        ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
                 from ./include/net/sock.h:59,
                 from ./include/net/inet_sock.h:22,
                 from ./include/net/ip.h:27,
                 from /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_br_ext.c:24:
./include/crypto/sha.h:84:8: note: originally defined here
   84 | struct sha256_state {
      |        ^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/rtl8188fu/1.0/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:1752: /var/lib/dkms/rtl8188fu/1.0/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.8.12-arch1-1/build'
make: *** [Makefile:470: modules] Error 2

Trying to install on a RockPiS, getting following error.

Good day,

I get the following error:

Error! echo
Your kernel headers for kernel 4.4.143-57-rockchip-g4b8d0571d76e cannot be found at
/lib/modules/4.4.143-57-rockchip-g4b8d0571d76e/build or /lib/modules/4.4.143-57-rockchip-g4b8d0571d76e/source.
dietpi@DietPi:~/Realtek-USB-Wireless-Adapter-Drivers$

when trying to run this command: "sudo dkms build rtl8188fu/1.0"

Any advice? Thanks,

-J

ARM build support

This doesn't work out-of-the-box for ARM arch. On a raspberrry pi zero (armv6l) I had to change line 404 of Makefile from

SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)

to

SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/armv6l/arm/)

FWIW I didn't submit a PR as this change isn't general enough and I've only tested on one hardware platform.

Hope this helps

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.