Thursday, December 30, 2021

Windows 7 Certificate 過期之迷

 起咗個 VM with Win7, 點知去好多網站去話 SSL 張 cert 過期或者 invalid。連去 Microsoft o既網站都一樣。估計係之前 SSL 好似更新咗個 version,導致到一堆 cert no longer valid,係連 root 張 cert 都 invalid。搞到連啲 clickonce o既 app 都裝唔到。

最終好彩都俾我 search 到 solution。就係裝翻 Microsoft o既 KB update 喇。

Windows6.1-KB2813430-x64
Download Security Update for Windows 7 for x64-based Systems (KB2813430) from Official Microsoft Download Center

Windows6.1-KB3004394-v2-x64
Download Update for Windows 7 for x64-based Systems (KB3004394) from Official Microsoft Download Center

Windows6.1-KB2677070-x64
Download Update for Windows 7 for x64-based Systems (KB2677070) from Official Microsoft Download Center

裝完就應該藥到病除。屌。。。搞咗三個鐘以上去搞原因,上網又搵唔到人講呢個問題。仆你街,唔同得我先遇到呢個問題?

Friday, November 26, 2021

Unifi Controller 由 DSM 的 docker 轉去 Oracle Cloud

唔知咩原因,突然唔想個 unifi controller host 喺自己個 docker 度。於是乎上網睇有咩解決方法。

原本係想買個 Unifi Cloud Key 解決算數,諗住放返喺自己個 intranet 度。Cloud Key Gen 1 好似俾人投訴有問題,跟住就睇下 Gen2,但Gen2件嘢又要成 $179。二手o既都成一舊水。跟住上網問下啲網友,佢地個個都話唔值得買,問我想點。跟住就變成 host 喺 cloud 度。

其實原理就係用各大台o既 virtual machine, Azure, AWS, GCP 或者係 OCI。而我呢次試用 OCI。

我就係跟住呢個 Github link 去做:https://github.com/MallocArray/Unifi-OracleCloud

就當你成功起好個 VM 同 Unifi Controller 之後:

  1. 首先係去原本個 controller 度 backup 返個 configuration 出嚟。
  2. 然後就去新個 controller 度 import 返個 configuration。
  3. 再 SSH 入去你每隻 AP 度 set-inform,指返去新 controller o既地址。

等一陣,啲  APs 應該會斷一線,再過一陣,一切就回復正常。再去新 controller 度一 check, 啲嘢 up 返晒。

有兩樣嘢注意:

  1. Unifi UI login 要開返 2FA,以免俾人撞中密碼。
  2. OCI 起佢嗰時記得入個 SSH public key。咁當然首先要 generate a set of SSH key,咁樣你個 VM 即使面向公海都會相對安全。
呢一次o既操作令我叫做跟返上個潮流玩 cloud service。歡迎有緣人交流交流下。

Wednesday, July 21, 2021

How to reset toner counter in Brother HL-L2370DW

Remember to remove the small PCB (the chip) from your old starter/genuine toner and get it installed to your new 3rd party toner replacement.

  1. Open toner cover
  2. Press and release the "Back" and "Green" buttons at the same time and then press the "Back" button again.
  3. "TNR-STR" will show up
  4. Use "UP" or "Down" button to select "TNR-HC" and then press the "OK" button
  5. Printer should display "Reset" and "Exit", Choose the option to reset.
  6. The display will briefly say "Accepted". 
  7. Close the printer's front cover. 

 Here are the options that will come up on the display:

TNR-STR – starter toner cartridge
TNR-STD – standard capacity toner cartridge
TNR-HC – high capacity toner cartridge
TNR-S.HC – super high capacity toner cartridge