Something keeps messing it up. I reinstalled arch after wiping the USB stick and then I rebooted it after changing the host name. I checked my router again and it wasn't on the list of dhcp clients, and I wasn't able to ssh into it. I then ran fsck again on my laptop and tried again and I can now ssh into it. So every time I reboot it the filesystem is getting corrupted or something.
EDIT: I don't know what's going on. It's not every time, if I don't change anything then it reboots fine.
EDIT: So it restarts fine when I don't install anything. I just installed sudo and now it's not working again. I don't understand what is causing this.
