20190724_jeffrey - silenceuncrio/diary GitHub Wiki
M330[develop] - at 'Management > FOTA' page: update the status per 5 seconds
commit 7eee0a5ceddadec86b11f14e48aeb3f0a896dc35
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 09:09:11 2019 +0800
at 'Management > FOTA' page: update the status per 5 seconds
proscend/prosrc/www/app/feature/fota.js | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
M330[release/v0.05] 幫忙加上 'LTE > USSD' 的 online manual
M330[release/v0.05] - add online manual: LTE > USSD
commit 4454ee0ddc8d2b065a9d89a81f07f36bbfeb9baa
Refs: [release/v0.05], {origin/release/v0.05}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 09:24:23 2019 +0800
add online manual: LTE > USSD
proscend/prosrc/www/src/manual.html.src | 3 +++
proscend/prosrc/www/src/manual/sidebar.h.html | 3 +++
2 files changed, 6 insertions(+)
commit e28f6dd5d4c09c3213f9c3f58c279f96b21b3adc
Refs: [release/v0.05], {origin/release/v0.05}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 10:43:02 2019 +0800
add missing file for online manual: LTE > USSD
proscend/prosrc/www/src/manual/lte_ussd.h.html | 33 ++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
回到 M300[feature/hinet_evaluate] - 2 GRE tunnel with key
使用昨天 build 好的 image 透過 mfgtool 作燒錄
- Products/Vendor = M300/18_HINET_EVALUATE
直接準備好兩台 M300 方便實驗 GRE
目前兩台的 lan 端都接到同一台 switch
自己電腦的測試網卡也接到該 switch
網段為 192.168.1.0
具體資訊如下
- M300-11
- lan: 192.168.1.11
- M300-13
- lan: 192.168.1.13
- jeffrey PC's
- test interface: 192.168.1.113
目前已確定三者間都能 ping 通
再次熟悉一下 GRE
目前已確認 M300 可以同時建立兩個 GRE tunnel
不過透過 wan ethernet 建立的 tunnel 互相 ping 時有時會不通
可以建立一個新的 GRE icos module 支援 2 個 tunnel 以及 key 的設定
我想我可以先跟 DQA 借兩張 public ip 的 SIM 卡來做實驗
畢竟這才符合中華電信的需求
M300[feature/hinet_evaluate] - add icos module MODULE_GRE_2G: support 2 GRE tunnels
commit 6cd64d8825eb6a4530d8e6983a2957751c9b92dd
Refs: [feature/hinet_evaluate], {origin/feature/hinet_evaluate}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 15:17:49 2019 +0800
add icos module MODULE_GRE_2G: support 2 GRE tunnels
- MODULE_GRE only support 1 tunnel, it is not enough for this profile(project)
- at profile 18_HINET_EVALUATE
- turn off PROSRC_GRE
- turn on PROSRC_GRE_2G
.../rootfs/home/factory/icos/gre_2g/gre_2g.json | 25 ++
proscend/mconfig/Config.in | 1 +
.../configs/M300/18_HINET_EVALUATE/defconfig | 3 +-
proscend/prosrc/icos/icoslib/Makefile | 4 +
proscend/prosrc/icos/icoslib/entry.c | 7 +
proscend/prosrc/icos/icoslib/gre_2g/Makefile | 14 +
proscend/prosrc/icos/icoslib/gre_2g/gre_2g.c | 457 +++++++++++++++++++++
proscend/prosrc/icos/include/icos_common.h | 1 +
proscend/prosrc/icos/include/icos_module.h | 1 +
proscend/prosrc/icos/include/module_gre_2g.h | 36 ++
10 files changed, 548 insertions(+), 1 deletion(-)
M300[feature/hinet_evaluate] - add CGI for icos module MODULE_GRE_2G
commit 4fb1d5eebe6cbb75b9412b53df4df8fe0e48ce5c
Refs: [feature/hinet_evaluate], {origin/feature/hinet_evaluate}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 15:34:03 2019 +0800
add CGI for icos module MODULE_GRE_2G:
- /cgi-bin/gre_2g.cgi?act=config
- /cgi-bin/gre_2g.cgi?act=apply
- /cgi-bin/gre_2g.cgi?act=help
proscend/prosrc/webcgi/Makefile | 4 ++
proscend/prosrc/webcgi/gre_2g.c | 105 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
再來是 web ui 了
M300[feature/hinet_evaluate] - add 'VPN > GRE' page: first step
commit 22f807cf7b1076d91381f6c6f72185e4687a16da
Refs: [feature/hinet_evaluate], {origin/feature/hinet_evaluate}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 16:02:48 2019 +0800
add 'VPN > GRE' page: first step
- nothing but a <pre> to display vm.config
- this page is base on compile option PROSRC_GRE_2G
proscend/prosrc/www/app/feature/gre_2g.html | 39 +++++++++++++++++++
proscend/prosrc/www/app/feature/gre_2g.js | 49 ++++++++++++++++++++++++
proscend/prosrc/www/app/locale-en.json | 6 +++
proscend/prosrc/www/app/locale-fr.json | 6 +++
proscend/prosrc/www/app/locale-zh-tw.json | 6 +++
proscend/prosrc/www/app/services/icos.service.js | 9 +++++
proscend/prosrc/www/src/index.html.src | 1 +
proscend/prosrc/www/src/menu.html.src | 3 ++
8 files changed, 119 insertions(+)
M300[feature/hinet_evaluate] - finish 'VPN > GRE' page
commit 944726a0d3365213d12977e032b15f69c2221cfd
Refs: [feature/hinet_evaluate], {origin/feature/hinet_evaluate}
Author: jeffrey <[email protected]>
Date: Wed Jul 24 16:54:35 2019 +0800
finish 'VPN > GRE' page
proscend/prosrc/www/app/feature/gre_2g.html | 188 +++++++++++++++++++++++++++-
proscend/prosrc/www/app/feature/gre_2g.js | 18 ++-
proscend/prosrc/www/app/locale-en.json | 11 ++
proscend/prosrc/www/app/locale-fr.json | 11 ++
proscend/prosrc/www/app/locale-zh-tw.json | 11 ++
5 files changed, 234 insertions(+), 5 deletions(-)