20200302_jeffrey - silenceuncrio/diary GitHub Wiki

0905

這個禮拜的 review list


M300 - task

  • [100%] P1 - allnet - 評估 PPTP client 實作的可能性以及要花多少時間
    • 業務表示目前不需要
  • [30%] P2 - irene - check online manual

M300 - issue

  • [80%] 922: sometimes when browser issue cgi request, some cgi will response 401 even we already login
    • [100%] M300; [100%] M330; [100%] M350-C(SDK6.11); [100%] M350-C(SDK10.0.0)
    • [0%] M360P
  • [100%] 0000939: on M300-TXG, if upgrade fw from 1.77 to 2.04, DUT can't show bootloader version, image MCSV, active partition

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到

M300 - misc

  • [30%] jubuntu - M300 compile 環境
    • Building the Docker image - build-m300 - 失敗

M330 - task

  • [100%] release/v1.01 at 2020-03-09 for RS485
    • [New] add 'MD5 Authentication' for BGP
    • [New] offer a checkbox to control whether auto show the setting wizard after login
  • [70%] P4 - CTCU - Web UI: GPS Track drawing(Server)
  • [0%] P4 - Airtel - BGP Attributers shall be supported
    • 可以問 winston 試著跟他那邊的 bgp 進度同步一下
  • [0%] P4 - Airtel - GUI Display LTE Signal strength indicator
  • [0%] P4 - Airtel - Upon Failure of above comparision, ...

M330 - issue

M330 - bug

  • [100%] (sometimes after factory default) error reading file schedule_reboot.json at boot int
    • use IsBootInitProcess() to check and do things after the boot init done
  • [100%] online manual - management > identification 缺少一些項目的描述, 例如 wifi 和 fota
  • [0%] 改了 status 頁面 th 的寬度 firmware upgrade 後 reboot - status page 會使用 cache 的舊 page

M350-C(SDK6.11) - task

  • [100%] P1 - release v0.01
    • 後續的 release 就由 M350-C(SDK10.0.0) 負責
    • 該 repository 不再 maintain
  • [100%] 是否可從 v0.01(SDK6.11) 經由 firmware upgrade 到 v0.02(SDK10.0.0)
    • 是; 反之亦可
  • [0%] P2 - irene - check online manual

M350-C(SDK6.11) - bug

  • [0%] web ui firmware upgrade 進度條從 55% 瞬移到 100%

M350-C(SDK10.0.0) - task

  • [30%] P1 - release v0.02 to DQA - 2020-03-12
  • [100%] P1 - function test - IP Routing > RIP
  • [100%] P1 - function test - IP Routing > OSPF
  • [100%] P1 - function test - IP Routing > BGP
  • [100%] P1 - function test - VPN > PPTP Server
  • [100%] P1 - function test - VPN > GRE
  • [100%] P1 - function test - Firewall > DMZ
  • [100%] P1 - function test - Service > VRRP
  • [100%] P1 - function test - Diagnosis > Ping
  • [100%] P1 - function test - Diagnosis > Traceroute
  • [100%] P1 - function test - Management > Schedule Reboot
  • [80%] P2 - check online manual

M350-C(SDK10.0.0) - bug

  • [100%] 'WiFi Only' option appear at setting wizard but the devise has no wifi function

M350-C(SDK10.0.0) - misc

  • [100%] login page 可以 toggle password visibility
  • [100%] 利用 ng-include 整理 status page
  • [100%] Management > Administration 可以 toggle password visibility
  • [100%] WAN > Ethernet 可以 toggle password visibility
  • [100%] LTE > APN Config 可以 toggle password visibility
  • [100%] Service > TR069 可以 toggle password visibility
  • [100%] Service > SMTP 可以 toggle password visibility
  • [100%] CGI 是否能被 MQTT 使用
    • MQTT 最好還是直接呼叫 icos 來的乾脆
  • [20%] 呈現在同一個畫面的 table 最好每一個 td 都能一樣寬 例如 status
  • [10%] 跨 repository 間 code 的 sync - 培養功力
  • [0%] 已有 LTE > GPS Track; 那是否把 banner 的 Google Map 拿掉

