解决RTL8723BE网卡Linux上WIFI信号信号差的问题

一、问题描述

我电脑一直装这双系统,遇到一个问题就是:在WIndows 10上WIFI信号正常,但是在Linux上只接收到几个无线网络的信息,并且很微弱。曾尝试过多个Linux系统,如Ubuntu、Linux Mint、Deepin等等,都无济于事。

二、解决办法

1.原因:

于是在网上寻求帮助,发现网友也遇到这个问题,现在终于解决了这个问题!问题在于当前的操作系统配备的无线网卡的参数为省电节能模式,信号强度不行。需要修改参数来重启下wifi,就可以了。

2.解决办法:

(1)输入lspci 命令显示系统中所有PCI总线设备或连接到该总线上的所有设备的工具:

pan@pan-PC:~$ lspci

可以看到以下信息

当前网卡型号为型号为RTL8723BE,网上说RTL8723系列的网卡都有这个问题,现在我们需要修改一下参数即可.

(2)我们使用modinfo rtl8723be查看一下网卡的参数信息:

pan@pan-PC:~$ modinfo rtl8723be

看到以下信息

ips和fwlps是用来控制节能的,ant_sel是用来控制信号强度的。现在需要修改这几个参数的默认值。

(3)使用sudo nano /etc/modprobe.d/rtl8723be.conf打开配置文件

sudo nano /etc/modprobe.d/rtl8723be.conf

并且在文件中追加以下内容:

options rtl8723be debug=1
options rtl8723be disable_watchdog=N
options rtl8723be fwlps=Y
options rtl8723be ips=Y
options rtl8723be msi=N
options rtl8723be swenc=N
options rtl8723be swlps=N
options rtl8723be ant_sel=2

如图所示

完成之后按Ctrl+O后按回车保存,再按Ctrl+X退出。

(4)输入以下命令重启之后信号就变强了,可以看到搜到更多无线网信号了

sudo modprobe -r rtl8723be
sudo modprobe rtl8723be

 

发布了42 篇原创文章 · 获赞 61 · 访问量 5万+
展开阅读全文

linux rtl8189 wifi模块配制

12-05

