Not able to connect to wifi via usb wifi adabter(RTL8188fu)

dahiya

New Member
Credits
28
Dear All,
I am using fedora 32 with 5.8.4-200.fc32.x86_64 kernel version.

I have a usb wifi adapter,
Bus 001 Device 005: ID 0bda:f179 Realtek Semiconductor Corp.

i have install rtl8188fu driver for it. Details are below....

[[email protected] ~]# modinfo rtl8188fu
filename: /lib/modules/5.8.4-200.fc32.x86_64/extra/rtl8188fu.ko.xz
version: v4.3.23.6_20964.20170110
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
firmware: rtlwifi/rtl8188fufw.bin
srcversion: F8BA308F81BCFB7776884E6
alias: usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin*
depends: cfg80211
retpoline: Y
name: rtl8188fu
vermagic: 5.8.4-200.fc32.x86_64 SMP mod_unload
parm: rtw_ips_mode:The default IPS mode (int)
parm: rtw_usb_rxagg_mode:int

But whenever i tried to connect with my mobile via wifi. its show error "Connection Faild"
i am sending dmesg log....

[[email protected] ~]# dmesg -HkL
[Sep 8 11:34] RTL871X: cfg80211_rtw_scan(wlp0s26u1u4)
[ +0.000004] RTL871X: LeaveAllPowerSaveMode(wlp0s26u1u4): bSurpriseRemoved=_TR>
[ +0.000001] RTL871X: _rtw_pwr_wakeup call ips_leave....
[ +0.000002] RTL871X: ==>ips_leave cnts:19
[ +0.000001] RTL871X: ===> rtw_ips_pwr_up..............
[ +0.000004] RTL871X: ===> ips_netdrv_open.........
[ +0.051105] RTL871X: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
[ +0.000002] RTL871X: rtl8188fu_hal_init in 51ms
[ +0.000001] RTL871X: rtw_hal_init: hal__init fail
[ +0.000001] RTL871X: -ips_netdrv_open - drv_open failure, bup=1
[ +0.000001] RTL871X: <=== rtw_ips_pwr_up.............. in 51ms
[ +0.000001] RTL871X: nolinked power save leave
[ +0.000001] RTL871X: ==> ips_leave.....LED(0x00000000)...
[ +0.000001] RTL871X: ======> ips_leave fail.............
[ +14.953911] RTL871X: cfg80211_rtw_scan(wlp0s26u1u4)
[ +0.000003] RTL871X: LeaveAllPowerSaveMode(wlp0s26u1u4): bSurpriseRemoved=_TR>
[ +0.000001] RTL871X: _rtw_pwr_wakeup call ips_leave....
[ +0.000003] RTL871X: ==>ips_leave cnts:20
[ +0.000000] RTL871X: ===> rtw_ips_pwr_up..............
[ +0.000026] RTL871X: ===> ips_netdrv_open.........
[ +0.051004] RTL871X: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
[ +0.000002] RTL871X: rtl8188fu_hal_init in 51ms
[ +0.000001] RTL871X: rtw_hal_init: hal__init fail
 


dos2unix

Well-Known Member
Credits
2,128
Ahh... the dreaded realTek chipset, on a Redhat based OS.

The fix, isn't real trivial or for the faint hearted.

First get some dev tools. You'll either have to su to root or use sudo for just about all of this.

dnf group install "C Development Tools and Libraries"

dnf install kernel-headers kernel-modules kernel-devel
dnf install NetworkManager-wifi (if not already installed)

Optional: but highly recommended, install the rpmfusion repos.
then...

dnf install akmod-wl

You'll need to "git" the realTek driver.

git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git

cd rtlwifi_new/
make install
modprobe rtl8723de ant_sel=1
modprobe rtl8723de ant_sel=1
vi /etc/modprobe.d/rtl8723de.conf
options rtl8723de ant_sel=1 - to add this line in conf file

Reboot.

Depending on which model you have, you will have to repeat this every time your kernel updates.
(in Fedora, that can be every week or two). For this reason, I tend to run intel based
wifi chipsets.
 

dos2unix

Well-Known Member
Credits
2,128
If your driver is installed (and working). Try this from the command line.

nmcli dev wifi list

If you have lots of close neighbors, this list can be long. But you should see the SSID of your network.
 

KGIII

Active Member
Credits
1,259
When it comes to Linux, let's just say that there are tens of thousands of complaints with regards to RealTek wireless devices.

There's a fairly simple solution and that solution is to avoid them like the plague. In fairness, they're sometimes the chipset inside of a differently branded device.

Go to NewEgg, or whatever site you prefer, and look in wifi adapters - and add Linux to your search terms. There are tons of devices, many sub $15 USD, that work just fine. I got a nice one for like $10, dual antenna and has a stand or can be plugged straight into a USB port. Works like a champ and required zero muss or fuss. I just plugged it in.
 


Members online


Latest posts

Top