M360P - task

  • [0%] P1 - Release V1.07 at 2020-03-09
  • [0%] P2 - Airtel - BGP status for every neighbors
  • [0%] P2 - irene - check online manual

M360P - issue

  • [20%] - 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...

task

  • [60%] P2 - 幫公司繳 apple 年費
    • 雙重認證 搞定了 但登入後沒有出現 renew 帳號的按鈕
  • [0%] P2 - 病假待補證明 - 碘 131 隔離期間

0915

M350-C(SDK10.0.0) - task - [0%] P1 - release to DQA

jubuntu 上的 m350-c(develop)

  • proscend 外層已經 compile 完畢

profile 選擇 CTCU/0_CTCU


參考 使用 Git 時如何做出跨 repo 的 cherry-pick

1150

M350-C(SDK10.0.0) - task - [0%] P1 - release to DQA

從 M350-C(SDK6.11) sync 的差不多了

ariel 的部分 sync 影響了我不少部分

但我也多了些直接修改 patch file 的經驗值

compile 也過了 下午再來測試

1425

M350-C(SDK10.0.0) - task - [0%] P1 - release to DQA

發現 M350_defconfig 都還沒 sync 呢

發現 m350-c/M350_defconfig 裡也沒有 CONFIG_PACKAGE_keepalived=y

這是 VRRP 需要的 package

sync 完要先 build proscend 外層了

離開 build-m350-c container 再進來

直接在 proscend 外層

  1. source proenv.sh
  2. make

1510

M360P - issue - [20%] - 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...

簡單列一下目前測試環境

+---------------------------------------------------------------+
|                                                               |
|                           Internet                            |
|                                                               |
+---+-------------------------------------------------------+---+
    |                                                       |
    | WAN LTE                                               | WAN Ethernet
    | Operator          Chunghwa Telecom                    |
    | IMSI              466924133134068                     |
    | IPv4 Address      211.20.26.79                        | IPv4 Address      60.250.198.240
    | IPv4 Mask         255.255.255.224                     | IPv4 Mask         255.255.255.0
    | Default Gateway   211.20.26.80                        | Default Gateway   60.250.198.254
    |                                                       |
+---+---+                                               +-------+
|       |                                               |       |
| M360P +-----------------------+-----------------------+ M330  |
|       | 192.168.1.1           |          192.168.10.1 |       |
+-------+                       |                       +-------+
                  192.168.1.113 | 192.168.10.113
                            +---+---+
                            |       |
                            | PC    |
                            |       |
                            +-------+

1550

M350-C(SDK10.0.0) - task - [0%] P1 - release to DQA

proscend 外層再度 compile 完成

proscend 內層 build 完後回到 外層使用 ./build-image.sh

得到 artifact/nornand-ipq40xx-single.img

使用 uboot 來作 upgrade

lighttpd 已經能正常啟動

而且我也成功透過 web 作了一次 firmware upgrade

1630

M350-C(SDK10.0.0) - task - [0%] P1 - function test - - Diagnosis > Ping

簡單 ping 自己 lan 端的 PC

PASS


M350-C(SDK10.0.0) - task - [0%] P1 - function test - - Diagnosis > Traceroute

簡單 traceroute 自己 lan 端的 PC

PASS


M350-C(SDK10.0.0) - task - [0%] P1 - function test - - IP Routing > RIP

跟 M330 對測一下

PASS


M350-C(SDK10.0.0) - task - [0%] P1 - function test - - IP Routing > OSPF

跟 M330 對測一下

PASS


M350-C(SDK10.0.0) - task - [0%] P1 - function test - - IP Routing > BGP

跟 M330 對測一下

PASS


M350-C(SDK10.0.0) - task - [100%] P1 - function test - - VPN > PPTP Server

與 PC 對測 - PASS

PASS


M350-C(SDK10.0.0) - task - [0%] P1 - function test - - Service > VRRP

參考以下 wikis 作測試

測試 PASS