20181011_jeffrey - silenceuncrio/diary GitHub Wiki

0910

review

切回 52XXZ

待作項目還漏了一項

  • (BGP): Loop back interface

不過我先修一下 web upgrade 大概有 6% 機率會卡在 99% 的 bug

就跟 M360 一樣的解法 - (20181008_jeffrey#1705)[https://github.com/silenceuncrio/diary/wiki/20181008_jeffrey#1705]

不過先 pull 最新的 code 再說

發現 compile 的 virtual box 有點慢 先把 ubuntu host 重開機一下

0940

ubuntu host 重開後果然感覺沒那麼慢了

build image... ok

upgrade via uboot... ok

修改 proscend/prosrc/icos/script/FirmwareUpgrade.sh 如下

@@ -85,6 +85,18 @@ function finish {
   log "\nfirmware upgrade shell script succeeded"
   log "finished"
   progress_ok "firmware upgrade succeeded"
+  sleep 1
+  log "finished"
+  progress_ok "firmware upgrade succeeded"
+  sleep 1
+  log "finished"
+  progress_ok "firmware upgrade succeeded"
+  sleep 1
+  log "finished"
+  progress_ok "firmware upgrade succeeded"
+  sleep 1
+  log "finished"
+  progress_ok "firmware upgrade succeeded"
 }

看看有沒有比 M360 效果更好

多測個幾次確保沒啥副作用後就 commit

上 code

commit e442429630b02123422297da6a575cfaf7ad4ef6
Refs: [develop], {origin/develop}, {origin/HEAD}
Author: jeffrey <[email protected]>
Date:   Thu Oct 11 10:07:12 2018 +0800

    use a stupid way to solve the 'forever 99% while upgrading via web
    - issue occuring rate around 6%

 proscend/prosrc/icos/script/FirmwareUpgrade.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

1010

(BGP): Loop back interface 開工

先搞定 Service / IP Alias 頁面

commit c6b4b1a1c5a3c824b018b42e4737117cd96bab50
Refs: [develop], {origin/develop}, {origin/HEAD}
Author: jeffrey <[email protected]>
Date:   Thu Oct 11 10:23:38 2018 +0800

    add 'loopback' interface option at 'Service / IP Alias' web page

 proscend/prosrc/www/app/feature/ip_alias.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

再搞定 IP Routing / BGP Neighbors

commit 9552274e51d9871976345f8afb8055321566b965
Refs: [develop], {origin/develop}, {origin/HEAD}
Author: jeffrey <[email protected]>
Date:   Thu Oct 11 10:41:20 2018 +0800

    add 2 more fields at 'IP Routing / BGP Neighbors' for user to specify the source address to this neighbor
    - Update Source Mode - Whether to specify the source address to this neighbor
    - Update Source Address - The source address to this neighbor

 proscend/prosrc/icos/icoslib/bgp/bgp.c    | 37 +++++++++++++++++++++++++++++++
 proscend/prosrc/icos/include/module_bgp.h | 18 +++++++++++++++
 proscend/prosrc/www/app/feature/bgp.html  | 27 ++++++++++++++++++++++
 proscend/prosrc/www/app/feature/bgp.js    | 13 ++++++-----
 proscend/prosrc/www/app/locale-en.json    |  2 ++
 proscend/prosrc/www/app/locale-fr.json    |  2 ++
 proscend/prosrc/www/app/locale-zh-tw.json |  2 ++
 7 files changed, 96 insertions(+), 5 deletions(-)

發現 web 有 PPTP Server 並不在被要求的功能內

先拿掉

update 一下 release note

1100

52XXZ 暫時告一段落

monkeyjj time...

1455

ariel 跟我聊一下

想說 M300 NHRP 的 schedule 壓個兩個禮拜

壓到 11-16

我想我有空就可以開始先偷跑了

1615

52XXZ 還有一個工作項目

幫 ariel 作 Default Gateway 的 Web UI

commit f9ac6e34de487674b93c547f23cda60c214e4799
Refs: [develop], {origin/develop}, {origin/HEAD}
Author: jeffrey <[email protected]>
Date:   Thu Oct 11 16:18:19 2018 +0800

    add 'IP Routing / Default Gateway' web page

 proscend/prosrc/webcgi/connmgr.c                 | 43 +++++++++++++++++++++++
 proscend/prosrc/www/app/feature/no_gw.html       | 41 ++++++++++++++++++++++
 proscend/prosrc/www/app/feature/no_gw.js         | 44 ++++++++++++++++++++++++
 proscend/prosrc/www/app/locale-en.json           |  8 +++++
 proscend/prosrc/www/app/locale-fr.json           |  8 +++++
 proscend/prosrc/www/app/locale-zh-tw.json        |  8 +++++
 proscend/prosrc/www/app/services/icos.service.js |  7 ++++
 proscend/prosrc/www/src/index.html.src           |  1 +
 proscend/prosrc/www/src/menu.html.src            |  1 +
 9 files changed, 161 insertions(+)