Giter Club home page Giter Club logo

Comments (15)

dlarue avatar dlarue commented on July 17, 2024 1

ah, load balancing type stuff, got it.

from rpi-imager.

ghollingworth avatar ghollingworth commented on July 17, 2024

Works as expected, the OS options are defined in a .JSON file on our website,

http://downloads.raspberrypi.org/os_list_imagingutility.json

When you open the application it populates the list from these which can change dynamically

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

Then what I'm telling you is that it didn't work.

I searched for that file in ~/.local and didn't find it. Where is the os_list_imagingutility.json file downloaded to?

from rpi-imager.

ghollingworth avatar ghollingworth commented on July 17, 2024

It isn't downloaded anywhere

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

Well, it didn't work until after I installed the compiled version on the raspberrypi.org site... and then reinstalled the one I compiled. Why would that be?

from rpi-imager.

XECDesign avatar XECDesign commented on July 17, 2024

I'm guessing that Ubuntu was added to the list around the time you installed the version from raspberrypi.org

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

This happened within a 5 minute period... I had already downloaded the raspberrypi.org version previous to building from source. I had read this blog and thought I'd try it because it mentioned the Ubuntu OS options so it was already there.

https://www.omgubuntu.co.uk/2020/03/how-to-install-ubuntu-on-raspberry-pi

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

I also had the OS selection window open for a minute or two because I'd never seen this app before and thought I missed something about where the Ubuntu OS options were so I looked into the "misc" option menu item and the "use custom" options. Surely it shouldn't have taken that long to get the json file.

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

it is doing it right now even...
![Screenshot_20200317_100816]

(https://user-images.githubusercontent.com/3150680/76882061-56fafa00-6837-11ea-9e1c-ac215a117179.png)

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

Just shut down the app and restarted it and now the Ubuntu options are there..
Screenshot_20200317_101209

from rpi-imager.

XECDesign avatar XECDesign commented on July 17, 2024

You're absolutely right. The author of the tool has just pointed out that some of our mirrors are out of sync and were serving up the old json file. You shouldn't be seeing that anymore, and I'll double check that everything is okay now.

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

So within a few minutes the json file at specified in config.h was changing?

#define OSLIST_URL "https://downloads.raspberrypi.org/os_list_imagingutility.json"

I thinking there was a delay in file access and the application didn't wait and continued with just the defaults.

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

This app looks to be populating the menu when it is opened.

from rpi-imager.

maxnet avatar maxnet commented on July 17, 2024

So within a few minutes the json file at specified in config.h was changing?
#define OSLIST_URL "https://downloads.raspberrypi.org/os_list_imagingutility.json"

Note that downloads.raspberrypi.org is not a single server. :-)

$ host downloads.raspberrypi.org
downloads.raspberrypi.org is an alias for lb.raspberrypi.org.
lb.raspberrypi.org has address 46.235.231.111
lb.raspberrypi.org has address 93.93.128.211
lb.raspberrypi.org has address 93.93.130.39
lb.raspberrypi.org has address 93.93.130.214
lb.raspberrypi.org has address 46.235.231.145
lb.raspberrypi.org has address 93.93.135.188
lb.raspberrypi.org has address 93.93.128.133
lb.raspberrypi.org has address 46.235.227.11
lb.raspberrypi.org has address 93.93.130.104
lb.raspberrypi.org has address 46.235.231.151
lb.raspberrypi.org has address 93.93.128.230
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:7
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:8
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:6
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:7
lb.raspberrypi.org has IPv6 address 2a00:1098:88:26::1:1
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:9
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:6
lb.raspberrypi.org has IPv6 address 2a00:1098:88:26::1
lb.raspberrypi.org has IPv6 address 2a00:1098:0:82:1000:13:0:5
lb.raspberrypi.org has IPv6 address 2a00:1098:0:80:1000:13:0:5
lb.raspberrypi.org has IPv6 address 2a00:1098:88:26::2:1

Yes, you can end up at a different server each time with round-robin DNS configurations like this.
And yes, those servers should have the same files, but if anything is wrong, they may not.

from rpi-imager.

dlarue avatar dlarue commented on July 17, 2024

cool, case closed. Thanks for keeping with me on this. Everyone wins.

If there's interest in expanding this apps capabilities... I make a script for doing what this app does but after loading the image onto the SD, I mount the partitions and adjust the wifi settings, hostname and locale/timezone. Very handy for headless setup.
https://github.com/dlarue/Lubuntu-Donkey/blob/master/script-zipdd

Thanks again.

from rpi-imager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.