最近看到一篇文章 (Telegram bot notification),提到可以透過 Telegram 來發送 NAS 的系統通知,趕緊依樣畫葫蘆照著試試竟然一次就成功,於是立刻紀錄一下,免得之後又忘了。
Read more

隨手寫些想到的東西
最近看到一篇文章 (Telegram bot notification),提到可以透過 Telegram 來發送 NAS 的系統通知,趕緊依樣畫葫蘆照著試試竟然一次就成功,於是立刻紀錄一下,免得之後又忘了。
Read more
一樣是寫來自己記錄用的
某天檢視RT-AC86U的syslog發現一直出現以下訊息。Google了一下發現應該是kernel中有關Firewall rule的hash table設定過小,當連線數量大時,就容易出現下列訊息。
Oct 2 21:56:02 kernel: nf_conntrack: expectation table full Oct 2 21:56:02 kernel: nf_conntrack: expectation table full Oct 2 21:56:02 kernel: nf_conntrack: expectation table full Oct 2 21:56:02 kernel: nf_conntrack: expectation table full Oct 2 21:56:02 kernel: nf_conntrack: expectation table full Oct 2 21:56:03 kernel: nf_conntrack: expectation table full Oct 2 21:56:03 kernel: nf_conntrack: expectation table full Oct 2 21:56:03 kernel: nf_conntrack: expectation table full Oct 2 21:56:03 kernel: nf_conntrack: expectation table full Read more
在購入新的 DS1819+ 之後,服役了7年的 DS1511+ 就退為專職備份的機器。DS1511+ 的任務就是平常冷關機,待預定備份時間到就自動啟動,同時 DS1819+ 開始將資料往 DS1511+ 進行備份。但偶爾總是臨時需要使用一下 DS1511+,但又不在機器旁邊時(像是遠端連回家中處理)該如何啟動 DS1511+ 呢?當然就是啟用 WOL(Wake-On-LAN)啦。
Read more
這次為了去日本東京迪士尼,特地買了 GoPro Hero 7 Black 來錄遊行的畫面。
不過回來台灣以後,找了很久並沒有找到適合的視窗介面軟體可以不需要轉換檔案格式,直接將 GoPro Hero 7 所產生的 HEVC 影像檔進行合併,後來還是用 ffmpeg + script 來解決比較快,不但合併速度快,而且因為沒有進行轉檔,畫質完全沒有損失。最近腦容量越來越小,還是筆記一下,免得之後又要重新喚起記憶。
2019/02/04
Read more
dd if=/dev/zero of=/tmp/mnt/sda1/myswap.swp bs=1k count=262144
mkswap /tmp/mnt/sda1/myswap.swp swapon /tmp/mnt/sda1/myswap.swp
執行 free 指令確認 swap 已生效