Connect a Raspberry Pi or Orange Pi to your Arch machine

Make sure the ethernet controllers on your machine and the Pi both have auto MDIX capabilities. If they do, you won’t need a crossover cable.

Connect your Pi to your Arch machine. Open the Advanced network configuration and edit your Ethernet/Wired connection (double-click). Under IPv4 Settings > Method, select Shared to other computers. Add an address:


And then save.

Unplug the cable and plug it back in. After a few seconds, run nmap If you don’t have nmap at the moment, install it with sudo pacman -S nmap and then run the command. It should show a list of entries such as:

▶ nmap
Starting Nmap 7.80 ( ) at 2020-03-21 09:29 CET
Nmap scan report for
Host is up (0.000066s latency).
Not shown: 998 closed ports
53/tcp   open  domain
5718/tcp open  dpm

Nmap scan report for
Host is up (0.0041s latency).
Not shown: 999 closed ports
22/tcp open  ssh

Nmap done: 256 IP addresses (2 hosts up) scanned in 2.87 seconds

Look for a report for an IP address in the format of 10.0.0.x but not, as that is your own machine. In my case, the IP address of the Pi was You can now SSH to your Pi:

ssh root@

If all went well, you should now be asked to enter the current password and change it (if it’s your first time connecting to your Pi).