Change static IP

jonathjon

New Member
Apr 22, 2022
1
0
1
I am very much a noob to proxmox and anything Linux. That being said I have proxmox installed on a hp elitedesk and only thing I run on it is home assistant os. Recently I had to install a new router at my house. For some reason instead of using the normal 192.168.1.* it uses 192.168.68.* I was able to get into home assistant just fine but I can’t get into the proxmox web ui. It has a static ip set of 192.168.1.75:8006. I googled how to change the static ip and have a monitor hooked up so I can get in that way. There were 2 parts it told me to change. The first one being nano /etc/network/interfaces. That part went fine. Next it said to change nano /etc/host. When I go to that it says new file. There is nothing there to edit. This is where I’m lost. Can anyone help me get past this? When I restart the server now it’s still set as 192.168.1.75 and I need to get it changed to 192.168.68.25. Thanks in advance for any help!!
 
Next it said to change nano /etc/host. When I go to that it says new file. There is nothing there to edit. This is where I’m lost.
It's "/etc/hosts" not "/etc/host".
And you also might need to change the DNS server in "/etc/resolv.conf".

Recently I had to install a new router at my house. For some reason instead of using the normal 192.168.1.* it uses 192.168.68.*
It would be easiest to just edit the subnet your new router from 192.168.68.0/24 to 192.168.1.0/24. Log into the webUI of your router and see if you see such an option. Usually it should be somewhere. Its way easier to only change the IP of your router once instead of changing the static IPs for every device in your household.
 
Last edited: