0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ESP32で時刻同期出来ない時は、IP V6応答になってないか確認

Last updated at Posted at 2022-10-06

概要

ESP32+nuro光でconfigTimeで時刻同期しようとしたら失敗。
NTPサーバにpingしたら、IP V6応答になっていたので、V4応答するものだけを残せばOKだった

環境

  • nuro光 - HG8045D(純正ルータ) - TP-Link Archer AX20
  • ESP32

  • Arduino IDE 1.8.19

いきさつ

ESP32で時刻同期するため、configuTimeを以下HPのソースで実行した結果

時刻同期が成功しない。
image.png

切り分け

  • ocn mobile one テザリング/android ⇒ 問題なし
  • au テザリング/iphone ⇒問題なし

nuro光接続PCでping ⇒ ntp.nict.jpはIP V6応答
image.png

ntp.jst.mfeed.ad.jp V4応答
image.png

対応

ntp.nict.jp を消して、ntp.jst.mfeed.ad.jpだけにした⇒〇
image.png

今回はルータの設定変更などの対応は行ってません。ご参考まで

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?