Ubuntu is not detecting LAN sometimes.And 95 % of time it doesnot detect wifi.The network option says wifi are not in range even though they are
It usually happens when the ubuntu stays idle for long time.
But there are cases when I start my laptop and LAN is not detected.
It usually gets fixed when I reboot
I tried to do both of these things: software and updates->Additional Drivers->Mark and unmark wireless card.
But none of them worked
Edit: lspci -nn | grep -e 0200 -e 0280 gives:
04:00.0 Network controller : Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01) 09:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)