Solved Netzwerkproblem
-
@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.38That 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
-
@DannyOcean @digitaLumberjack is in charge of all that, i don't manage DNS stuff
-
Cool, es scheint nun gelöst zu sein
GEILE TYPEN -
Immer gerne
-
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 -
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 -
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" />
-
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... -
@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
-
Very thanks to you, @substring - the update is just running!
-
Als Ersteller dieses Themas möchte ich mich auch nochmal bedanken
-
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 -
@grungelegende you've run the script twice, or already edited the file before ...
-
@Substring Could be the case. Anyway the Update isn't working due to 'no Network connection'. Any idea what to do? Thanks!
-
@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 nichtarchive.archive.recalbox.com