Restore wi-fi after suspend in Ubuntu

On many laptop models with Ubuntu systems (Kubuntu, Lubuntu, Xubuntu etc.) the wireless network stops working after returning from sleep/standby mode. The problem is quite common and occurs in many versions of the system: 16.04, 14.04 and others. The article will describe a universal solution to this problem.