• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Looking to make a static IP address for pi4

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 4 Posters 3.8k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    Nneuland
    last edited by Oct 3, 2021, 12:58 PM

    Good morning,

    My VNC connection is coming and going. I believe due to my lack of a static IP address. I am accessing my raspberry pi via VNC and using a motorola surfboard 6580.

    I’m beyond a noob at this level of change and concern that I will lost my wifi if I continue fussing with the DHCP clients. This happened when I attempted a change a few days ago. I am currently connected to VNC.
    Can anyone give me a little kick in the butt to get this situated?

    Nick

    S M 2 Replies Last reply Oct 3, 2021, 1:07 PM Reply Quote 0
    • S Offline
      sdetweil @Nneuland
      last edited by sdetweil Oct 3, 2021, 1:48 PM Oct 3, 2021, 1:07 PM

      @nneuland u have to set a static address in your router. google search how to do this for your router model

      sometimes called a reservation

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Morbidia @Nneuland
        last edited by Morbidia Oct 3, 2021, 1:46 PM Oct 3, 2021, 1:46 PM

        @nneuland i’d think you have two options there.
        a) you check your router if you can find an option to “always assigned same IP” (or as sdetweil said a ‘reservation’
        b) you configure your pi to not use DHCP but a static IP. If you have a VNC to your pi at the moment it should be easy to change the settings with the help of google.
        Note that if you assign a static IP to your pi you might get into trouble if your router is configured as DHCP-server and tries to give this IP to someone other in your network. I’ve configured my Fritz!Box to use a DHCP scope from .100 - .254 so i have an own range for static ip’s whenever i need them. But i’m not sure if this is doable with your router. Best advice if you go this way, give the rpi a high number like >200, so it’s less likely some other connection will be assigned with that address

        btw: @sdetweil something like a ‘static dhcp’ does not exist. you either use DHCP or static ;)

        S 1 Reply Last reply Oct 3, 2021, 1:48 PM Reply Quote 0
        • S Offline
          sdetweil @Morbidia
          last edited by Oct 3, 2021, 1:48 PM

          @morbidia said in Looking to make a static IP address for pi4:

          btw: @sdetweil something like a ‘static dhcp’ does not exist. you either use DHCP or static

          thx… corrected… typo without thinking!!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Oct 3, 2021, 4:41 PM Reply Quote 0
          • N Offline
            Nneuland @sdetweil
            last edited by Oct 3, 2021, 4:41 PM

            @sdetweil @mordidia
            Thank you all for the response. I’ve followed google instructions and getting nothing but errors. I’ve copied the existing MAC for my pi, and added a custom IP ending. When trying to add I get these errors.

            Error converting one or more entries:
            Possible causes of this error:

            1. The MAC address is invalid. A valid MAC address is for e.g.11:22:33:aa:bb:cc
            2. MAC address already exists in the DHCP lease reservation table
            3. MAC address is currently assigned to another IP address
              TRY AGAIN

            Not worth losing my internet like the last time I attempted. This stuff is terrifying.ha

            M 1 Reply Last reply Oct 4, 2021, 9:25 AM Reply Quote 0
            • M Offline
              MMRIZE @Nneuland
              last edited by Oct 4, 2021, 9:25 AM

              @nneuland
              Just question.
              Do you want Fixed IP inside your LAN(e.g Home Network) or Static IP from outside of LAN?

              N 1 Reply Last reply Oct 4, 2021, 12:39 PM Reply Quote 0
              • N Offline
                Nneuland @MMRIZE
                last edited by Oct 4, 2021, 12:39 PM

                @mmrize

                TBH I don’t know the difference. Ideally whichever is safest and won’t slow down or effecct other devices on wifi…

                N

                S 1 Reply Last reply Oct 4, 2021, 12:49 PM Reply Quote 0
                • S Offline
                  sdetweil @Nneuland
                  last edited by Oct 4, 2021, 12:49 PM

                  @nneuland inside. it doesn’t impact other devices. just sets a stable address for the device
                  so u can connect to it reliably.

                  what kind of router do u have? make/model

                  the system design of the network is that each device as it powers on yells out to the router hey I need and address (phone number like) to be able to work…
                  and the router gives back the next available address.

                  note that the address assignment is only good for a short period of time, and must be renewed.
                  this allows devices to come and go (your phone) without the router running out of available numbers to give out

                  but sometimes you want a device to be at the same address all the time. so the reservation system was added. a table that says, oh, device with this unique hardware address (Mac) should always get this IP address. every device has a unique number created at manufacturer time, to distinguish one from another.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Oct 4, 2021, 1:20 PM Reply Quote 0
                  • N Offline
                    Nneuland @sdetweil
                    last edited by Oct 4, 2021, 1:20 PM

                    @sdetweil

                    Ohhh ok. I’ve been trying to redirect, if that’s the right word, the MAC address I believe is the Pi.
                    But getting errors that the address is currently in use…

                    I’m using the Motorola SURFboard SBG6580-G228.

                    I haven’t yet modified anything, but still have connection through the mmm-remotecontrol and VNC for some reason.

                    N

                    S 1 Reply Last reply Oct 4, 2021, 1:34 PM Reply Quote 0
                    • S Offline
                      sdetweil @Nneuland
                      last edited by Oct 4, 2021, 1:34 PM

                      @nneuland see this
                      Screenshot_20211004-083417_Chrome.jpg

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      N 1 Reply Last reply Oct 4, 2021, 1:38 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/11
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy