Recalbox Forum

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

    Solved Netzwerkproblem

    Recalbox
    netzwerkproblem
    17
    43
    23793
    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.
    • DannyOcean
      DannyOcean @Substring last edited by

      @Substring said in Netzwerkproblem:

      So, recalbox pings recalbox.com to check if you're "connected". That DNS is irrevelant as not everyone can ping it, may correct that

      I can ping WWW.recalbox.com but not recalbox.com

      The "www" has to be in the address

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

        @Nachtgarm @paradadf @lackyluuk @Substring

        Das Problem, dass recalbox.com nur mit 'www' vorne dran erreichbar ist, besteht weiterhin.

        Wie ist denn die recalbox Domain in ISPConfig angelegt (mit www oder ohne)?
        Diese muss ohne www, also nur 'RECALBOX.DE' angelegt sein und dann 'www' als Auto-Subdomain ausgewählt sein.

        Macht mal eine nslookup für RECALBOX.DE

        und für WWW.RECALBOX.DE

        und kontrolliert welche IPs zurück gegeben werden. Die IPs müssen identisch sein.

        If your host (gandi.net ?) supports .htaccess there might be an easy solution.

        EDIT:
        IP for www.recalbox.com is 163.172.153.70
        IP for recalbox.com is 217.70.184.38

        That is why the update is not working and the recalbox shows "not connected"

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @DannyOcean last edited by

          @DannyOcean still, some people can ping recalbox.com, some others can't. We're working on it

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          DannyOcean 1 Reply Last reply Reply Quote 0
          • DannyOcean
            DannyOcean @Substring last edited by DannyOcean

            @Substring
            sure, but to fix the problem the IP for recalbox.com and www.recalbox.com just have to be the same.
            Check the DNS settings and see the A record for yourself.
            The hoster (gandi.net ?) should be able to fix it.

            In ISPconfig the domain has to be "RECALBOX.COM" (without www) and auto-subdomain has to be "www"

            The A records in the DNS setting:
            IP for www.recalbox.com is 163.172.153.70
            IP for recalbox.com is 217.70.184.38

            That is why the update is not working and the recalbox shows "not connected"

            To fix the problem the IP for recalbox.com and www.recalbox.com just have to be the same.
            Check the DNS settings and see the A record for yourself.
            The hoster (gandi.net ?) should be able to fix it.

            You also have to add the following code to your root .htaccess file:

            This redirects all non-www requests to your site to the www version

            RewriteEngine on
            RewriteCond %{HTTP_HOST} !^www.
            RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

            The second line means: if the HTTP_HOST does not (!) start with (^) "www.", then put it in memory for the next line. The next line says: from what was captured in the previous line, match everything (.*) from beginning (^) to end ($) and save everything (inside the parenthesis) as $1. Then replace $1 with ""; plus the HTTP_HOST variable.

            And this would redirect all www requests to your site to the non-www version
            RewriteEngine On
            RewriteCond %{HTTP_HOST} !^my-domain.com$ [NC]
            RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]

            I really hope this helps, and everyone will be able to update 🙂

            Cheers

            Substring 1 Reply Last reply Reply Quote 0
            • Substring
              Substring @DannyOcean last edited by

              @DannyOcean @digitaLumberjack is in charge of all that, i don't manage DNS stuff

              Former dev - Please reply with @substring so that i am notified when you answer me
              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

              1 Reply Last reply Reply Quote 1
              • DannyOcean
                DannyOcean last edited by

                Cool, es scheint nun gelöst zu sein 🙂
                GEILE TYPEN

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

                  Immer gerne 😉

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

                    Hallo,
                    vielen Dank für die ganze Hilfe hier im Forum!
                    Bei mir klappt das leider immer noch nicht - wie kann ich das Problem nun lösen? das posting von DannyOcean hilft mir leider nicht weiter, weil ich nicht verstehen was ich wo einstellen/konfigurieren muss.
                    Der RasPi bekommt die IP von meiner FritzBox, der DNS-Server kommt von Unitymedia 😞

                    1 Reply Last reply Reply Quote 1
                    • morphus
                      morphus last edited by

                      Hallo zusammen,

                      ich kämpfe auch verzweifelt mit diesem Problem...
                      Kennt jemand einen DNS Server der "recalbox.com" auflösen kann?
                      Die HOSTS Datei auf dem OS kann man ja leider nicht editieren (oder hat jemand nen tipp wie) und ich kriege keinen lokalen DNS hin um es zu umgehen 😞

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

                        SOLUTION UNTIL IT IS FIXED UPSTREAM :
                        edit ~/.emulationstation/es_settings.cfg and replace <string name="UpdateServer" value="recalbox.com" /> with <string name="UpdateServer" value="archive.recalbox.com" />

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                          Hi,
                          leider funktioniert die vorgeschlagene Lösung von substring nicht.
                          Wenn ich die settings.cfg über den PC via Netzwerk editiere und abspeichere (Win10 greift über den Dateiexplorer auf die IP von RecalBox zu, editiert wird mit Notepad++), dauert es nur wenige Sekunden bis (irgendwas im Hintergrund) den Originaleintrag wiederherstellt.

                          Hi,
                          unfortunately it doesn't work 😞
                          When I edit settings.cfg (of course with saving!) few seconds later the original entry (value="recalbox.com") will be rewrite from recalbox. So I think i'll waiting till the recalbox-IP is fixed...

                          Substring 1 Reply Last reply Reply Quote 0
                          • Substring
                            Substring @chriz last edited by

                            @chriz There is a 1-liner command that will do it for you, to do is SSH : /etc/init.d/S31emulationstation stop && sed -i "s+recalbox\.com+archive\.recalbox\.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            1 Reply Last reply Reply Quote 1
                            • chriz
                              chriz last edited by

                              Very thanks to you, @substring - the update is just running! 🙂

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

                                Als Ersteller dieses Themas möchte ich mich auch nochmal bedanken 🙂

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

                                  Doesn't work for me unfortunately. Here's what I get:

                                  login as: root
                                  root@192.168.1.83's password:

                                  /etc/init.d/S31emulationstation stop && sed -i "s+recalbox.com+archive.recalbox.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start

                                  lvl0: System "favorites" is missing name, path, extension, or command!

                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  ping: bad address 'archive.archive.recalbox.com'
                                  sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
                                  ping: bad address 'archive.archive.recalbox.com'

                                  As I'm a complete newbie regarding linux, might be some newbie-issue.
                                  thanks, grungelegende

                                  Substring 1 Reply Last reply Reply Quote 0
                                  • Substring
                                    Substring @grungelegende last edited by

                                    @grungelegende you've run the script twice, or already edited the file before ...

                                    Former dev - Please reply with @substring so that i am notified when you answer me
                                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                    grungelegende 1 Reply Last reply Reply Quote 0
                                    • grungelegende
                                      grungelegende @Substring last edited by

                                      @Substring Could be the case. Anyway the Update isn't working due to 'no Network connection'. Any idea what to do? Thanks!

                                      paradadf 1 Reply Last reply Reply Quote 0
                                      • paradadf
                                        paradadf Staff @grungelegende last edited by paradadf

                                        @grungelegende schau mal deine ping address... du hast archive doppelt!

                                        folg die Anweisung von subs von vorher und ändere das manuell:

                                        edit ~/.emulationstation/es_settings.cfg and replace <string name="UpdateServer" value="recalbox.com" /> with <string name="UpdateServer" value="archive.recalbox.com" />

                                        es muss archive.recalbox.com stehen und nicht archive.archive.recalbox.com

                                        If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

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

                                        Want to support us ?

                                        84
                                        Online

                                        99.6k
                                        Users

                                        28.1k
                                        Topics

                                        187.1k
                                        Posts

                                        Copyright © 2021 recalbox.com