I am very new to Ubuntu and am using 19.10. The wireless internet kept telling me my password was incorrect and the prompt to type it in was on an endless loop. I accidentally sudo modprobe -r iwlwifi and now my wifi has completely disappeared. I've been trying everything include sudo modprobe iwlwifi but have had no luck.
When I type dmesg | grep iwl nothing happens. The only relevant information I have is
sudo lshw -c network produces
*-network UNCLAIMED
description: Network controller
product: Cannon Point-LP CNVi [Wireless-AC]
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
resources: memory:b431c000-b431ffff
*-network
description: Ethernet interface
physical id: 1
bus info: usb@1:6
logical name: enx00e04c6804d2
serial: 00:e0:4c:68:04:d2
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.10 duplex=full ip=192.168.0.46 link=yes multicast=yes port=MII speed=1Gbit/s
EDIT
sudo modprobe iwlwifi This does nothing now
dmesg | grep iwl
[ 2.435843] Loading modules backported from iwlwifi
[ 2.435844] iwlwifi-stack-public:master:7906:7773a757
[ 2.502602] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 2.504534] iwlwifi 0000:00:14.3: Direct firmware load for iwl-dbg- cfg.ini failed with error -2
[ 2.507436] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[ 2.507437] iwlwifi 0000:00:14.3: Found debug configuration: 0
[ 2.507924] iwlwifi 0000:00:14.3: loaded firmware version 46.6bf1df06.0 op_mode iwlmvm
[ 2.701211] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
[ 2.708455] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 2.708920] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[ 2.753744] iwlwifi 0000:00:14.3: base HW address: d0:ab:d5:17:9e:f4
[ 2.825134] ieee80211 phy0: Selected rate control algorithm 'iwl- mvm-rs'
[ 2.827381] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[ 4.637929] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 4.756187] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 4.824996] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[ 56.786408] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 56.786852] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 59.858918] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 59.860223] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
lspci -nnk | grep 0280 -A3
00:14.3 Network controller [0280]: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:9df0] (rev 30)
DeviceName: WLAN
Subsystem: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:0034]
Kernel driver in use: iwlwifi
sudo dkms status
backport-iwlwifi, 7906, 5.0.0-1030-oem-osp1, x86_64: installed
backport-iwlwifi, 7906, 5.3.0-26-generic, x86_64: installed
nvidia, 430.50, 5.0.0-1030-oem-osp1, x86_64: installed
nvidia, 430.50, 5.3.0-26-generic, x86_64: installed