MacBook Pro wifi drivers
I have a MacBook Pro 2019 13 inch with two thunderbolt 3 ports. I'm currently running ubuntu 20.04 dual booted with Mac OS. I'm currently typing this from Mac OS.
The wifi is not connecting automatically and I do not know the type of drivers I need for that. I know the software update app itself is supposed to inform me about that, but it can't tell since there is no wifi.
Everything else (keyboard, Touch Bar) works normally after I followed some steps from other guides online. I have ran the command sudo lshw -C network
. I apologise for being unable to paste the output here as I can't connect to wifi there so...
The output of the command sudo lshw -C network
:
Here is the output of the command lscpi -nnk |grep 0280 -A3
:
Here are the outputs of the commands ping c3- 8.8.8.8
, ping -c3 www.ubuntu.com
and ls -al /etc/resolv.conf
:
Apparently, ping is missing on Ubuntu 20.04, focal fossa. I've googled it and apparently, it's quite a common issue or so according to the number of guides up there. I tried installing the ping package, but due to the problematic hotspot from my iPhone, it failed.
Here is the guide I referred to: https://linuxconfig.org/ping-command-not-found-on-ubuntu-20-04-focal-fossa-linux
Here is the output of the commands
- sudo rm -f /etc/resolv.conf
2)sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
3)sudo apt update
4)ping -c3 8.8.8.8
5)sudo apt install iputils-ping
6)sudo dmesg | grep brcm
https://paste.ubuntu.com/p/YTy6R3B7n6/ output of ip addr show: https://paste.ubuntu.com/p/YVDt5VgTkQ/
This will be an incomplete answer as there are several seperate issues here. I will edit the answer as we uncover further details.
First, resolv.conf is incorrect. Please do:
sudo rm -f /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
As the terminal suggests, please next run:
sudo apt update
Then try again:
ping -c3 8.8.8.8
If the command ping
is still not found, then, try to install it:
sudo apt install iputils-ping
Your output suggests that the wireless device already has an appropriate driver, brcmfmac, but probably lacks firmware. We can find out with:
sudo dmesg | grep brcm
As the output may be lengthy, paste the result here and give us the link: http://paste.ubuntu.com