On my laptop, after waking from suspend, the WiFi does not connect and does not find any. And while trying to fix the problem, I found out that
sudo commands in the terminal would not execute either. (just executing
sudo results in the terminal doing nothing. No password prompts, no output.)
I also had this issue with Linux Mint 19.2 and 19.3. I'd really like to know if there is a fix for this?
elementary OS 5.1.2 Hera
EDIT (more info as per comment):
Waiting 5 minutes did not work, when I went into System Settings > Network, Wireless was displaying 'Failed'. When I tried to turn it off, then turn it on, System Settings froze.
lshw -c Network command also did not display anything beyond the following then hung
WARNING: you should run this program as super-user. Network Interfaces
The output of
lshw -c Network after rebooting:
WARNING: you should run this program as super-user. *-network description: Wireless interface product: QCA6174 802.11ac Wireless Network Adapter vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:01:00.0 logical name: wlp1s0 version: 20 serial: 5c:93:a2:9a:76:33 width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=ath10k_pci driverversion=5.3.0-40-generic firmware=SW_RM.1.1.1-00157-QCARMSWPZ-1 ip=192.168.123.170 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:50 memory:f7000000-f71fffff *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: enp2s0 version: 0c serial: 24:f5:aa:d0:9d:12 capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII resources: irq:19 ioport:e000(size=256) memory:f7200000-f7200fff memory:f0000000-f0003fff WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
running it in
sudo mode had two different lines as following:
(Wireless interface) capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless (Ethernet interface) capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation