From bcc7c77250bca0616113641c82e67e24b66da90e Mon Sep 17 00:00:00 2001 From: zzsqwq Date: Thu, 19 Dec 2024 03:32:58 +0000 Subject: [PATCH] deploy: 9f6e4a3c49aebcfbff6c20519271260e79fad205 --- categories/acm/index.xml | 2 +- categories/app/index.xml | 2 +- categories/c++/index.xml | 2 +- categories/deep-learning/index.xml | 2 +- categories/dp/index.xml | 2 +- categories/git/index.xml | 2 +- categories/index.xml | 2 +- categories/javascript/index.xml | 2 +- categories/latex/index.xml | 2 +- categories/matlab/index.xml | 2 +- categories/nas/index.xml | 11 +++++++++-- categories/opencv/index.xml | 2 +- categories/openwrt/index.xml | 2 +- categories/python/index.xml | 2 +- categories/stl/index.xml | 2 +- categories/study/index.xml | 2 +- categories/thread/index.xml | 2 +- categories/ubuntu/index.xml | 2 +- .../index.xml" | 2 +- .../\346\213\274\345\244\232\345\244\232/index.xml" | 2 +- "categories/\346\220\234\347\264\242/index.xml" | 2 +- .../\346\225\260\346\215\256\345\272\223/index.xml" | 2 +- .../index.xml" | 2 +- "categories/\346\235\202\345\255\246/index.xml" | 2 +- "categories/\346\235\202\350\260\210/index.xml" | 2 +- .../\347\236\216\346\212\230\350\205\276/index.xml" | 2 +- .../\347\242\216\347\242\216\345\277\265/index.xml" | 2 +- .../index.xml" | 2 +- .../index.xml" | 2 +- "categories/\350\203\214\345\214\205/index.xml" | 2 +- .../index.xml" | 2 +- "categories/\351\232\217\347\254\224/index.xml" | 2 +- index.html | 2 +- index.json | 2 +- index.xml | 13 ++++++++++--- posts/another-dayu-9-questions/index.html | 2 +- posts/index.xml | 13 ++++++++++--- posts/ugreen-nas-configure-eui64-ipv6/index.html | 5 +++-- series/index.xml | 2 +- tags/academia/index.xml | 2 +- tags/app/index.xml | 2 +- tags/beauty/index.xml | 2 +- tags/c++/index.xml | 2 +- tags/centernet/index.xml | 2 +- tags/class/index.xml | 2 +- tags/codeforces/index.xml | 2 +- tags/conda/index.xml | 2 +- tags/condition-variable/index.xml | 2 +- "tags/c\350\257\255\350\250\200/index.xml" | 2 +- tags/database/index.xml | 2 +- tags/defaults/index.xml | 2 +- tags/docker/index.xml | 2 +- tags/dp/index.xml | 2 +- tags/fcos/index.xml | 2 +- tags/git/index.xml | 2 +- tags/github/index.xml | 2 +- tags/gitlab/index.xml | 2 +- tags/hat/index.xml | 2 +- tags/horizon-robotics/index.xml | 2 +- tags/hp-laserjet/index.xml | 2 +- tags/hugo/index.xml | 2 +- tags/index.xml | 2 +- tags/iris/index.xml | 2 +- tags/javascript/index.xml | 2 +- tags/latex/index.xml | 2 +- tags/linux/index.xml | 2 +- tags/luogu/index.xml | 2 +- tags/macos/index.xml | 2 +- tags/markdown/index.xml | 2 +- tags/marktext/index.xml | 2 +- tags/matlab/index.xml | 2 +- tags/multithread/index.xml | 2 +- tags/mysql/index.xml | 2 +- tags/nas/index.xml | 11 +++++++++-- tags/nowcoder/index.xml | 2 +- tags/opencv/index.xml | 2 +- tags/openwrt/index.xml | 2 +- tags/orangepi4-lts/index.xml | 2 +- tags/pip/index.xml | 2 +- tags/python/index.xml | 2 +- tags/pytorch/index.xml | 2 +- tags/qq/index.xml | 2 +- tags/rk3399/index.xml | 2 +- tags/search-engine/index.xml | 2 +- tags/skills/index.xml | 2 +- tags/ssh/index.xml | 2 +- tags/steam/index.xml | 2 +- tags/stl/index.xml | 2 +- tags/summary/index.xml | 2 +- tags/suspended/index.xml | 2 +- tags/theme/index.xml | 2 +- tags/typecho/index.xml | 2 +- tags/typora/index.xml | 2 +- tags/ubuntu/index.xml | 2 +- tags/ugreen/index.xml | 11 +++++++++-- tags/vim/index.xml | 2 +- .../index.xml" | 2 +- .../\345\244\247\346\225\260\347\261\273/index.xml" | 2 +- "tags/\345\260\217\346\226\260pro14/index.xml" | 2 +- "tags/\345\274\202\346\255\245/index.xml" | 2 +- .../\346\211\223\345\215\260\346\234\272/index.xml" | 2 +- "tags/\346\212\265\345\210\266/index.xml" | 2 +- .../\346\213\274\345\244\232\345\244\232/index.xml" | 2 +- "tags/\346\220\234\347\264\242/index.xml" | 2 +- .../index.xml" | 2 +- "tags/\346\225\260\346\250\241/index.xml" | 2 +- "tags/\346\235\202\350\260\210/index.xml" | 2 +- .../\346\240\221\350\216\223\346\264\276/index.xml" | 2 +- .../index.xml" | 2 +- .../index.xml" | 2 +- .../index.xml" | 2 +- .../\347\250\213\345\272\217\346\230\237/index.xml" | 2 +- "tags/\347\273\277\350\201\224/index.xml" | 11 +++++++++-- "tags/\350\203\214\345\214\205/index.xml" | 2 +- .../index.xml" | 2 +- "tags/\350\266\263\345\237\272/index.xml" | 2 +- "tags/\351\224\220\347\202\254/index.xml" | 2 +- 117 files changed, 169 insertions(+), 126 deletions(-) diff --git a/categories/acm/index.xml b/categories/acm/index.xml index bfcf3bd2..53ec3884 100644 --- a/categories/acm/index.xml +++ b/categories/acm/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 19 Aug 2020 13:21:00 +0000 diff --git a/categories/app/index.xml b/categories/app/index.xml index 6e82cb81..825155fe 100644 --- a/categories/app/index.xml +++ b/categories/app/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 03 Dec 2023 23:44:24 +0800 diff --git a/categories/c++/index.xml b/categories/c++/index.xml index c7af2ffe..7db25e9a 100644 --- a/categories/c++/index.xml +++ b/categories/c++/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 09 Nov 2022 22:40:41 +0800 diff --git a/categories/deep-learning/index.xml b/categories/deep-learning/index.xml index 424d654f..5ec04861 100644 --- a/categories/deep-learning/index.xml +++ b/categories/deep-learning/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sat, 25 Feb 2023 00:45:22 +0800 diff --git a/categories/dp/index.xml b/categories/dp/index.xml index 38080d0d..d7689b13 100644 --- a/categories/dp/index.xml +++ b/categories/dp/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Thu, 20 Feb 2020 01:04:00 +0000 diff --git a/categories/git/index.xml b/categories/git/index.xml index f58837c8..bea7a761 100644 --- a/categories/git/index.xml +++ b/categories/git/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Fri, 23 Jul 2021 14:17:00 +0000 diff --git a/categories/index.xml b/categories/index.xml index 176258b3..36b0f9de 100644 --- a/categories/index.xml +++ b/categories/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Thu, 05 Dec 2024 00:08:00 +0800 diff --git a/categories/javascript/index.xml b/categories/javascript/index.xml index c96d9960..51d50665 100644 --- a/categories/javascript/index.xml +++ b/categories/javascript/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 19 Jan 2022 00:24:00 +0000 diff --git a/categories/latex/index.xml b/categories/latex/index.xml index a85db9de..7513ef70 100644 --- a/categories/latex/index.xml +++ b/categories/latex/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Tue, 04 Feb 2020 22:47:00 +0000 diff --git a/categories/matlab/index.xml b/categories/matlab/index.xml index 1d48175a..3b28ff04 100644 --- a/categories/matlab/index.xml +++ b/categories/matlab/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Mon, 23 Mar 2020 01:14:00 +0000 diff --git a/categories/nas/index.xml b/categories/nas/index.xml index 72271079..8912fb24 100644 --- a/categories/nas/index.xml +++ b/categories/nas/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Thu, 05 Dec 2024 00:08:00 +0800 @@ -19,7 +19,7 @@ https://blog.zzsqwq.cn/posts/ugreen-nas-configure-eui64-ipv6/ <p>最近在玩 PT 站,家里没有公网 IPv4 地址但有公网 IPv6 地址,绿联 NAS 上挂的 qBittorrent 需要靠 IPv6 刷上传量。</p> <p>但是一般来说 IPv6 的地址都是随机生成的,不好在 OpenWrt 配置防火墙规则放行对应设备地址和端口,如果全部放行又过于危险,所以需要找到一种可以固定放行对应的设备地址和端口的方法。</p> -<p>参考 <a href="https://www.youtube.com/watch?v=klQ6JbZEeJ0&list=PL5TbbtexT8T293fBi4i5MOf4OjdLQ3hUa&index=6">不良林的 IPv6 配置视频</a> 可以找到一种组合:</p> +<p>参考 <a href="https://www.youtube.com/watch?v=klQ6JbZEeJ0&amp;list=PL5TbbtexT8T293fBi4i5MOf4OjdLQ3hUa&amp;index=6">不良林的 IPv6 配置视频</a> 可以找到一种组合:</p> <ol> <li>SLAAC 的方式下发 IPv6 地址</li> <li>设备端配置 EUI64 模式生成后缀</li> @@ -47,6 +47,13 @@ <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo systemctl restart systemd-networkd </span></span></code></pre></div><p>然后通过 <code>ip addr show eth0</code> 可以查看到已经通过 eui64 方式生成 IPv6 地址后缀</p> <p><img alt="success" loading="lazy" src="https://blog.zzsqwq.cn/images/configure-ugreen-nas-eui64/eui64.png"></p> +<hr> +<p>补充:</p> +<p>后续使用发现绿联每次启动的时候并不会遵守 systemd-networkd 的这个设定,所以还是会自动生成一个 stable-privacy 地址,因此需要每次开启重启一下 systemd-networkd。</p> +<p>绿联 NAS 的 rc.local 文件是自动生成的,所以不建议在里面修改会被自动覆盖,使用 crontab 在 root 用户下添加重启任务即可。</p> +<p>首先 <code>sudo -i</code> 切换到 root 用户,然后使用 <code>crontab -e</code> 打开定时任务编辑文件,向其中添加:</p> +<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">@reboot systemctl restart systemd-networkd +</span></span></code></pre></div><p>然后重启系统验证只存在 eui64 地址</p> <div class="footnotes" role="doc-endnotes"> <hr> <ol> diff --git a/categories/opencv/index.xml b/categories/opencv/index.xml index eb64abb6..b7e72f31 100644 --- a/categories/opencv/index.xml +++ b/categories/opencv/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sat, 31 Oct 2020 20:38:00 +0000 diff --git a/categories/openwrt/index.xml b/categories/openwrt/index.xml index c8e34edd..10653d20 100644 --- a/categories/openwrt/index.xml +++ b/categories/openwrt/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sat, 31 Dec 2022 16:34:42 +0800 diff --git a/categories/python/index.xml b/categories/python/index.xml index 59203f05..89ebedef 100644 --- a/categories/python/index.xml +++ b/categories/python/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 16 May 2021 15:19:00 +0000 diff --git a/categories/stl/index.xml b/categories/stl/index.xml index 3597675d..0d02f9a1 100644 --- a/categories/stl/index.xml +++ b/categories/stl/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 16 Feb 2020 00:55:00 +0000 diff --git a/categories/study/index.xml b/categories/study/index.xml index f6d5f14a..c3829ca0 100644 --- a/categories/study/index.xml +++ b/categories/study/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 30 Oct 2022 00:31:00 +0800 diff --git a/categories/thread/index.xml b/categories/thread/index.xml index 6a876dd0..77a6c913 100644 --- a/categories/thread/index.xml +++ b/categories/thread/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 24 Aug 2022 23:37:00 +0000 diff --git a/categories/ubuntu/index.xml b/categories/ubuntu/index.xml index 3b2f4157..e69872d7 100644 --- a/categories/ubuntu/index.xml +++ b/categories/ubuntu/index.xml @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Tue, 02 Nov 2021 01:16:00 +0000 diff --git "a/categories/\345\215\232\345\256\242\344\270\273\351\242\230/index.xml" "b/categories/\345\215\232\345\256\242\344\270\273\351\242\230/index.xml" index d2823708..015a1040 100644 --- "a/categories/\345\215\232\345\256\242\344\270\273\351\242\230/index.xml" +++ "b/categories/\345\215\232\345\256\242\344\270\273\351\242\230/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Tue, 03 May 2022 21:40:00 +0000 diff --git "a/categories/\346\213\274\345\244\232\345\244\232/index.xml" "b/categories/\346\213\274\345\244\232\345\244\232/index.xml" index a55cbe2a..c75396b5 100644 --- "a/categories/\346\213\274\345\244\232\345\244\232/index.xml" +++ "b/categories/\346\213\274\345\244\232\345\244\232/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Mon, 01 May 2023 23:35:01 +0800 diff --git "a/categories/\346\220\234\347\264\242/index.xml" "b/categories/\346\220\234\347\264\242/index.xml" index 6d69f0fb..57dbca95 100644 --- "a/categories/\346\220\234\347\264\242/index.xml" +++ "b/categories/\346\220\234\347\264\242/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Tue, 04 Feb 2020 23:02:00 +0000 diff --git "a/categories/\346\225\260\346\215\256\345\272\223/index.xml" "b/categories/\346\225\260\346\215\256\345\272\223/index.xml" index 9f948dbd..a7adb9be 100644 --- "a/categories/\346\225\260\346\215\256\345\272\223/index.xml" +++ "b/categories/\346\225\260\346\215\256\345\272\223/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Fri, 11 Sep 2020 00:08:00 +0000 diff --git "a/categories/\346\225\260\346\215\256\347\273\223\346\236\204/index.xml" "b/categories/\346\225\260\346\215\256\347\273\223\346\236\204/index.xml" index 76f70658..42b28277 100644 --- "a/categories/\346\225\260\346\215\256\347\273\223\346\236\204/index.xml" +++ "b/categories/\346\225\260\346\215\256\347\273\223\346\236\204/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Mon, 20 Apr 2020 01:25:00 +0000 diff --git "a/categories/\346\235\202\345\255\246/index.xml" "b/categories/\346\235\202\345\255\246/index.xml" index de4bbf0b..9804ec74 100644 --- "a/categories/\346\235\202\345\255\246/index.xml" +++ "b/categories/\346\235\202\345\255\246/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 18 Jul 2021 16:03:00 +0000 diff --git "a/categories/\346\235\202\350\260\210/index.xml" "b/categories/\346\235\202\350\260\210/index.xml" index c94eb3f6..fa6bb9f3 100644 --- "a/categories/\346\235\202\350\260\210/index.xml" +++ "b/categories/\346\235\202\350\260\210/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 30 Oct 2022 04:24:06 +0800 diff --git "a/categories/\347\236\216\346\212\230\350\205\276/index.xml" "b/categories/\347\236\216\346\212\230\350\205\276/index.xml" index 8717f3d2..6ce30035 100644 --- "a/categories/\347\236\216\346\212\230\350\205\276/index.xml" +++ "b/categories/\347\236\216\346\212\230\350\205\276/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 24 Apr 2022 13:46:00 +0000 diff --git "a/categories/\347\242\216\347\242\216\345\277\265/index.xml" "b/categories/\347\242\216\347\242\216\345\277\265/index.xml" index 43dd5701..21dc9c25 100644 --- "a/categories/\347\242\216\347\242\216\345\277\265/index.xml" +++ "b/categories/\347\242\216\347\242\216\345\277\265/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 03 Jan 2024 12:56:41 +0800 diff --git "a/categories/\347\245\236\347\273\217\347\275\221\347\273\234/index.xml" "b/categories/\347\245\236\347\273\217\347\275\221\347\273\234/index.xml" index f2f54298..2031258b 100644 --- "a/categories/\347\245\236\347\273\217\347\275\221\347\273\234/index.xml" +++ "b/categories/\347\245\236\347\273\217\347\275\221\347\273\234/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 16 May 2021 15:19:00 +0000 diff --git "a/categories/\347\273\217\351\252\214\345\210\206\344\272\253/index.xml" "b/categories/\347\273\217\351\252\214\345\210\206\344\272\253/index.xml" index 839cfa0e..9942cbba 100644 --- "a/categories/\347\273\217\351\252\214\345\210\206\344\272\253/index.xml" +++ "b/categories/\347\273\217\351\252\214\345\210\206\344\272\253/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 12 Nov 2023 23:36:41 +0800 diff --git "a/categories/\350\203\214\345\214\205/index.xml" "b/categories/\350\203\214\345\214\205/index.xml" index 38225cf8..cc27b7ad 100644 --- "a/categories/\350\203\214\345\214\205/index.xml" +++ "b/categories/\350\203\214\345\214\205/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Sun, 09 Feb 2020 00:38:00 +0000 diff --git "a/categories/\350\266\263\347\220\203\346\234\272\345\231\250\344\272\272\345\237\272\345\234\260/index.xml" "b/categories/\350\266\263\347\220\203\346\234\272\345\231\250\344\272\272\345\237\272\345\234\260/index.xml" index 6b7ac458..6d6ce67e 100644 --- "a/categories/\350\266\263\347\220\203\346\234\272\345\231\250\344\272\272\345\237\272\345\234\260/index.xml" +++ "b/categories/\350\266\263\347\220\203\346\234\272\345\231\250\344\272\272\345\237\272\345\234\260/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Fri, 30 Apr 2021 17:32:00 +0000 diff --git "a/categories/\351\232\217\347\254\224/index.xml" "b/categories/\351\232\217\347\254\224/index.xml" index 59b21d9e..b57c1a24 100644 --- "a/categories/\351\232\217\347\254\224/index.xml" +++ "b/categories/\351\232\217\347\254\224/index.xml" @@ -8,7 +8,7 @@ 62734001391548416 62689941916008448 - Hugo -- 0.139.3 + Hugo -- 0.140.0 en Wed, 01 Dec 2021 20:12:00 +0000 diff --git a/index.html b/index.html index 1d5205f0..77a8fb55 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -Zs's Blog +Zs's Blog
Profile avatar

zzsqwq

Do whatever you want.