Bring Up New Installation With Old IP

Look at me. I’m reading the documentation… still lost LOL

How do I bring up a new installation of HA using the old already reserved Static IP from my last installation?

I found this example from ==> Documentation

[connection]
id=my-network
uuid=4068289d-f720-43d6-8830-b4d49dee371d
type=802-3-ethernet
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto

and this one for static IP’s
[ipv4]
method=manual
address=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4; <== this is google right?

Im at a loss… GAWD… Software is so easy… this hardware/network mumbo jumbo is ridiculous… You network geeks dont get paid enough!

And Oh… not answered in the “Directions” is do I need to leave the USB in the PI indefinitely… or can I remove it later…

If you’re using the file method…you just put the file where it’s supposed to be on the USB. Not sure why that’s even a question.

That’s their DNS servers

flamingm0e

Because Im WAY outta my comfort zone LOL And the instructions are not explicit or complete…
You bang me for not reading the instructions … and then when I want clarification… you bang me again!

I can disassemble a Mk67 mine… but I bet if I gave you bad instructions you’d have a question or two… LOL

Not to worries… I love ya anyway!

Can I remove the stick after boot up?

Thanks for your help BTW

You could just leave device as DHCP and set static IP for device in router

EDIT
This may be more in you comfort zone

1 Like

I’ve already have an address from my last installation reserved as static in my router…

and its unclear which format I should use… the instructions say… use one of “these”
So I initially used this… because it was ONE of the examples
[ipv4]
method=manual
address=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;

It failed…

But then is post I found a person using this format…

Again… not explicit LOL

I know I’m an idiot when it comes to this sort of thing… A mans GOT to know his limitations… and keep laughing

You may want to look at your router, specifically the DHCP’s IP address reservation time, set it to just 5 minutes or so, get a cup of coffee, drink it slowly, and try again.

Thanks… I took the path of least resistance… and just accepted the new ip… Adapt and overcome!

Then setting a static IP via a USB is not going to end well for you.

What instructions?

You have 2 choices. Use the USB thumb drive, or your DHCP reservation in your router. You can’t give the device a static IP via USB if that static IP is already taken by a DHCP reservation. You will have a bad time.

If you want to use the IP address from your original install, you should be able to go into your router and change the original DHCP reservation to point to the MAC address of the new installation.

Dap… that’s what I thought would happen… the router would see the MAC address come up and request an address and make the association… but it didn’t work out like that.

flamingm0e… These instructions

They give four distinct (to my eye) situational examples… I used the last “Static IP” as my file… substituting in my IP address etc… It didn’t work…

[ipv4]
method=manual
address=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;

turns out my file should have looked like this…

[connection]
id=my-network
uuid=f62bf7c2-e565-49ff-bbfc-a4cf791e6add
type=802-3-ethernet

[ipv4]
method=manual
address=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;

[ipv6]
addr-gen-mode=stable-privacy
method=auto

… to me the instructions were not concise… if there was a required format to the file…
The documentation says…

Default
We have a preinstalled connection profile:

[connection]
id=my-network
uuid=f62bf7c2-e565-49ff-bbfc-a4cf791e6add
type=802-3-ethernet

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

LAN
[connection]
id=my-network
uuid=d55162b4-6152-4310-9312-8f4c54d86afa
type=802-3-ethernet

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

Wireless WPA/PSK
[connection]
id=my-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=MY_SSID
---- Uncomment below if your SSID is not broadcasted
#hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=MY_WLAN_SECRET_KEY

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

Static IP <==== I used this one which failed
Replace the following configuration:

[ipv4]
method=manual
address=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;

Lets just agree to disagree on our determination of the succinctness and clarity to a noobie of the instruction… lol

That said… I still welcome your input… you obviously have some insight in to the tool and its nomenclature which I totally lack.

I’ll figure it out… I’m sure I’ll have more questions!

Thanks everyone for you help… this community is a great one!

Looks to me like they are saying: “here is the default config, and if you want static, change this section”

I would agree… after the fact… now I know.

Thanks for your help!
-A

I have always stuck with the default and made my change with the DHCP reservation on the router/DHCP server.

Yeah… easier for sure… it was just a challenge I gave myself… Thinking down the line if ever I change my router I’d like to have all the settings in place and fixed on the hardware side…