This commit is contained in:
louiscklaw
2025-02-01 20:19:28 +08:00
commit 8013ac2455
274 changed files with 26971 additions and 0 deletions

14
.editorconfig Normal file
View File

@@ -0,0 +1,14 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
[*.md]
indent_size = 2
trim_trailing_whitespace = true

29
.gitattributes vendored Normal file
View File

@@ -0,0 +1,29 @@
*.mp4 filter=lfs diff=lfs merge=lfs
*.zip filter=lfs diff=lfs merge=lfs
*.7z filter=lfs diff=lfs merge=lfs
*.tar.gz filter=lfs diff=lfs merge=lfs
*.jpg filter=lfs diff=lfs merge=lfs
*.png filter=lfs diff=lfs merge=lfs
*.avif filter=lfs diff=lfs merge=lfs
# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.gif filter=lfs diff=lfs merge=lfs
*.GIF filter=lfs diff=lfs merge=lfs
*.bmp filter=lfs diff=lfs merge=lfs
*.BMP filter=lfs diff=lfs merge=lfs
*.tiff filter=lfs diff=lfs merge=lfs
*.TIFF filter=lfs diff=lfs merge=lfs
*.wav filter=lfs diff=lfs merge=lfs
*.WAV filter=lfs diff=lfs merge=lfs
*.log filter=lfs diff=lfs merge=lfs

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_del

4
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,4 @@
{
"git.ignoreLimitWarning": true,
"editor.formatOnSave": true
}

View File

