Allonis Pi connects to invalid IP address

More
1 month 2 weeks ago #5000 by aa6vh
I am somewhat ignorant when it comes to Unix systems, unfortunately.

My Allonis server running on a Rasberry Pi (the Allonis purchased Pi) is occasionally trying to connect to an invalid IP address. It usually occurs when my router is down or in the process of rebooting. The Allonis Pi disconnects from its 192.168.0.xx IP address to an IP address of 172.17.0.1. I believe that IP is some sort of "Docker" default IP address. Unfortunately the Pi will not switch back to the proper IP address when my router comes back online. When this happens, this also brings down the Remote as a side effect. Currently I have to reboot the Pi to get it to reconnect to my router.

Is there a Unix way of getting the Pi to switch back automatically, or prevent the Pi from connecting to that Docker IP address? The Pi is using DHCP on my router (I fix the Pi's IP address to a consistent value using my router's IP Reservation feature).

Please Log in to join the conversation.

More
1 month 2 weeks ago #5001 by bowlingbeeg
Replied by bowlingbeeg on topic Allonis Pi connects to invalid IP address
You could set a static IP address on the PI. And Allonis even has documentation on it, allonis.com/support/documentation?view=category&id=177 , however it's outdated and won't work.  I don't know the commands off the top of my head but you can search for setting a static IP address on Linux Bookworm.  It uses network manager now instead of the .conf file referenced in that article.

Please Log in to join the conversation.

More
1 month 2 weeks ago #5002 by aa6vh
Replied by aa6vh on topic Allonis Pi connects to invalid IP address
Thank you. I was thinking the same thing, but my searches just showed how difficult it is to do such a simple thing on Unix. There is a reason why I went with doing an IP reservation on the router instead.

It seems like setting a fixed IP address on Unix varies considerably depending on the Unix flavor. Does anyone know the best current way to do it on our current Allonis PI systems?

A google search on "unix bookworm" just turned up additional questions that this ignorant Unix user can't answer (questions like "are you on Debian 12?" Huh?)
 

Please Log in to join the conversation.

More
1 month 2 weeks ago #5003 by andrew
Replied by andrew on topic Allonis Pi connects to invalid IP address
It's Linux, and yes bookworm is Debian 12.

Please Log in to join the conversation.

More
1 month 2 weeks ago #5009 by David Li
Replied by David Li on topic Allonis Pi connects to invalid IP address
Recommended is to upgrade via Master Image to Trixie, and then move your system specific settings over to the new "USB" (or NVME) so that it is supportable moving forward and has the latest and greatest on it. We are almost finished migrating all of our commercial projects this way to Trixie. If you want to static set the IP on a Pi, just use the Pi's desktop GUI (bottom right corner of the desktop). The CLI methods keep changing and it's too easy to do something "wrong" and lock yourself out.

Please Log in to join the conversation.

Time to create page: 0.183 seconds