Skip to content

Commit

Permalink
doc(weeklynote): add 2024-11-21
Browse files Browse the repository at this point in the history
Signed-off-by: Chun-Yu Lee (Mat) <[email protected]>
  • Loading branch information
matlinuxer2 committed Nov 22, 2024
1 parent 13859a8 commit 3465ed6
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions weeklynote/2024-11-21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# 2024-11-21

- FlyPie
- PL
- 林博仁 Buo-ren Lin
- Mat
- 哲佑
- Shawn
- Johnny Sung
- Kanru
- hychen(tyson)
- Timothy_Su
- Marty
- Pellaeon
- Shelandy
- Jimmylin
- RJ


## Kanru

- [LocalSend: Share files to nearby devices](https://localsend.org/)
- [rano-oss/chewingwl](https://github.com/rano-oss/chewingwl)
- 酷音的純 Rust 界面,給 cosmic desktop 的實驗性專案


## brlin

- [there’s no way they did this.. - YouTube](https://www.youtube.com/watch?v=-vpGswuYVg8)
- [SponsorshipProcess - Ubuntu Wiki](https://wiki.ubuntu.com/SponsorshipProcess)
- [Ubuntu Patch Pilots \| Ubuntu](https://ubuntu.com/community/contribute/ubuntu-development/ubuntu-patch-pilots)
- [RichiH/vcsh: config manager based on Git](https://github.com/RichiH/vcsh)
- https://github.com/brlin-tw/vcsh-githttps://gitlab.com/brlin/brlin-os-customizations/-/blob/v2.11.0/tasks/main.yml?ref_type=tags#L87
- https://mirror.twds.com.tw/ubuntu-ports/
- [61Wh battery lifetime extender functionality and warranty - Framework Team - Framework Community](https://community.frame.work/t/61wh-battery-lifetime-extender-functionality-and-warranty/59580)


## Marty

- [The Timebeat Store - Ultimate Solution for Time Synchronisation](https://store.timebeat.app/)


## Mat

- 文摘
- [開箱 Framework 13 吋 DIY 版筆電](https://kanru.info/framework-laptop-13-amd/)
- Configure Pi Zero W as a USB Flash Drive


## Issue: `systemd-resolved` and `/etc/resolv.conf`

FlyPie 問到:

> 最近在自己的 LAN 架 DNS,原本以為是 pi-hole 的問題,但是查到的資料不是停用 `systemd-resolved` ;就是不要讓 `/etc/resolv.conf` link 到 `/run/systemd/resolve/stub-resolv.conf` ,剛剛照著做確實也解決問題了,不過這給我了疑問: `systemd-resolved` 是什麼壞東西嗎?如果是壞東西為什麼我的 Ubuntu 上跑著它?
RJ:

> `systemd-resolved` 就是個...不會設就很容易炸掉的東西吧
> 我之前設置 WireGuard Server 時有設定 DNS 項目的話也會卡在這邊
> Systemd-resolved 就是 Systemd 大禮包中官方指定負責 DNS resolve 的元件,理論上的官方作法...實務上要更改 DNS resolve 時,如果沒有去研究 Systemd-resolved 的話就會被卡住...像我就懶得沒空研究所以直接放棄去增加 WireGuard 的 DNS resolve 設定
Mat:

> 之前 RPi 裝 NetworkManager 也是為 systemd-resolved 所苦。查了一下筆記,找到一些先進們曾發表過的內容,提供給大家參考:
>
> - 2017-07-21 , https://blog.longwin.com.tw/2017/07/linux-network-interface-dn-server-query-status-2017/
>
> - 2022-12-11 , https://nyllep.wordpress.com/2022/12/11/pihole-conflict-systemdresolved/
>
> - 2024-01-08 , https://blog.gslin.org/archives/2024/01/08/11570/systemd-%e7%9a%84%e5%95%8f%e9%a1%8c/
kyli:

> 以自身在 Ubuntu 上跟 systemd-resolved 打交道經驗得到的結論是:盡量把網路的設定集中交給 NetworkManager,包含 WireGuard 在內。不要混用多種網路設定的機制(如 wg-quick),且設定時最好用官方 interface(nmtui、nmcli),不要手改設定檔。尤其是到了 24.04,因為 netplan 的關係,是多個 modules 協作,手改設定檔行為會更加無法預測。
>
> https://netplan.io/#how-does-it-work
>
> NetworkManager 身為唯二 netplan 支援的 renderers,如果再考慮 WireGuard 支援度,大概就變成了唯一選項。
>
> systemd-resolved 是那些東西的下游,只是多包一層,上游還是 NetworkManager 裡面設定的 resolver。管好上游,除非必要,不要去動官方下游水管的接法。

0 comments on commit 3465ed6

Please sign in to comment.