Arch: Network Setup

Network setup

# ip addr

nic

# ip link set dev enp0s25 up

the easy way dhcp

# systemctl enable dhcpcd.service
# systemctl start dhcpcd.service

the manual setup

# systemctl stop dhcpcd.service
# systemctl disable dhcpcd.service
# ip addr add 192.168.x.y/24 broadcast 192.168.x.255 dev enp0s25
# ip route add via 192.168.x.1

remember dns

# nano /etc/resolv.conf                                          
nameserver v.x.y.z
search example.com