I tried disabling secure boot and also lspci | grep -i network is showing nothing in terminal.
lshw -class network shows this:
*-network
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: 14:58:d0:ca:fc:ff
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=5.8.0-59-generic firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:4000(size=256) memory:b5500000-b5500fff memory:b5400000-b5403fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@2:1
logical name: usb0
serial: ba:42:2e:8b:ae:bf
capabilities: ethernet physical