Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Set static IP for recalbox 6.1.1

    Recalbox General
    static recalbox 6.1.1
    4
    4
    689
    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.
    • Quardah
      Quardah last edited by

      Hi.

      Running on 6.1.1 i am having trouble setting a static IP for the recalbox. i want to set a static ip to eth0, as simple as that.

      I tried this : https://github.com/recalbox/recalbox-os/wiki/Manual-IP-settings-(EN)

      but after reboot the IP goes back to dhcp (i do remount as read/write)

      this still remains in /etc/network/interfaces :

      cat /etc/network/interfaces

      Configure Loopback

      auto lo
      iface lo inet loopbac
      auto eth0
      iface eth0 inet static
      allow-hotplug eth0
      address 192.168.1.5
      network 192.168.1.0
      netmask 255.255.255.0
      gateway 192.168.1.1
      broadcast 192.168.1.255

      i tried connmanctl but there is no such command installed

      connmanctl services

      -sh: connmanctl: command not found

      i don't know what to try next.

      thank you for updating the doc at the same time if you lay out the solution here 🙂 thanks.

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @Quardah last edited by

        @Quardah If I'm not mistaken, since version 6.1.1, it is possible to edit the ip manually in the recalbox.conf file:

        ## Wifi - static IP
        ## if you want a static IP address, you must set all 3 values (ip, gateway, and netmask)
        ## if any value is missing or all lines are commented out, it will fall back to the
        ## default of DHCP
        wifi.ip =
        

        It is much easier now, the tutorial you are following is probably out of date.

        Se a minha resposta foi Ăștil, por favor, dĂȘ um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        1 Reply Last reply Reply Quote 0
        • ClimberBear
          ClimberBear last edited by

          I have the same issue, the command is not available

          # find . -name connmanctl
          # connmanctl services 
          -sh: connmanctl: command not found
          

          And I'm trying to set static IP for the ethernet port (not the wifi), so the paramater wifi.ip is not for me.

          1 Reply Last reply Reply Quote 0
          • olivierdroid92
            olivierdroid92 Global moderator last edited by

            Hi
            Just to undersand.
            Why you did not keep Recalbox with Dynamic IP.
            Then in your DHCP settings, your profide a fixed IP linked to MAC adress of your recalbox ?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            87
            Online

            98.7k
            Users

            28.1k
            Topics

            187.0k
            Posts

            Copyright © 2021 recalbox.com