Open tay-bird opened 1 year ago
Could you, from your Raspberry Pi, curl -X POST http://192.168.186.2/api/restart-ntpd
and post the last handful of lines of output of the robot's log after doing so? I confess I'm not sure what's wrong, but I'd like to try to help.
All I see in the logs is:
Mar 8 03:02:34 socks user.notice ntpd: Server 'ntpd' was stopped gracefully.
Here's a few other log lines that might be relevant:
Mar 8 02:59:40 socks user.notice ntpd: ntpd: bad address '0.irobot.pool.ntp.org'
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.062360 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.064565 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.074679 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.077917 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.083103 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 02:59:40 socks user.notice create-platform: 1678244380.093821 [69] tev: ddsi_udp_conn_write to udp/192.168.50.86:35201 failed with retcode -1
Mar 8 03:02:23 socks daemon.err network[1468]: [ERROR] (src/wifi_control.c:207 errno:No child process) sudo network_device_interfaces_control.sh --interface=softap --action=del returned status 1
and:
Mar 8 03:13:52 socks user.notice create-platform: 1678245232.080862 [69] tev: ddsi_udp_conn_write to udp/239.255.0.1:24650 failed with retcode -3
Mar 8 03:13:53 socks kern.err kernel: [ 848.732397] usb 1-1: device descriptor read/64, error -71
Mar 8 03:13:53 socks kern.info kernel: [ 849.054580] usb 1-1: New USB device found, idVendor=0525, idProduct=a4a2
Mar 8 03:13:53 socks kern.info kernel: [ 849.054602] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 8 03:13:53 socks kern.info kernel: [ 849.054613] usb 1-1: Product: RNDIS/Ethernet Gadget
Mar 8 03:13:53 socks kern.info kernel: [ 849.054623] usb 1-1: Manufacturer: Linux 5.15.0-1024-raspi with fe980000.usb
192.168.50.0/24 is the wifi router subnet.
Update: I've tried swapping to Galactic firmware and still seeing this - the rpi has a network connection to the create3 and has claimed 192.168.183.3
, but the create3 never logs an NTP attempt back to 192.168.186.2.
In case it is helpful: Clearpath has a new configuration file for the Create robot's NTP server that works with their use case; perhaps it can help to craft one that works with yours. https://github.com/turtlebot/turtlebot4/issues/216
Checking in again -- users have had some success with this -- see #401 . Would be curious to know if this solves your problem as well.
Problem: I've followed the setup guides for Raspberry Pi hookup + software config, as well as the SBC guide for Network Time Protocol, but my chrony server doesn't report any clients and the Create3 log file doesn't show any attempts to get NTP data from it. The network appears to be set up correctly.
Components:
Setup process I followed:
Output of chrony server:
create3 logs:
rpi networks: