Mainly for Arch Linux desktop, but also works for Ubuntu servers.
# Clone repo
git clone git@github.com:Bakke/dotfiles.git ~/.dotfiles
# Run install script
cd ~/.dotfiles
source install.sh
git submodule update --init --recursive
git submodule update --remote
https://bbs.archlinux.org/viewtopic.php?id=298146
sudo rmmod e1000e # To disable ethernet card
sudo modprobe e1000e # To enable ethernet card
Or blacklist the module
echo "blacklist e1000e" | sudo tee /etc/modprobe.d/e1000e.conf
yay -S broadcom-wl
sudo modprobe -r wl
sudo modprobe wl