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
  • It is probably being controlled in netplan. Please edit your question to show the result of the terminal command: cat /etc/netplan/*.yaml Welcome to Ask Ubuntu. – chili555 Jul 04 '23 at 19:33
  • it says this when I run "cat /etc/netplan/*.yaml" "cat: /etc/netplan/00-installer-config-wifi.yaml: Permission denied

    This is the network config written by 'subiquity'

    network: ethernets: enp2s0: dhcp4: true version: 2"

    – Joemy Jul 04 '23 at 19:41
  • no that post does not anwser my question because I have a wifi connection but it wont show up in the gooey – Joemy Jul 04 '23 at 19:43
  • What does this command result with in terminal lspci -nnk | grep -iA3 net – Jeremy31 Jul 04 '23 at 19:58
  • here are the results of that 02:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4] (rev 10) Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4] Kernel driver in use: tg3 Kernel modules: tg3 03:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01) Subsystem: Apple Inc. AirPort Extreme [106b:009a] Kernel driver in use: ath9k Kernel modules: ath9k – Joemy Jul 04 '23 at 20:07
  • See the link posted by waltinator, run the wireless script, then upload results to paste.ubuntu.com and post the URL as that wifi has been supported for quite a while – Jeremy31 Jul 04 '23 at 20:22
  • where can i find the link – Joemy Jul 04 '23 at 20:29
  • If you ran the commands, see if you get a link in terminal aftercat wireless-info.txt|nc termbin.com 9999 – Jeremy31 Jul 04 '23 at 20:33
  • it says no such file or directory also I am currently using the computer to do these responses – Joemy Jul 04 '23 at 20:38
  • Run in terminal wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info && cat wireless-info.txt | nc termbin.com 9999 – Jeremy31 Jul 04 '23 at 20:40
  • here are the results of that https://termbin.com/548f – Joemy Jul 04 '23 at 20:51
  • URL for sudo cat /etc/netplan/00-installer-config-wifi.yaml| nc termbin.com 9999 – Jeremy31 Jul 04 '23 at 21:03
  • now what do I do – Joemy Jul 04 '23 at 22:17
  • Since you are using netplan to define the wifi connection it is not available to Network Manager. – Jeremy31 Jul 05 '23 at 21:15
  • please explain that in more simple terms I am new to networking.Is there anything I can do about it – Joemy Jul 06 '23 at 02:01

1 Answers1

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
  • 60,188