Raspberry Pi 3 built-in WiFi SSH NTP Problem

  • I have a problem with NTP and built-in WiFi on Raspberry Pi3.

    Under Rasbian the following command solve the problem with the builtin Wifi:
    /sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00

    If placed in rc.local it is automatically executed at boot.

    But under libreelec, this command doesn't work, the file rc.local doesn't exists and I don't know how to make the equivalent adjustment under libreelec.

    Could anybody help me?

    • Official Post

    1) we don't support TOS as we don't have CONFIG_IP_NF_TARGET_TOS set.

    Code
    LibreELEC:~ # cat /proc/net/ip_tables_targets
    MASQUERAD
    EERROR

    2) you can use /storage/.config/autostart.sh for commands that should run on boot.

    Edited once, last by lrusak (June 6, 2016 at 9:34 PM).

  • Maverick82: presumably you're referring to this post? I've tested NTP with RPi3 built-in WiFi and didn't have a problem, which might suggest its a problem with certain access points rather than a widespread problem (otherwise there'd be a lot more noise around this issue).

    Unfortunately in that thread there seems to be a number of people saying there's a problem, yet no issue opened on github which is the correct way to progress towards a fix.