Navigation

    Recalbox Forum

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

    wrong date/time with LAN

    Recalbox General
    wrong datetime lan
    2
    10
    405
    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.
    • neo207
      neo207 last edited by

      couldnt scrape in kodi, so i found out that switching to Wifi leads to correct date/time and makes scraping possible again.

      any help on this, because i prefer LAN in general

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator
        Translation Master
        Tester
        Global moderator
        @neo207
        last edited by

        @neo207 I don't use kodi, but I believe it is possible to change the date and time internally in kodi, or am I wrong?

        Furthermore, being on Wifi or LAN should not change the date and time, definitely being on LAN is more stable. The configuration I know about date and time is in recalbox.conf:

        ## Select your timezone from : ls /usr/share/zoneinfo/ (string)
        ;system.timezone=Europe/Paris
        

        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".

        neo207 2 Replies Last reply Reply Quote 0
        • neo207
          neo207 @Zing last edited by

          @Zing thanks, will try that out but it is really strange... when i boot, the date and the time is wrong... restart doesn't help.
          Enabling Wi-Fi and a restart leads to the correct date and time, hence scraping and updating kodi is possible again.
          but as i said, i will try to set the region in recalbox.conf and see what happens

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

            Am. I really the only one whose recalbox starts with 2:00 all the time? Changing time and zone in kodi doesn't help. Multiple enabling and disabling wifi incl restarts help sometimes...

            I have the same. Issue with rpi3 and rpi4 at home

            1 Reply Last reply Reply Quote 0
            • neo207
              neo207 @Zing last edited by

              @Zing this is set correctly in my recalbox.conf file, so it must be something different.

              Zing 1 Reply Last reply Reply Quote 0
              • Zing
                Zing Global moderator Translator
                Translation Master
                Tester
                Global moderator
                @neo207
                last edited by

                @neo207 I don't really understand what's going on, so I recommend that you do some tests:
                Have you tested it on another Internet / another Wifi network?
                Are you getting the "Connected" Status?
                Does the Scrape work normally?
                What is the default IP address for your Recalbox? 192.168.0.XXX or 192.168.1.XXX, 192.168.2.XXX? (I don't know if it influences, but as I don't know exactly why this is happening, we have to evaluate the possibilities)

                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".

                neo207 1 Reply Last reply Reply Quote 0
                • neo207
                  neo207 @Zing last edited by

                  @Zing when I restart several times and turn wifi on/off several times, i get lucky and the time and is correct again until i shut down. WHEN the date is set correct, scraping works perfectly.

                  as long as the date is wrong, neither works the internal scraper nor the scraping via KODI for new videos.

                  and yes, i have the CONNECTED status all the time. no error is shown.

                  i am pretty sure that i have to enable something in my router because the EXACT same problem is with recalbox rpi3 and rpi4 (i have both at home).

                  i tried "automatically open ports / upnp" for the two recalboxes but no change so far 😞

                  my recalboxes have the IPs 192.168.178.xxx (just like all my devices in my network)

                  Zing 1 Reply Last reply Reply Quote 0
                  • Zing
                    Zing Global moderator Translator
                    Translation Master
                    Tester
                    Global moderator
                    @neo207
                    last edited by

                    @neo207 Do you have a Fixed IP in reclabox.conf?
                    Can you test whether fixing or not fixing interferes with the result?

                    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
                    • neo207
                      neo207 last edited by

                      i am not sure where to look for, but i got this in the config file:

                      ;kodi.network.waitmode=required
                      ;kodi.network.waittime=10
                      ;kodi.network.waithost=192.168.0.XX (i don't know if i should but i replaced the last two numbers)

                      Set system hostname

                      system.hostname=RECALBOX

                      Activate wifi (0,1)

                      wifi.enabled=0

                      Set wifi region

                      More info here: https://github.com/recalbox/recalbox-os/wiki/Wifi-country-code-(EN)

                      wifi.region=JP

                      Wifi SSID (string)

                      wifi.ssid=ubnt

                      Wifi KEY (string)

                      after rebooting the recalbox, the "new key" is replace by a hidden value "enc:xxxxx"

                      you can edit the "enc:xxxxx" value to replace by a clear value, it will be updated again at the following reboot

                      Escape your special chars (# ; $) with a backslash : $ => $

                      wifi.key=XXXXXXXXX (replaced with Xs)

                      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=manual ip address
                      ;wifi.gateway=new gateway
                      ;wifi.netmask=new netmask

                      secondary wifi (not configurable via the user interface)

                      ;wifi2.ssid=new ssid
                      ;wifi2.key=new key

                      third wifi (not configurable via the user interface)

                      ;wifi3.ssid=new ssid
                      ;wifi3.key=new key

                      Zing 1 Reply Last reply Reply Quote 0
                      • Zing
                        Zing Global moderator Translator
                        Translation Master
                        Tester
                        Global moderator
                        @neo207
                        last edited by

                        @neo207 Here:

                        ;wifi.ip=manual ip address
                        ;wifi.gateway=new gateway
                        ;wifi.netmask=new netmask

                        The semicolon at the beginning of the line indicates that this command is not being used, to set the Ip manually you need to configure these 3 fields and remove the semicolon from the beginning of the lines.
                        If you don't want to test it, that's fine, it's just a test suggestion, as I said, I don't know what it can be and I'm proposing things that might be related, it's "trial and error".

                        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
                        • First post
                          Last post

                        Want to support us ?

                        66
                        Online

                        88.4k
                        Users

                        26.2k
                        Topics

                        180.0k
                        Posts

                        Copyright © 2021 recalbox.com