Arch DHCP - Paiet/SEC-440-Webmin GitHub Wiki
First, Network DHCP01 (Arch box)
- After logging in using your named user's creds.
- Elevate to root using: sudo
-i and type your password
- As root cd to /etc/systemd/network/`
- Edit the .network file using vim
sudo vim /etc/systemd/network/enp2s5.network
*Make sure to make a backup of the default enp2s5.network using cp enp2s5.network enp2s5.network.bk
- Apply/enable the systemd settings
sudo systemctl enable systemd-networkd
sudo systemctl start systemd-networkd
- Set the hostname
- Update the packages
Preparing for SSH Capabilities
- Install putty on wks01
- Install, Enable, and then run sshd
sudo pacman -Syuu sshd
sudo systemctl enable sshd
sudo systemctl start sshd
- Open firewall ports for sshd if necessary
Troubleshooting if you Wish to Install Ansible
- msg: failed to connect to the host via ssh: ssh: connect to host port 22: Connection timed out
- Fix: Add the group variables to your inventory.txt
- module_stderr: Exception calling Create with 1 argument . . .
- Use
win_ping instead of ping