Table of Contents
connect BlackArch Linux to the internet? This guide shows how to enable Wi-Fi and Ethernet on BlackArch with simple terminal commands and troubleshooting tips.
Introduction
BlackArch is a powerful penetration testing distribution built on top of Arch Linux. However, enabling internet access on a fresh install—especially with a minimalist setup—can be tricky. This guide walks you through enabling internet access via Ethernet and Wi-Fi using terminal commands.
Prerequisites
Before starting, make sure:
- You have sudo/root access
- A compatible network interface (Ethernet or Wi-Fi)
Identify Network Interfaces on blackarch linux
Run the following to list network interfaces:
ip a
Look for:
eth0
orenp0s3
– Ethernetwlan0
orwlp2s0
– Wi-Fi
Configure to Enable Internet Connection
if you use ‘root’ user, then do not use ‘sudo’ command. otherwise any user need to use ‘sudo’ command
systemctl enable dhcpcd
First, enable dhcpcd Then, need to start dhcpcd
systemctl start dhcpcd
Wait a few seconds. Then, check the IP address. It will be assigned an automatic IP address.
Conclusions
That’s it! You’ve now successfully connected BlackArch Linux to the internet. Whether you’re using Wi-Fi or Ethernet, these steps will get you online quickly so you can focus on the fun part—hacking and learning.