Skip to content

Commit

Permalink
fix: 补充 NAS 设置
Browse files Browse the repository at this point in the history
  • Loading branch information
zzsqwq committed Dec 19, 2024
1 parent 8e82230 commit 9f6e4a3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions content/posts/configure-ugreen-nas-eui64.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,20 @@ sudo systemctl restart systemd-networkd



---

补充:

后续使用发现绿联每次启动的时候并不会遵守 systemd-networkd 的这个设定,所以还是会自动生成一个 stable-privacy 地址,因此需要每次开启重启一下 systemd-networkd。

绿联 NAS 的 rc.local 文件是自动生成的,所以不建议在里面修改会被自动覆盖,使用 crontab 在 root 用户下添加重启任务即可。

首先 `sudo -i` 切换到 root 用户,然后使用 `crontab -e` 打开定时任务编辑文件,向其中添加:

```bash
@reboot systemctl restart systemd-networkd
```

然后重启系统验证只存在 eui64 地址

[^1]:https://www.v2ex.com/t/1004926

0 comments on commit 9f6e4a3

Please sign in to comment.