Fix the continues auto-disconnect wireless issue on Ubuntu

The wireless card in my laptop is RTL8191SEvB. In Linux (no matter I use is Gentoo or Ubuntu), the default kernel module is r8192se_pci. The detail can be retrieved by:

1
2
3
4
5
6
$ lspci -v
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. Device e020
.....
Kernel driver in use: rtl819xSE
Kernel modules: r8192se_pci

Although it works but I also encounter a problem that the network connection will disconnect automatic and continuously. To overcome this issue, from the reference: Can’t get Realtek RTL8191SEvB wireless adapter to work, the solution is easy. What we should do is adding a parameter while probing module. The command is:

1
2
$ sudo rmmod r8192se_pci
$ sudo modprobe r8192se_pci hwwep=0

And we can set up as a global module option in system, that is:

1
$ sudo echo "options r8192se_pci hwwep=0" > /etc/modprobe.d/r8192se_pci.conf

And the options will be added while module start-up.
Note: This solution is in test by myself.

Leave a Reply

Your email address will not be published. Required fields are marked *