3 Replies Latest reply on May 9, 2021 9:32 PM by colporteur

    Updating Raspberry Pi without connecting to the internet

    spidermonkey12w

      Is it possible to put the needed updates on the SD card and then upgraded from there to have the camera work without connecting to the internet? Due to furniture arangements and the length of my cables I am unable to have my Pi hooked up to the router as well as the TV so having it plugged in in order to have the system updated is not possible so I'm wondering if there is a site or anything out there that will allow me to download the updates to my computer and then put them on the SD card and then install them from there. My computer does have a SD card reader so that isn't going to be an issue. Any help with my dilemma would be greatly appreciated. Thank you all for your time.

        • Re: Updating Raspberry Pi without connecting to the internet
          wallarug

          Is it possible to put the needed updates on the SD card and then upgraded from there to have the camera work without connecting to the internet?

          Yes.

           

          Go to this website and follow the instructions:

           

          https://github.com/raspberrypi/firmware

           

          1.  Click on "Download ZIP"

          2. Extract the downloaded ZIP file.

          3. Place all the files in the ZIP folder called: 'boot'  into the /boot folder on the Raspberry Pi's SD card (that is the folder that comes up when you connect to windows)

          4. Done!

           

          Make sure you make a backup of all the files on the Raspberry Pi SD card before you do the above.

           

          There is a few more steps to make the camera work though.  You need to move the camera files into the correct place.

          they are located in /opt/vc/bin/  .  Make sure you copy all those files to the same folder on the raspberry Pi's SD card.

          I suggest putting them on a USB drive and plugging that into the Raspberry Pi and then copying over all of the files in

          /opt/vc/bin/

           

           

          Hope this helps!

           

          If you need any more help just ask.

          PS: If it was me, I would just connect it to the internet and run the command:

          sudo rpi-update

          But you asked!

           

          Enjoy!

          1 of 1 people found this helpful
            • Re: Updating Raspberry Pi without connecting to the internet
              cbreck

              wallarug, I really enjoyed your answer to this question.  I want to do the same with my RPi2 model B as an air gapped machine (I don't want it to ever touch a network).

               

              Do you have an answer or good resources for doing the following with no internet:

               

              1) "Wipe" my new RPi 2 to make sure there's no unwanted/unnecessary files/code (clean slate)

               

              2) Set up the RPi2 to boot the operating system from flash drive/SSD drive

               

              3) Perform regular updates on the RPi 2.

               

              Thank you.

            • Re: Updating Raspberry Pi without connecting to the internet
              colporteur

              Interesting post, not one I have an answer to but, I hope by responding I can generate some interest in some of the more talents minds that frequent this site.

               

              You are looking for a way to update a the Pi software when the Pi doesn't have a network connection.

               

              Any Pi fascinates me.

               

              Are there solutions that enable a person to support a mirror of the Pi repository? My thought is you build the mirror repository to source updates and occasionally you take it offline and move it to the isolated Pi's ethernet connection for a update slurp.