@@ -0,0 +1,22 @@
你好!請你留下你的問題和 email 地址,我會儘快回覆你! (歡迎透過下列方法與我聯絡謝謝: 電郵 shop@upsangel.com 或 Telegram @upsangelhk 或 WhatsApp +85260341437
## contact
upsangel@gmail.com 或 WhatsApp 60981711 thx
https://www.facebook.com/upsangelhk
https://www.linkedin.com/in/charles-wong-2a46a184/
https://upsangel.medium.com/為什麼我不會買nordvpn-但大家都-推薦-的秘密-by-upsangel-9b173c1c4079
https://ithelp.ithome.com.tw/articles/10283642
https://www.instagram.com/upsangel/reel/C7ocJX2gV5X/
https://www.hkepc.com/forum/viewthread.php?fid=219&tid=2732669&page=1
https://shop.upsangel.com/
2025-01-14 1760 單
## 我開左帳號
https://www.carousell.com.hk/u/upsangel/
upsangel.hk@gmail.com
24p69gki

Binary file not shown.

BIN
001_router/draft/chrome_YhwUOcsnDb.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
001_router/draft/chrome_uMpuMTWiUB.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,8 @@
# 除錯 / 疑難排解
## 當 前路由/ 旁路由 的網路器壞掉時
| 方案 | 前路由 | 旁路由 |
| ----------------------------------------- | ---------------- | ---------------- |
|  普通網路 (e.g. google.com, youtube.com) |   ❌ 不能上網  |   ✅ 能上網  |
|  需要 vpn 的網路 (e.g. ChatGPT / Gemini) | ❌ 不能上網  |   ❌ 不能上網  |

BIN
001_router/draft/image-1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
001_router/draft/image-2.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

86
001_router/draft/notes.md Normal file
View File

@@ -0,0 +1,86 @@
# 理解前置路由
https://www.youtube.com/watch?v=PQLWDww15EU
##
## 前路由接駁方式
- 網路結構比較
- 前路由,串接於光貓同舊路由器之間,接駁之後,舊路由器轉做 ap
- 旁路由,並排於其他裝置之間,接駁之後,會拈一個 lan port
- 目標對像
- 前路由: 原片講係為不懂網路的人而設
- 旁路由: 為懂網路的人而設
- 優缺點
- 性能
- 因為網路節點處理每一個封包都需要時間,處理封包時間會反映在兩個參考指標上
- 頻寬 (bandwidth)
- 延遲 (latency)
- 前路由 (以無線網路為例):
- 需要 vpn 的封包: 因為封包物理上會經過 ap , 前路由 和 vpn, 所以整個設置 (setup) 樽頸會在前路由, ap 和 vpn 的 bandwidth 之間,取最小值
- 不需要 vpn 的封包: 成個設置樽頸會在前路由和 ap 的 bandwidth 之間,取最小值
- 旁路由 (以無線網路為例):
- 需要 vpn 的封包: 成個設置樽頸會在路由, ap 和 vpn 的 bandwidth 之間,取最小值
- 不需要 vpn 的封包: 成個設置樽頸會在前路由和 ap 的 bandwidth 之間,取最小值
- 除錯 / 疑難排解
- 前路由,致命傷就係當前路由器壞掉,成個網路會上唔到網
- 旁路由,如果旁路由壞掉,需要 vpn 部份不能連線,其他功能正常
- [](C:_workspace\000_notes\拆穿前置路由\draft\fault_table.md)
- 背後支援
- 軟件黎講一樣
- openwrt
- openclash / iStoreOs / 飛牛
- 網路佈線
- 前路由 好可能得佢一個會咁駁
- 軟路由/旁路由 github/csdn/知乎/小紅書
- 其實翻牆點解唔學大陸做法?
- 硬件
- 成本 / 價錢
- 前路由 貴
- 總結 & 個人意見
## 前路由優點
- 路據封包內容去 route 野
## 前路由缺點
- 增加排難復雜性
- 安全性
- 影片提到可以做埋類似 nas 功能
- 將 nas 放左係防火牆之前
- 原本路由器變左做個 AP
- 變左買貴左
- 點解有大社群支持嘅 project 唔用而用呢個 project ?
- 佢價錢唔算平
- 其實個價錢已經可以買到平 NAS
- 護城河
## 論點
【零設定】一分鐘擁有私人 VPN server - Ups-Pi VPN+ 迷你 VPN 伺服器一插即用 30 秒使用教學 quick setup
![alt text](chrome_uMpuMTWiUB.png)
![alt text](image.png)
![alt text](image-1.png)
immorialwrp + x-ray
![alt text](image-2.png)
---
https://www.youtube.com/watch?v=RWOz3UXtJ_k
缺點:
跟最慢果個 device 速度
https://docs.google.com/presentation/d/1DebyY_nBIS0TyMDrqq9nQsfmtOJiVUDtGENXX0F1SAc/edit#slide=id.g31c85ac47f8_0_596
---
---
end
---

25
001_router/plan.md Normal file
View File

@@ -0,0 +1,25 @@
https://item.taobao.com/item.htm?abbucket=5&id=688210792105&ns=1&pisk=gQIxEaVBb7V0iUVLgizkIhp_cz2okzX4isWIjCAm5_CRCQmg3n4wX1dR_IYDcIm9XOCNs1Ba3dO111dGozqh3t-wfWfTxkXqEg_Yq1LXfLM5Up3jlzYbitti3WV3xk4jFhFYts2cnJZWppt6hFTsN8pMCdi11Fi5FQJwCj9sc8eJQQ9slqO6F09Mhcg11dMSFdp91jgX536WKQO6fh11F8ptB2HvsxOtXwdWmP3x2boIAgpvkCnDZcpF0DYwOgdSm7bXHXRChQnsXIXTxLWRnSnFEnSh9pf0VmCdC976yGh79CSRFi_1UjF6UN1DVIxQlYKc0t_B5MNZ56KA6esXyAivV3d62LsQI2Rl2If1DUwnvFx5xetfrzPDSnpd1i5xBc1CE9j2zGFKNC7DL39ObJg96FsPqMjLGNhH9d0be83Z7E9PuKxd6QbMeSvJt80o7V8kULd3e83Z7E9yeB2oFVuwrL5..&priceTId=2100c89517367975743597195e0bf2&skuId=5380523845510&spm=a21n57.1.hoverItem.5&utparam=%7B%22aplus_abtest%22%3A%225d3e632c658bc7382ac1fa99e83dc513%22%7D&xxc=taobaoSearch
## Resources
https://fw.koolcenter.com/
梅林
飛牛
iStoreOs
Openwrt
https://www.xiaohongshu.com/explore/6460b6a40000000007039deb?xsec_token=AB__9WRrwfdLx1D5XsstJxn5VDupUdHYK1JSBug7n8p2Q=&xsec_source=pc_search&source=web_search_result_notes
## budget
Cudy 多酷 TR3000 迷你路由器
RMB 209 - 30 = 179
https://www.pcmarket.com.hk/pc-walker-20231022-cudy-tr3000-travel-router
Orange pi 300
5 port hubs 100
5V4A type c power supply 20
https://preview.themeforest.net/item/applied-essential-blog-theme-for-modern-content-creators/full_screen_preview/52063436
https://www.3forty.media/applied/demo-4/ 500

BIN
001_router/plan/image-1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
001_router/plan/image.png (Stored with Git LFS) Normal file

Binary file not shown.

50
001_router/plan/main.md Normal file
View File

@@ -0,0 +1,50 @@
# nano-pi r2s
## taobao
https://item.taobao.com/item.htm?abbucket=5&id=688210792105
R2S PLUS 金属整机+ WIFI 模快+天线 RMB 311
![alt text](image.png)
![alt text](image-1.png)
==R2C 资料==
WiKi 维基教程(固件介绍,使用说明,操作步骤等)
http://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2C
其他系统固件下载
http://download.friendlyelec.com/nanopir2c
原理图(pdf 格式)
https://wiki.friendlyelec.com/wiki/images/b/b1/NanoPi_R2C_2107_SCH.pdf
尺寸图(dxf 格式)
https://wiki.friendlyelec.com/wiki/index.php/File:NanoPi_R2C_2107_PCB_DXF.zip
如何在 NanoPi RCS 上使用 USB WiFi 作为 AP
http://wiki.friendlyelec.com/wiki/index.php
如何在 NanoPi RCS 上通过 Docker 运行使用 JellyFin 影音服务器
http://wiki.friendlyelec.com/wiki/index.php/How_to_setup_JellyFin_media_system_on_NanoPi-R2S/zh
==R2S 资料==
WiKi 维基教程
http://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S
系统固件和源代码下载
http://download.friendlyelec.com/nanopir2s
原理图
http://wiki.friendlyelec.com/wiki/images/5/59/SCH_NanoPi_R2S_V1.0-1912.pdf
PCB 尺寸图
http://wiki.friendlyelec.com/wiki/index.php/File:Dimension_NanoPi_R2S_V1.0-1912_PCB.rar
RKA3328 芯片手册
http://wiki.friendlyelec.com/wiki/images/d/d7/Rockchip_RK3328_Datasheet_V1.1-20170309.pdf
在 NanoPi R2S 上使用 USB WiFi 作为 AP
http://wiki.friendlyelec.com/wiki/index.php
在 NanoPi R2S 上通过 Docker 运行使用 JellyFin 影音服务器
http://wiki.friendlyelec.com/wiki/index.php/How_to_setup_JellyFin_media_system_on_NanoPi-R2S/zh
==R2S PLUS 资料==
WiKi 维基教程(固件介绍,使用说明,操作步骤等)
http://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S_Plus
固件下载地址
https://dl.friendlyelec.com/nanopir2s
R2S Plus 刷机操作步骤
http://www.aiothome.net/read.php?tid-290980.html

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More