Skip to content

Commit

Permalink
Merge pull request #327 from foosel/fix/ntpOnRpi3
Browse files Browse the repository at this point in the history
Prevent NTP updates from failing on RPi3 wifi
  • Loading branch information
guysoft authored Mar 25, 2017
2 parents 49b83bd + 0720d5f commit e1d1ead
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ echo
echo "------------------------------------------------------------"
echo
EOT

# prevent ntp updates from failing due to some Rpi3 weirdness, see also "Fix SSH" further below
echo '/sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00' >> /etc/rc.local

echo 'exit 0' >> /etc/rc.local

# add a longer welcome text to ~pi/.bashrc
Expand Down

0 comments on commit e1d1ead

Please sign in to comment.