drivers - How do I get a Realtek RTL8723BE wireless card to work? - Ask Ubuntu


i have installed ubuntu 15.04 on laptop rtl8723be wi-fi card. disconnecting network. have tried echo "options rtl8723be fwlps=n ips=n" | sudo tee /etc/modprobe.d/rtl8723be.conf didn't helped. can prevent wifi disconnecting? if upgrade kernel 4.x, help?

~$ lspci -knn | grep net -a2

09:00.0 network controller [0280]: realtek semiconductor co., ltd. rtl8723be pcie wireless network adapter [10ec:b723]     subsystem: hewlett-packard company device [103c:2231]     kernel driver in use: rtl8723be   ~$ rfkill list 0: hci0: bluetooth     soft blocked: yes     hard blocked: no 1: phy0: wireless lan     soft blocked: no     hard blocked: no   ~$ ifconfig && iwconfig && route -n && ping -c 1 google.com eth0      link encap:ethernet  hwaddr 38:63:bb:cd:4a:7e             broadcast multicast  mtu:1500  metric:1           rx packets:3 errors:0 dropped:0 overruns:0 frame:0           tx packets:53 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:752 (752.0 b)  tx bytes:8445 (8.4 kb)  lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:65536  metric:1           rx packets:3870 errors:0 dropped:0 overruns:0 frame:0           tx packets:3870 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:314613 (314.6 kb)  tx bytes:314613 (314.6 kb)  wlan0     link encap:ethernet  hwaddr c0:38:96:6d:c4:83             inet addr:192.168.1.205  bcast:192.168.1.255  mask:255.255.255.0           inet6 addr: fe80::c238:96ff:fe6d:c483/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:15240 errors:0 dropped:0 overruns:0 frame:0           tx packets:14627 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:14410285 (14.4 mb)  tx bytes:2192744 (2.1 mb)  eth0      no wireless extensions.  wlan0     ieee 802.11bgn  essid:"dir-615"             mode:managed  frequency:2.437 ghz  access point: 00:90:4c:08:00:0d              bit rate=150 mb/s   tx-power=20 dbm              retry short limit:7   rts thr=2347 b   fragment thr:off           power management:off           link quality=70/70  signal level=-22 dbm             rx invalid nwid:0  rx invalid crypt:0  rx invalid frag:0           tx excessive retries:0  invalid misc:186   missed beacon:0  lo        no wireless extensions.  kernel ip routing table destination     gateway         genmask         flags metric ref    use iface 0.0.0.0         192.168.1.1     0.0.0.0         ug    400    0        0 wlan0 169.254.0.0     0.0.0.0         255.255.0.0     u     1000   0        0 wlan0 192.168.1.0     0.0.0.0         255.255.255.0   u     0      0        0 wlan0 ping google.com.dlink (172.26.136.19) 56(84) bytes of data. 64 bytes 19.136.26.172.in-addr.arpa (172.26.136.19): icmp_seq=1 ttl=249 time=102 ms  --- google.com.dlink ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 102.547/102.547/102.547/0.000 ms 

first of remove settings made.

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

if not have file, nothing wrong.

then install driver

sudo add-apt-repository ppa:hanipouspilot/rtlwifi sudo apt-get update sudo apt-get install rtlwifi-new-dkms 

reboot , enjoy

if still have problems (low signal), may need add option:

echo "options rtl8723be ant_sel=2"  | sudo tee /etc/modprobe.d/rtl8723be.conf 

then reboot again.

expanation made chili555 in this answer.

this same driver https://github.com/lwfinger/rtlwifi_new, rock.new_btcoex branch packed dkms.

you can see @ https://github.com/hanipouspilot/rtlwifi_new/tree/rock.new_btcoex

if need bluetooth working, run also:

sudo apt-get install rtl8723au-bt-dkms linux-firmware 

note: support 4.2 kernels , ubuntu 15.10 has been added ppa. kernel 4.2 bluetooth driver should not installed ppa. there native support of bluetooth adapter in kernel 4.2.

offline guide

if not have internet connection, can download package using computer, phone, etc.

the package here

you need dkms installed. can find dkms package ubuntu 16.04 here

copy these 2 files ubuntu home folder (~/) , run in terminal

sudo dpkg -i dkms*.deb rtlwifi*.deb 

then reboot.

important: new ubuntu kernels installed on system secure boot on uefi, unsigned kernel module may not load. in case see this answer fix it.

update: have laptop adapter. works on 4.8 kernel available in ubuntu 16.10 , 16.04.2.

installation of custom driver required kernels older 4.8.

i suggest installing 4.8 kernel ubuntu 16.04 if not installed yet by

sudo apt install linux-generic-16.04 

the device should work after reboot.

but still if laptop has 1 antenna , attached "wrong" connector, setting ant_sel=2, or and_sel=1 may required.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User