0

I installed Ubuntu server on a 2011 iMac and set up the WiFi when promoted. After setup I decided to add a GUI by running

sudo apt install ubuntu-desktop

when I rebooted I installed Firefox and Chrome and ran a google search and they both of them worked. In settings, it says

no wifi adapter found

but when I run lspci | grep -i network, it shows a detected WiFi controller.

Joemy
  • 3

2 Answers2

2

I suggest that you back up your current netplan file:

sudo mv /etc/netplan/00-installer-config-wifi.yaml  /etc/netplan/00-installer-config-wifi.bak

Write a new one:

sudo nano /etc/netplan/01-network-manager-all.yaml

Add the following:

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

Netplan is very specific about spacing, indentation, etc., so proofread carefully twice.

Save (Ctrl+o followed by Enter) and exit (Ctrl+x).

Follow with:

sudo netplan generate
sudo netplan apply
sudo sudo service NetworkManager restart

Is there any improvement? It might take a reboot.

chili555
  • 61,330
0

When I implemented the solution offred by chili555 I got a bunch of messages like this:

Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.

Don't forget to change the permissions on the new file:

sudo chmod -c --reference=/etc/netplan/00-installer-config.yaml 00-installer-config-wifi.bak