Skip to content

Instantly share code, notes, and snippets.

@iandark
Last active April 1, 2025 22:35
Show Gist options
  • Select an option

  • Save iandark/2e461db3ab8ab4985340489717fc8876 to your computer and use it in GitHub Desktop.

Select an option

Save iandark/2e461db3ab8ab4985340489717fc8876 to your computer and use it in GitHub Desktop.
Arch Linux - Fix networkmanager & dhcpcd

While installing Arch Linux with Broadcom BCM4360, you need to install and configure NetworkManager and dhcpcd while on chroot.

If you, like me, skipped the configuration of these during chroot, and the internet stopped working after the installation, don’t worry, I’ve got you covered.

1. Plug in your installation media. In the terminal of the installation media, identify the disk where Arch is installed:
lsblk
2. After discovering which partition your system is installed on, you must mount it. Replace sdXn with the correct name of the partition:
mount /dev/sdXn /mnt
3. If there is an EFI partition, you should mount it too (optional in some cases):
mount --mkdir /dev/sdXn /mnt/efi
4. The same applies to the boot partition, if it exists, you should mount it as well (optional in some cases):
mount --mkdir /dev/sdXn /mnt/boot
5. Now, let’s access the system with chroot:
arch-chroot /mnt
6. First, we need to update the installed system:
pacman -Syu
7. Now, you need to install dhcpcd. This package will allow you to use the internet with your Ethernet cable while using the installed Arch Linux:
pacman -S dhcpcd
8. In some cases (like mine), the next command may fail. But you should still try it:
pacman -S networkmanager
9. If the previous command fails, don’t worry. We’ll make it work.

Restart your installed system and open the terminal:

sudo systemctl start dhcpcd

After a few seconds, your Ethernet should work, and you’ll have internet access.

10. Now, install NetworkManager:
sudo pacman -S networkmanager
11. Verify if NetworkManager was installed successfully:
pacman -Q networkmanager linux && uname -r
12. Now enable the NetworkManager service:
sudo systemctl enable NetworkManager.service
13. Verify if the service is running:
sudo systemctl status NetworkManager
14. Reboot your system, and voilà!

Tip

If you're experiencing issues with your MacBook Air/Pro WiFi driver (Broadcom BCM4360) on Arch Linux, you should take a look at this tutorial:

https://gist.github.com/iandark/8eea724cf54fff1c134363aab86abd41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment