I would like Back to the Future
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 ...
#!/bin/sh (sleep 30; \ /usr/sbin/ntpdate pool.ntp.org; \ )&
2. Enter another time server
server 0.de.pool.ntp.org server 1.de.pool.ntp.org server 2.de.pool.ntp.org server 3.de.pool.ntp.org
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 ?
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 188.8.131.52 184.108.40.206 auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf # ping google.com ping: bad address 'google.com'
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 220.127.116.11" >> /tmp/resolv.confnow reboot This is certainly not the best solution, but temporarly it works...