20181114_jeffrey - silenceuncrio/diary GitHub Wiki

0855

裝一台 M300 起來進行 NHRP 的測試

先切回 develop branch

Products/Vendor 選 M300/0_GENERIC

build image

0930

image build 好了

mfgtool 燒錄... ok

盤一下 M300 上有那些可以用

root@Cellular Router:~# nhrpd -h
Usage : nhrpd [OPTION...]
Daemon which manages NHRP protocol.

-d, --daemon       Runs in daemon mode
-f, --config_file  Set configuration file name
-i, --pid_file     Set process identifier file name
-z, --socket       Set path of zebra socket
-A, --vty_addr     Set vty's bind address
-P, --vty_port     Set vty's port number
-u, --user         User to run as
-g, --group        Group to run as
-v, --version      Print program version
-h, --help         Display this help and exit

Report bugs to https://bugzilla.quagga.net

玩一下 vtysh

Cellular Router# show interface lan
Interface lan is up, line protocol is up
  Link ups:       1  last: Wed, 14 Nov 2018 01:30:29 +0000
  Link downs:     0  last: (never)
  vrf: 0
  index 14 metric 0 mtu 1500
  flags: <UP,BROADCAST,RUNNING,MULTICAST>
  Type: Ethernet
  HWaddr: 82:b5:3f:27:f4:94
  inet 192.168.1.1/24 broadcast 192.168.1.255
  inet6 fe80::80b5:3fff:fe27:f494/64

1125

morris 為了 M300 wifi 想要把為了 PCB 版

為了 USB 上三顆電阻 - 切換 USB 的 host mode 或什麼的

我拿了一片 PCB 搭配我目前的 CPU 版試試

一開機發現以前沒看過的訊息

...
Cellular Router login: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
...

相同的 CPU 換回原先使用的 PCB

並沒有看到該訊息

將開機的訊息 keep 起來

PCB 再換成 morris 給的

這次就沒看到奇怪的訊息了

不過將開機訊息存起來

diff 一下

➜  tmp diff xx1.txt xx2.txt
141c141
< fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 0a:b0:b3:fd:98:87
---
> fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 7e:44:dd:af:0d:d1
147c147
< fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: b2:c4:65:0b:40:23
---
> fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: c6:fb:0d:fe:18:27
251c251
< udevd[102]: starting version 182
---
> udevd[101]: starting version 182
262c262
< GobiNet 2-1:1.4 eth2: register 'GobiNet' at usb-ci_hdrc.1-1, GobiNet Ethernet Device, ea:dd:96:aa:a2:13
---
> GobiNet 2-1:1.4 eth2: register 'GobiNet' at usb-ci_hdrc.1-1, GobiNet Ethernet Device, fa:ac:4d:8a:6e:f8
266c266
< UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 140
---
> UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 144
275c275
< ubi0:rootfs_a            81080     53620     23284  70% /
---
> ubi0:rootfs_a            81080     53616     23288  70% /
284c284
< ubi1: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 15042219
---
> ubi1: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 15042219
286c286
< ubi1: background thread "ubi_bgt1d" started, PID 266
---
> ubi1: background thread "ubi_bgt1d" started, PID 270
288c288
< UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 269
---
> UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 273
306c306
< ubi2: background thread "ubi_bgt2d" started, PID 279
---
> ubi2: background thread "ubi_bgt2d" started, PID 283
308c308
< UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 282
---
> UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 286
319c319
< time stamp is 1542165929
---
> time stamp is 1542166074

看起來沒什麼值得注意的差異

1410

M360 有急件

serving cell page 需要修改

commit 817755ec9becbd84c9d8fb6c6872f9a3b9d9dd88
Refs: [release/v0.10], {origin/release/v0.10}
Author: jeffrey <[email protected]>
Date:   Wed Nov 14 14:50:32 2018 +0800

    modify the 'Serving Cell' web page according to the designer

 proscend/prosrc/webcgi/lte.c                      |  6 ++++++
 proscend/prosrc/www/app/feature/serving_cell.html | 23 ++++++++++++++++++++++-
 proscend/prosrc/www/app/locale-en.json            |  5 +++++
 proscend/prosrc/www/app/locale-fr.json            |  5 +++++
 proscend/prosrc/www/app/locale-zh-tw.json         |  5 +++++
 5 files changed, 43 insertions(+), 1 deletion(-)

1525

小改

commit 4a1c3b6b8d9f15a96804c1d249a4cd7d9913698d
Refs: [release/v0.10], {origin/release/v0.10}
Author: jeffrey <[email protected]>
Date:   Wed Nov 14 15:23:54 2018 +0800

    rearrage the fields

 proscend/prosrc/www/app/feature/serving_cell.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

1630

commit 02029ea96bf2022c20c49c4a624ae776e1e600f5
Refs: [release/v0.10], {origin/release/v0.10}
Author: jeffrey <[email protected]>
Date:   Wed Nov 14 16:26:42 2018 +0800

    add 'SIM PIN Enable' to 'Dual APN' web page

 proscend/prosrc/webcgi/lte.c                      |  16 +--
 proscend/prosrc/www/app/feature/dualSim_2apn.html | 143 +++++++++++++---------
 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 +
 5 files changed, 98 insertions(+), 67 deletions(-)

盤一下原本 M360 待作事項

  • PLMN display
  • Device should have a help menu: user manual/guide, faq
  • SIM PIN enable/disable
  • device asks for a reboot while performing any LTE configuration change
    • ideally it should be restricted only to 1 or 2 major use cases
  • help menu not available on GUI

扣掉今天的急件剩下

  • Device should have a help menu: user manual/guide, faq
  • device asks for a reboot while performing any LTE configuration change
    • ideally it should be restricted only to 1 or 2 major use cases
  • help menu not available on GUI