作者: upsagel 時間: 2024-7-11 21:22 標題: Openwrt 路由器 Tailscale 版本升級方法
https://upsangel.com/openwrt/openwrt-tailscale-update
以下是對於網頁內容的總結:
OpenWRT中的Tailscale更新困難:由於社群維護和套件更新缺乏,OpenWRT的Tailscale版本停留在1.58。
如何縮減Tailscale體積:介紹了將客戶端和守護進程合併、省略調試信息和使用UPX壓縮來減少Tailscale的大小。
手動升級方法:提供了一個手動升級OpenWRT Tailscale的步驟,包括下載已壓縮的Tailscale程式和覆蓋原有的tailscaled。123
第三方Tailscale程式安全性:雖然沒有擔保,但提供了第三方Tailscale程式的自動編譯和壓縮過程,供用戶參考。
這些是文章中的主要觀點。希望這對您有幫助!
P.S. : COPILOT 的功力好似真係差過CHATGPT
作者: freshtomato 時間: 2024-7-12 13:44
本帖最後由 freshtomato 於 2024-7-12 06:06 編輯
為什麼這麼複雜,
I am using immortalwrt 23.05, it should same as openwrt.
Step 1, open putty.exe (SSH)
Step 2, login root/admin
Step 3, command line: tailscale status (show tailscale status)
Step 4, command line: tailscale down (shutdown tailscale)
Step 5, command line: tailscale update (Answer Y - for yes)
After a minute, tailscale update finish, reboot router.
作者: Eric j 時間: 2024-7-12 15:22
為什麼這麼複雜,
I am using immortalwrt 23.05, it should same as openwrt.
Step 1, open putty.exe ( ...
freshtomato 發表於 2024-7-12 13:44
師兄你睇完內文先答啦,你以上嗰啲command係人都識啦.
via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: popo1234 時間: 2024-7-12 16:57
本帖最後由 popo1234 於 2024-7-12 17:08 編輯
DELETE
作者: freshtomato 時間: 2024-7-12 21:20
回覆 3# Eric j
首先我不是你師兄,我師弟比較正常,知道地球上有几十億人,唔識Tailscale command 都是人!
樓主標題,update Tailscale version, 我只是寫出一个簡單答案(補充资料或個人經验)、 相对于樓主内容、我沒話樓主内容錯、只是相对我的内容複雜。亦可能有人覺得我的内容都唔明(每個人的能力不一样)、我沒話我的内容代替樓主、我只表達一個簡單方法解决其中一個問题。
我問點解樓主内容咁複雜?我隻router都是128MB ROM
我相信主流討論都是問問题或表达個人經验,唔係提出講了等於沒講的話, 香港人叫肺話。
最后希望大家都是建設性討論,例如可以話Tailscale 版本1.xx 之前是沒有Tailscale update , 又或者openwrt/x-wrt/rooter 那個版本用唔到呢個command。 又或者高手寫個openwrt package有GUI 去update Tailscale version, 都可以接受!
我用正式immortalwrt 版本23.05 ASUS rt-n18u, Exit node 用了半年多都设問题, 差不多每个月都Tailscale update command , 不過硬件性能好慢, 好穩定! 主力用新router WG, TS 備用! 分開router, 分開功能!
作者: Eric j 時間: 2024-7-12 23:14
本帖最後由 Eric j 於 2024-7-12 23:20 編輯
解決空間不足不能安裝tailscale update 可嘗試跟以下方法!本人實測試X86上可以的!
首先要確保/tmp,有足夠空間
1. tailscale update
2.mv /root/.cache/tailscale-update /tmp/tailscale-update #原本緩存檔案指向tmp
3.ln -s /tmp/tailscale-update /root/.cache/tailscale-update
4.tailscale update
5.service tailscale restart
基本上可以解決tailscale update 這句指令後出現錯誤!
廢話講完🥱
via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: fakeman 時間: 2024-7-13 04:32
x86 的話直接 expand 個 partition(但當然 upgrade OS 時要搞過)就夠位喇
作者: Eric j 時間: 2024-7-13 06:33
本帖最後由 Eric j 於 2024-7-13 06:37 編輯
以上嘅方法主要針對rom size比較細嘅arm router,回應返一樓upsangel遇到嘅問題,同埋而家主要都係用返official openwrt,其他改版嗰啲都係怕怕。
via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: mlyu 時間: 2024-7-13 09:49
唔知係咪 tailscale update 問題, 我用新版之後喺隻 router ping 唔到出街
ping 佢出 bad address
nslookup 佢出:
Server: 100.100.100.100
Address: 100.100.100.100:53
** server can't find openwrt.org: SERVFAIL
** server can't find openwrt.org: SERVFAIL
作者: Eric j 時間: 2024-7-13 10:10
本帖最後由 Eric j 於 2024-7-13 10:11 編輯
唔知係咪 tailscale update 問題, 我用新版之後喺隻 router ping 唔到出街
ping 佢出 bad address
nslookup ...
mlyu 發表於 2024-7-13 09:49
update 係唔會改變你之前 exite node嘅設定! 你睇下自己dns server 指咗去邊度。
via HKEPC IR 5.1.14 - Android(5.1.2F)[attach]2431820[/attach]
[attach]2431820[/attach]
[attach]2431820[/attach]
[attach]2431820[/attach]
[attach]2431820[/attach]
[attach]2431820[/attach]
[attach]2431820[/attach]
作者: mlyu 時間: 2024-7-13 10:12
update 係唔會改變你之前 exite node嘅設定! 你睇下自己dns server 指咗去邊度。
via HKEPC IR 5.1.14 ...
Eric j 發表於 2024-7-13 10:10
tailscale 改咗我個 resolv.conf 去咗 100.100.100.100
但佢叫我唔好自己改
作者: Eric j 時間: 2024-7-13 10:13
本帖最後由 Eric j 於 2024-7-13 10:18 編輯
你改息時候有冇加埋dns=false
唔簡單的例如以下這句,正常tailscale 就唔會指向自己嘅dns server
tailscale up --advertise-routes=192.168.1.0/24 --accept-routes --advertise-exit-node --netfilter-mode=off
via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: mlyu 時間: 2024-7-13 10:18
startup tailscale 時加咗都冇用
作者: Eric j 時間: 2024-7-13 10:19
呢個問題最初我都遇到過就係因為以上我講嘅
via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: mlyu 時間: 2024-7-13 10:20
tailscale up 時用咗 --accept-dns=false
tailscale website 度 disable 埋 MagicDNS
都係唔得
作者: Eric j 時間: 2024-7-13 10:27
本帖最後由 Eric j 於 2024-7-13 10:31 編輯
tailscale up 時用咗 --accept-dns=false
tailscale website 度 disable 埋 MagicDNS
都係唔得 ...
mlyu 發表於 2024-7-13 10:20
噉你要睇下你自己嘅openwrt dns 設置嘅問題?
附件嘅圖就係昨天晚上我update完tailscale
restart service 之後到工作一切正常
via HKEPC IR 5.1.14 - Android(5.1.2F)[attach]2431821[/attach]
[attach]2431821[/attach]
[attach]2431821[/attach]
作者: mlyu 時間: 2024-7-13 14:48
我要喺 resolv.conf 加返其他 dns nameserver 先得, 以前唔使
作者: popo1234 時間: 2024-7-13 16:43
借題一問
MI mini wifi openwrt 裝完tailscale, common line: tailscale up
出 access denies
web介面都用唔到, 請問咩問題

