WIFI randomly disconnecting. Restarting machine makes it work again

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
youlethal
Level 1
Level 1
Posts: 1
Joined: Mon Nov 12, 2018 4:21 pm

WIFI randomly disconnecting. Restarting machine makes it work again

Post by youlethal » Mon Nov 12, 2018 4:32 pm

Hi Guys,
Wondering if someone could help me out here. I just went back to using linux over windows but having an issue with the wifi. It randomly disconnects and a restart is needed for it to work again. Please find system info below. Any help appreciated.

Code: Select all

lethal@lethal:~$ inxi -Nn
Network:   Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169
           IF: enp2s0 state: down mac: c8:5b:76:3d:f0:c1
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be
           IF: wlp3s0 state: up mac: b0:c0:90:b6:6d:49
lethal@lethal:~$ inxi -Fxz
System:    Host: lethal Kernel: 4.15.0-38-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 80S2 v: Lenovo B50-50 serial: N/A
           Mobo: LENOVO model: Nano BDW v: SDK0J40700 WIN serial: N/A
           UEFI [Legacy]: LENOVO v: 0QCN25WW date: 01/13/2016
Battery    BAT0: charge: 4.7 Wh 18.9% condition: 24.8/30.1 Wh (83%)
           model: ANYO 15S4A01 status: Charging
CPU:       Dual core Intel Core i3-5005U (-MT-MCP-) 
           arch: Broadwell rev.4 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7981
           clock speeds: max: 1900 MHz 1: 859 MHz 2: 824 MHz 3: 819 MHz
           4: 830 MHz
Graphics:  Card: Intel HD Graphics 5500 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@59.97hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel Broadwell-U Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Card-2 Intel Wildcat Point-LP High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 3000 bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 128.0GB (48.8% used)
           ID-1: /dev/sda model: SAMSUNG_MZYLF128 size: 128.0GB
Partition: ID-1: / size: 117G used: 57G (51%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%)
           fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 217 Uptime: 12 min Memory: 1147.7/3863.1MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 

Code: Select all

 description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 08
       serial: c8:5b:76:3d:f0:c1
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-2_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:18 ioport:4000(size=256) memory:c1104000-c1104fff memory:c1100000-c1103fff
  *-network
       description: Wireless interface
       product: RTL8723BE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 00
       serial: b0:c0:90:b6:6d:49
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723be driverversion=4.15.0-38-generic firmware=N/A ip=192.168.1.3 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:19 ioport:3000(size=256) memory:c1000000-c1003fff
 

Thanks for the help in advance.

JeremyB
Level 19
Level 19
Posts: 9435
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI randomly disconnecting. Restarting machine makes it work again

Post by JeremyB » Mon Nov 12, 2018 5:50 pm

Sounds like wifi power management causing trouble

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

echo "options rtl8723be ips=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
Reboot

Post Reply

Return to “Wireless”