How to set parameters for Realtek wifi rtl8723
Solution 1:
Regarding your question for how to set parameters, you could use something like (=0 meaning disable, =1 meaning enable, and as Sneetsher mentions msi is disabled by default):
$ echo "options rtl8723be fwlps=0 ips=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
Regarding your WiFi problem, you could check out my answer to the question My wifi drops the connection after a few minutes realtek8723be
Solution 2:
Before you start, you will need to install sysfsutils
:
sudo apt-get update
sudo apt-get install sysfsutils
First, to show the options that are currently in use and the existing parameters, run the following command:
sudo systool -a -v -m rtl8723be | grep -A8 "Parameters:"
Under "Parameters:", you will see the available options and the existing parameters. Here is an example of that section:
Parameters:
debug = "1"
disable_watchdog = "N"
fwlps = "Y"
ips = "Y"
msi = "Y"
swenc = "N"
swlps = "N"
It appears that the msi option can be set to Y
or N
.
To set msi to off, you should run the following commands:
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be msi=N
Now, verify the change:
sudo systool -a -v -m rtl8723be | grep -A8 "Parameters:"
The output should now look like this:
Parameters:
debug = "1"
disable_watchdog = "N"
fwlps = "Y"
ips = "Y"
msi = "N"
swenc = "N"
swlps = "N"
To make this change permanent, you should create a file /etc/modprobe.d/rtl8723be.conf
. Run the following command:
sudo nano /etc/modprobe.d/rtl8723be.conf
Now, copy and paste the following into the file:
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
Press CTRL + o and then press ENTER to save the file. Press CTRL + x to exit nano.
Now you can make changes to this file to apply your desired settings. After you make changes to the file, run the following commands to apply the changes:
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be
Solution 3:
I'm using Ubuntu 14.04 with 14.10 kernel. It does work for me.
~$ sudo modprobe rtl8723be msi=0
~$ more /sys/module/rtl8723be/parameters/msi
N
~$ sudo modprobe -r rtl8723be
~$ sudo modprobe rtl8723be msi=1
~$ more /sys/module/rtl8723be/parameters/msi
Y
Same module version:
~$ modinfo rtl8723be
filename: /lib/modules/3.16.0-23-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
firmware: rtlwifi/rtl8723befw.bin
description: Realtek 8723BE 802.11n PCI wireless
license: GPL
author: Realtek WlanFAE <[email protected]>
author: PageHe <[email protected]>
srcversion: C94095C986767A931B924EF
Default is 0 for msi
so no need for it, but you should for ips=0 fwlps=0
Try with both modprobe
or insmod
.