Linux Lite Forums

General => Security & Bug Fixes => Topic started by: Jerry on May 20, 2023, 06:45:48 PM

Title: Network icon appears disconnected
Post by: Jerry on May 20, 2023, 06:45:48 PM
The Network icon appears disconnected in some instances, especially in virtual machines.

The fix:

Code: [Select]
sudo exo-open /etc/netplan/01-netcfg.yaml
or:

Code: [Select]
sudo mousepad /etc/netplan/01-netcfg.yaml
Your file may look similar to this:

Code: [Select]
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      dhcp4: yes

change it to:

Code: [Select]
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd

so, remove the last 3 lines.

Reboot.

Don't do this if your network icon appears normally, yet you still have the additional 3 lines in the above mentioned file. Leave it as is.

Fixed in Linux Lite 6.6