<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2022/09/10 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2022/09/10/</link>
    <description>Recent content in 2022/09/10 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 10 Sep 2022 23:43:19 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2022/09/10/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>IPv6再設定</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20220910_ipv6.htm</link>
      <pubDate>Sat, 10 Sep 2022 23:43:19 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20220910_ipv6.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20220813_flint.htm&#34;&gt;8月&lt;/a&gt;にルーターを&lt;a href=&#34;https://www.amazon.co.jp/exec/obidos/ASIN/B09N6PFB8Y/yanosdigitalg-22/ref=nosim/&#34;&gt;GL.iNet GL-AX1800(Flint)&lt;/a&gt;に切り替えた&lt;a href=&#34;https://network.mobile.rakuten.co.jp/hikari/&#34;&gt;楽天ひかり&lt;/a&gt;回線。&lt;/p&gt;&#xA;&lt;table align=&#34;right&#34; class=&#34;Panorama&#34;&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;&lt;img alt=&#34;IPv6 Enabledになってはいるが、毎回Submitが必要&#34; src=&#34;https://www.bravotouring.com/~yano/images/2022/20220910_ipv6.jpg&#34;/&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td class=&#34;PhotoMemo&#34;&gt;&lt;a href=&#34;https://play.google.com/store/apps/details?id=xyz.goodcloud.glinet&amp;hl=ja&amp;gl=US&#34;&gt;glinetアプリ&lt;/a&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20220829_ipv6.htm&#34;&gt;先日の設定調整&lt;/a&gt;で、IPv6 RelayMode（いわゆるIPv6パススルー？）も解決。と思ってたのだが、再起動したらまた&lt;span class=&#34;Warning&#34;&gt;IPv6アドレスが降ってこない問題&lt;/span&gt;が再発していた。&lt;/p&gt;&#xA;&lt;p&gt;試行錯誤を繰り返してみたところアプリやWebのGUIで「IPv6 enabled」にはなっているものの&lt;span class=&#34;Warning&#34;&gt;Submitしないとダメ&lt;/span&gt;な事に気づいたので、Submitの前後で&lt;span class=&#34;Software&#34;&gt;ssh&lt;/span&gt;経由で&lt;span class=&#34;Software&#34;&gt;psコマンド&lt;/span&gt;を投入して比較したところ、&lt;span class=&#34;Software&#34;&gt;odhcpd&lt;/span&gt;が&lt;span class=&#34;Warning&#34;&gt;起動していないのが問題&lt;/span&gt;であろう事がわかった。&lt;/p&gt;&#xA;&lt;p&gt;というわけで、&lt;span class=&#34;Path&#34;&gt;/etc/init.d&lt;/span&gt;で&lt;span class=&#34;Software&#34;&gt;odhcpd&lt;/span&gt;を起動している箇所を探したところ、&lt;span class=&#34;Path&#34;&gt;/etc/init.d/gl_ipv6&lt;/span&gt;を発見。&lt;/p&gt;&#xA;&lt;p&gt;実装を確認したところ、restart()では&lt;span class=&#34;Software&#34;&gt;odhcpd&lt;/span&gt;をrestartしていたものの、start()とstop()では&lt;span class=&#34;Warning&#34;&gt;odhcpdをケアしていなかった&lt;/span&gt;ので、&#xA;&lt;blockquote cite=&#34;/etc/init.d/gl_ipv6&#34; class=&#34;Log&#34;&gt;&#xA;root@GL-AX1800:~# vi /etc/init.d/gl_ipv6&lt;br/&gt;&#xA;～～&lt;br/&gt;&#xA;start()&lt;br/&gt;&#xA;{&lt;br/&gt;&#xA;    sync_ipv6&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;    backup_ula_prefix&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;    #check enable ipv6&lt;br/&gt;&#xA;    local enabled=`uci get glipv6.globals.enabled`&lt;br/&gt;&#xA;    if [ &#34;$enabled&#34; != &#34;1&#34; ];then&lt;br/&gt;&#xA;        disable_ipv6&lt;br/&gt;&#xA;        clear_settings&lt;br/&gt;&#xA;        return&lt;br/&gt;&#xA;    fi&lt;br/&gt;&lt;br/&gt;&#xA;    enable_ipv6&lt;br/&gt;&#xA;    set_wan&lt;br/&gt;&#xA;    set_lan&lt;br/&gt;&lt;br/&gt;&#xA;    /etc/init.d/sysctl restart&lt;br/&gt;&#xA;    /etc/init.d/dnsmasq restart&lt;br/&gt;&#xA;&lt;span class=&#34;Strong&#34;&gt;/etc/init.d/odhcpd restart&lt;/span&gt;&lt;br/&gt;&#xA;    /etc/init.d/firewall reload&lt;br/&gt;&#xA;}&lt;br/&gt;&#xA;～～&lt;/blockquote&gt;と、追記して無事解決。やれやれだ。&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●GL.iNet &lt;a href=&#34;https://www.gl-inet.com/&#34;&gt;https://www.gl-inet.com/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://www.gl-inet.com/products/gl-ax1800/&#34;&gt;GL-AX1800 / Flint&lt;/a&gt;&#xA;&lt;br/&gt;●OpenWrt &lt;a href=&#34;https://openwrt.org/&#34;&gt;https://openwrt.org/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://openwrt.org/docs/guide-user/network/ipv6/configuration&#34;&gt;[OpenWrt Wiki] IPv6 configuration&lt;/a&gt;&#xA;&lt;br/&gt;●IPv6/4 connectivity and speed test &lt;a href=&#34;https://ipv6-test.com/&#34;&gt;https://ipv6-test.com/&lt;/a&gt;&#xA;&lt;br/&gt;●Wikipedia &lt;a href=&#34;https://ja.wikipedia.org/wiki/&#34;&gt;https://ja.wikipedia.org/wiki/&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/%E4%BB%AE%E6%83%B3%E7%A7%BB%E5%8B%95%E4%BD%93%E9%80%9A%E4%BF%A1%E4%BA%8B%E6%A5%AD%E8%80%85&#34;&gt;仮想移動体通信事業者&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/IPv6%E7%A7%BB%E8%A1%8C%E6%8A%80%E8%A1%93&#34;&gt;IPv6移行技術&lt;/a&gt;&#xA;&lt;br/&gt;┣&lt;a href=&#34;https://ja.wikipedia.org/wiki/IPv6%E7%A7%BB%E8%A1%8C%E6%8A%80%E8%A1%93#Dual-Stack_Lite&#34;&gt;DS-Lite&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://ja.wikipedia.org/wiki/OpenWrt&#34;&gt;OpenWrt&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