我的嵌入式开发板是TQ210,板载S5PV210芯片,WIFI模块是RTL8189ES,SDIO接口,模块驱动是RTL8189ES_linux_v4.3.18.1_15373.20151005。 插入WIFI模块提示以下信息: ``` [root@$zjh: 34th_rtl8189es]# mmc3: new high speed SDIO card at address 0001 ``` 安装驱动,提示以下信息: ``` [root@$zjh: 34th_rtl8189es]# insmod 8189es.ko RTL871X: module init start RTL871X: rtl8189es v4.3.18.1_15373.20151005 RTL871X: build time: Dec 4 2017 10:59:30 RTL871X: CHIP TYPE: RTL8188E RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1 RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0) RTL871X: EEPROM type is E-FUSE RTL871X: =>_CardEnable RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1 RTL871X: <=_CardEnable RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK RTL871X: =>_InitPowerOn_8188ES RTL871X: =>_CardEnable RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !! RTL871X: <=_CardEnable RTL871X: <=_InitPowerOn_8188ES bFWReady == _FALSE call reset 8051... RTL871X: =====> _8051Reset88E(): 8051 reset success . RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0 RTL871X: efuse_read_phymap_from_txpktbuf len:162, lenbak:162, aaa:162, aaabak:162 RTL871X: efuse_read_phymap_from_txpktbuf read count:160 RTL871X: EEPROM ID=0x8129 RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0) RTL871X: ### PS params=> power_mgnt(2),usbss_enable(0) ### RTL871X: ======= Path 0, Channel 1 ======= RTL871X: Index24G_CCK_Base[0][1] = 0x2c RTL871X: Index24G_BW40_Base[0][1] = 0x29 RTL871X: ======= Path 0, Channel 2 ======= RTL871X: Index24G_CCK_Base[0][2] = 0x2c RTL871X: Index24G_BW40_Base[0][2] = 0x29 RTL871X: ======= Path 0, Channel 3 ======= RTL871X: Index24G_CCK_Base[0][3] = 0x2c RTL871X: Index24G_BW40_Base[0][3] = 0x29 RTL871X: ======= Path 0, Channel 4 ======= RTL871X: Index24G_CCK_Base[0][4] = 0x2c RTL871X: Index24G_BW40_Base[0][4] = 0x29 RTL871X: ======= Path 0, Channel 5 ======= RTL871X: Index24G_CCK_Base[0][5] = 0x2c RTL871X: Index24G_BW40_Base[0][5] = 0x29 RTL871X: ======= Path 0, Channel 6 ======= RTL871X: Index24G_CCK_Base[0][6] = 0x2c RTL871X: Index24G_BW40_Base[0][6] = 0x29 RTL871X: ======= Path 0, Channel 7 ======= RTL871X: Index24G_CCK_Base[0][7] = 0x2c RTL871X: Index24G_BW40_Base[0][7] = 0x29 RTL871X: ======= Path 0, Channel 8 ======= RTL871X: Index24G_CCK_Base[0][8] = 0x2c RTL871X: Index24G_BW40_Base[0][8] = 0x29 RTL871X: ======= Path 0, Channel 9 ======= RTL871X: Index24G_CCK_Base[0][9] = 0x2c RTL871X: Index24G_BW40_Base[0][9] = 0x29 RTL871X: ======= Path 0, Channel 10 ======= RTL871X: Index24G_CCK_Base[0][10] = 0x2c RTL871X: Index24G_BW40_Base[0][10] = 0x29 RTL871X: ======= Path 0, Channel 11 ======= RTL871X: Index24G_CCK_Base[0][11] = 0x2c RTL871X: Index24G_BW40_Base[0][11] = 0x29 RTL871X: ======= Path 0, Channel 12 ======= RTL871X: Index24G_CCK_Base[0][12] = 0x2c RTL871X: Index24G_BW40_Base[0][12] = 0x29 RTL871X: ======= Path 0, Channel 13 ======= RTL871X: Index24G_CCK_Base[0][13] = 0x2c RTL871X: Index24G_BW40_Base[0][13] = 0x29 RTL871X: ======= Path 0, Channel 14 ======= RTL871X: Index24G_CCK_Base[0][14] = 0x2c RTL871X: Index24G_BW40_Base[0][14] = 0x29 RTL871X: ======= TxCount 0 ======= RTL871X: CCK_24G_Diff[0][0]= 0 RTL871X: OFDM_24G_Diff[0][0]= 1 RTL871X: BW20_24G_Diff[0][0]= 1 RTL871X: BW40_24G_Diff[0][0]= 0 RTL871X: EEPROMRegulatory = 0x0 RTL871X: mlmepriv.ChannelPlan = 0x08 RTL871X: CrystalCap: 0x3f RTL871X: EEPROM Customer ID: 0x 0 RTL871X: Board Type: 0x 0 RTL871X: ThermalMeter = 0x1a RTL871X: pHalData->EEPROMRFGainVal=0 RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00 RTL871X: <==== ReadAdapterInfo8188ES in 260 ms RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x08,Regulation(2_4G/5G):0x03,0x03 RTL871X: init_channel_set ChannelPlan ID 8 Chan num:14 RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1 RTL871X: rtw_macaddr_cfg mac addr:ac:a2:13:5f:f0:30 RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0 RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=ac:a2:13:5f:f0:30 RTL871X: module init ret=0 [root@$zjh: 34th_rtl8189es]# ``` 打开WLAN0,提示以下信息: ``` [root@$zjh: 34th_rtl8189es]# ifconfig wlan0 up RTL871X: +871x_drv - drv_open, bup=0 RTL871X: +rtl8188es_hal_init RTL871X: FW does not exit before power on!! RTL871X: =>_InitPowerOn_8188ES RTL871X: =>_CardEnable RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !! RTL871X: <=_CardEnable RTL871X: <=_InitPowerOn_8188ES RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same. RTL871X: PowerOnCheck: 0x1B8 test Pass. RTL871X: Power on ok! RTL871X: _init_available_page_threshold(): Enable Tx FIFO Page Threshold H:0x4f4f,N:0x4f4f,L:0x5454 RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414 RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005 RTL871X: =====> _8051Reset88E(): 8051 reset success . RTL871X: _FWFreeToGo: Polling FW ready OK! (20, 5ms), REG_MCUFWDL:0x000300c6 RTL871X: FWDL success. write_fw:1, 155ms ==> rtl8188e_iol_efuse_patch RTL871X: HalDetectPwrDownMode(): PDN=0 RTL871X: Set RF Chip ID to RF_6052 and RF type to 3. RTL871X: pDM_Odm TxPowerTrackControl = 1 RTL871X: DISABLE_BB_RF=0 RTL871X: IS_HARDWARE_TYPE_8188ES=1 RTL871X: -rtl8188es_hal_init RTL871X: rtl8188es_hal_init in 665ms RTL871X: wlan0Port-0 set opmode = 2 RTL871X: Using the default RF gain. RTL871X: MAC Address = ac:a2:13:5f:f0:30 RTL871X: -871x_drv - drv_open, bup=1 RTL871X: start rtl8188es_xmit_thread [root@$zjh: 34th_rtl8189es]# RTL871X: ==>rtw_ps_processor .fw_state(8) RTL871X: ==>ips_enter cnts:1 RTL871X: nolinked power save enter RTL871X: ===> rtw_ips_pwr_down................... RTL871X: ====> rtw_ips_dev_unload... RTL871X: =>rtl8188es_hal_deinit RTL871X: =>hal_poweroff_8188es RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0 RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0 RTL871X: <=hal_poweroff_8188es RTL871X: <=rtl8188es_hal_deinit RTL871X: <=== rtw_ips_pwr_down..................... in 15ms [root@$zjh: 34th_rtl8189es]# ``` 但是确找不到无线接入点,如下: ``` [root@$zjh: 34th_rtl8189es]# iwconfig wlan0 no wireless extensions. lo no wireless extensions. eth0 no wireless extensions. ``` 扫描信号的话,提示如下: ``` [root@$zjh: 34th_rtl8189es]# iwlist wlan0 scan wlan0 Interface doesn't support scanning. ``` 这是为什么啊,哪位大神给指点一下,谢谢。 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 创作都市 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览