diff --git a/etc-hosts b/etc-hosts index 5c47dbf..aac0098 100755 --- a/etc-hosts +++ b/etc-hosts @@ -12,3 +12,4 @@ ff02::2 ip6-allrouters 10.0.0.5 video.lyte.dev 10.0.0.5 files.lyte.dev 10.0.0.5 bw.lyte.dev +10.0.0.9 vpn.h.lyte.dev diff --git a/makefile b/makefile index 20a6dce..400bca8 100644 --- a/makefile +++ b/makefile @@ -12,13 +12,16 @@ mkinitcpio: .PHONY: system-dependencies system-dependencies: + echo "Updating system..." pacman -Sy --needed archlinux-keyring # get latest keys pacman -Syu # update everything pacman -S --needed dnsmasq nftables fail2ban radvd git dhcpcd wireguard-tools # install anything needed + echo "Done updating system!" echo "The system has updated. This usually means the kernel updated, so tailscale needs you to reboot." .PHONY: restart-services restart-services: + echo "Restarting services..." systemctl restart nftables systemctl restart systemd-sysctl systemctl restart systemd-networkd @@ -26,9 +29,11 @@ restart-services: # systemctl restart systemd-resolved # this seems to conflict with dnsmasq - not sure we need it? systemctl restart dhcpcd@lan0 systemctl restart dhcpcd@wan0 + echo "Services restarted!" .PHONY: enable-and-start-services enable-and-start-services: + echo "Enabling and starting services..." systemctl enable --now nftables systemctl enable --now systemd-sysctl systemctl enable --now systemd-networkd @@ -36,6 +41,7 @@ enable-and-start-services: # systemctl enable --now systemd-resolved # this seems to conflict with dnsmasq - not sure we need it? systemctl enable --now dhcpcd@lan0 systemctl enable --now dhcpcd@wan0 + echo "Services enabled and restarted!" .PHONY: copy-configuration-files copy-configuration-files: /etc/dnsmasq.conf /etc/systemd/resolved.conf /etc/sysctl.d/10-router-configs.conf /etc/systemd/network/10-lan0.link /etc/systemd/network/10-wan0.link /etc/dhcpcd.conf /etc/hosts