juanmexia
(Juan Pablo Mexia)
October 20, 2021, 7:46am
1
Hi, I need your help. I am just starting using home assistant and I changed the IP address trying to make if a static IP Address.
I just removed the /24 at the end of the IP address under IPv4 and now I cannot access to home assistant
I appreciate if you can help me
thank you
that was about subnet mask, not directly related to your ip address. but I am not sure how to recover it now.
As a developer or network engineer, you may need to occasionally look up subnet mask values and figure out what they mean. To make your life easier, the freeCodeCamp community has made this simple cheat sheet. Just scroll or use Ctrl/Cmd + f to find...
juanmexia
(Juan Pablo Mexia)
October 20, 2021, 1:38pm
3
Thanks. I keep looking in the forums and internet but still not finding anything. I hope someone can help me to solve it
francisp
(Francis)
October 20, 2021, 1:42pm
4
Attach a monitor and keyboard, and follow this guide:
Really?
but the steps below will show you how to set it with nmcli :
nmcli connection show to list your connections
nmcli con show "Your Connection Name" to list the current properties of that connection
nmcli con edit "Your Connection Name" to enter edit mode for that connection
nmcli> print ipv4 will show you the ipv4 properties of that connection
To add your static IP address (select ‘yes’ for manual method);
Copy to clipboard
nmcli> set ipv4.addresses 192.168.1.10/24
Do you also want…
juanmexia
(Juan Pablo Mexia)
October 20, 2021, 2:50pm
5
Thanks. I will try, hope this helps