Notifications
Clear all

-->September 6th, 2025<--

Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.

--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark

Static IP

5 Posts
2 Users
0 Reactions
2,290 Views
(@bchirhart)
Active Member
Joined: 5 years ago
Posts: 10
Topic starter  

What files would I have to modify to switch from DHCP to a static IP?  My router keeps changing the IP address and it's frustrating to have to look it up all the time.



   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

The scripts don't care what the IP address is. So there are no changes needed to use a static IP. The easiest way, for most routers is to reserve the IP address that is already assigned. So the router will always assign the same IP address to the RPi. You will need to access the admin dashboard of your router, i.e. 192.168.1.1 then enter the username and password which is usually on the bottom of your router. Many times they are both 'admin'. There are a number of web sites that will help with this, here's one' https://www.lifewire.com/accessing-your-router-at-home-818205

Once at the dashboard, you will need to look for 'Reserve IP' or 'Assign IP'. Once you reserve the IP you should always be able to use it going forward. If you have more questions, I'll try to help. - Mark



   
ReplyQuote
(@bchirhart)
Active Member
Joined: 5 years ago
Posts: 10
Topic starter  

Thanks Mark - Yea, I'm aware of how to set up a reservation on my router.  I may just do that.  Would be cool if there was a way to modify the IP address of the Pi through the LiveSectional web page.

 

Thanks for all your help in this forum!  Everyone is blown away at my LED Sectional when they see it.



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

This may be my ignorance asking this, but how would the RPi be able to specify a static IP? I'd be all for doing something like that through the web interface, but my understanding is that the IP address is always dictated by the router. If you have info to the contrary, please point me in the right direction and I'll do some research. - Mark

BTW: if you haven't already, send a few pics of your map. We'd love to see it.



   
ReplyQuote
(@bchirhart)
Active Member
Joined: 5 years ago
Posts: 10
Topic starter  

Well, I'll answer your ignorance with possibly more ignorance.   Lol.

It's all running on a Linux kernal, right?  If not, then I don't know.  But if so, couldn't you have the web page change the ifconfig file?  Again, I know a ton about networking, but just a touch about Linux.  Even less on how the Pi works and how LiveSectional runs and what OS it is running.  I'd be happy to help if it's something you want to dive in to.

Here is a pic:

PXL 20210808 012445801

And here's a vid of it in action.  None of these show the legend at the upper right completed, but that's done.  

https://photos.app.goo.gl/1rXene9g72PS96qj9

The cluster of lights in the lower left is Omaha, NE.


This post was modified 4 years ago by bchirhart

   
ReplyQuote
Share: