Hello everybody.
Is the only way to setup static IP on hass.io to take out the SD card and edit the system-connections/resin-sample file on my PC?
Or can it be done after booting up via SSH or web GUI? If so how?
Regards
Kaspar
Hello everybody.
Is the only way to setup static IP on hass.io to take out the SD card and edit the system-connections/resin-sample file on my PC?
Or can it be done after booting up via SSH or web GUI? If so how?
Regards
Kaspar
In a future version it is plane to add support for UI network config. But at the moment you need edit the resin-sample file.
Thank you pvizeli. Hope to see this implemented soon.
Why would you not just do it on your router?
I wanted to tag on to this as smarter people than I seem to be responding…
Is there a way to use both the ethernet & wifi on Hass.io / Resin?
I still have not found anything that explains how to get both connections running at the same time. I had this running (not hass.io) on my old server so that I could monitor devices from both subnets x.x.1.x & x.x.2.x using HASS.
x.x.2.x is only HA devices, cameras, etc and x.x.1.x is everything/everybody else.
Not all routers support static IP. I would venture that most don’t.
Never seen a router that doesn’t have IP reservation under DHCP so would suggest you venture wrong.
The Actiontec M1424WR router that is provided by Verizon FIOS does not.
A second reason is, you cant set a custom DNS for each client in the router. Bur you need if you want to use pihole correctly
I suggest you read page 122 of your user manual!
OK, I’ll give you 98% on this one.
Page 122 of my manual is in the middle of describing security log settings and the only place that “static IP” appears anywhere in the 211-page manual is in reference to the IP from my service provider.
It never occurred to me that the correct search term was “Static Lease”.
On page 169:
"A device’s fixed IP address is actually assigned to the specific network card’s MAC address installed on the network computer. If this network card is replaced, the device’s entry in the DHCP Connections list must be updated with the new network card’s MAC address. "
So, you are 98% correct.
But, while it’s easy (relatively) to set a static IP for the device in my router, I still think it’s mostly better done in the device. I plan to move in a few years and that means a new ISP and a new router. I would have to set them up again in my new router after the move.
On the other hand, I am moving away from static IP wherever I can, just using it with my server devices.
Thanks for the tip in the correct direction.
Just throwing in an observation from a really having old dirt IT guy… the protocol has always been that static devices (i.e. servers, printers and things that are permanent) have static IP addresses. Moving devices like laptops, tablets and phones use the services of DHCP.
You really know how make someone regret helping you don’t you.
You were 100% wrong but can’t be bothered to apologise and thank me properly for my help, rather you try to save some face because your user guide is obviously a bit older than the one on Verizon’s support pages.
Don’t know why I’m bothering to help you with this either, other than to point out you are wrong again about how best to set static IPs. This time you literally get nothing more than a “tip in the correct direction” and you’ll have to find the rest out for yourself.
That might have been before DHCP? I know we did it with segmented network but we had everything statically assigned back then.
I think these days it’s common to use DHCP and to reserve server IP addresses…
You’re correct that my router does support static IP for my devices.
I DID say thanks for the tip. Without your input I wouldn’t have found that the router was calling it “static lease”.