Recalbox Forum

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

    I would like Back to the Future

    Recalbox General
    scraper remove
    2
    4
    1319
    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.
    • neimi
      neimi last edited by

      Hello... I changed my IP to static like described in the wiki. After reboot, no longer does the syncronisation with the time servers and I have traveled in the past ... 01/01/1970 How can I fix it?   What I've tried: 1. Create a startup file ... nano /etc/init.d/S99updatentp

      #!/bin/sh
      (sleep 30; \
      /usr/sbin/ntpdate pool.ntp.org; \
      )&
      

      2. Enter another time server nano /etc/ntp.conf

      server 0.de.pool.ntp.org
      server 1.de.pool.ntp.org
      server 2.de.pool.ntp.org
      server 3.de.pool.ntp.org
      
      1 Reply Last reply Reply Quote 0
      • digitaLumberjack
        digitaLumberjack Staff last edited by

        Hi, the rpi has no clock so it's "normal" to have the date in 1970 if you have no network. Can you ping google.fr for example ? Do you have a dns configured ?

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

          my actual /etc/network/interfaces:

          # Configure Loopback
          auto lo
          iface lo inet loopback
          
          auto eth0
          #iface eth0 inet dhcp
          iface eth0 inet static
                  address 192.168.111.72
                  network 192.168.111.0
                  broadcast 192.168.111.255
                  netmask 255.255.255.0
                  gateway 192.168.111.1
                  dns-nameservers 80.153.1.233 62.245.184.150
          
          auto wlan0
          iface wlan0 inet dhcp
          wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
          
          # ping google.com
          ping: bad address 'google.com'
          
          1 Reply Last reply Reply Quote 0
          • neimi
            neimi last edited by

            I think i found the reason... after restart the resolv.conf everytime is empty... temporarly i fix it with a workaround... i modifiy the network startup script... add following line to /etc/init.d/S40network at the begining of the script echo "nameserver 8.8.8.8" >> /tmp/resolv.conf now reboot This is certainly not the best solution, but temporarly it works...

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

            Want to support us ?

            102
            Online

            98.7k
            Users

            28.1k
            Topics

            187.0k
            Posts

            Copyright © 2021 recalbox.com