20180329_jeffrey - silenceuncrio/diary GitHub Wiki
0905
review
1040
修一下 M360-P 上 ping 跟 traceroute 的顯示方式
捨棄 iframe 的作法
commit 913a2cec5695895788ebd21d55aabdeab17fda39
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Thu Mar 29 09:59:25 2018 +0800
change the display style of diagnosis functions
proscend/prosrc/webcgi/popen.c | 8 ++------
proscend/prosrc/www/app/feature/ping.html | 15 +++++++--------
proscend/prosrc/www/app/feature/ping.js | 17 +++++++++++++++--
proscend/prosrc/www/app/feature/traceroute.html | 15 +++++++--------
proscend/prosrc/www/app/feature/traceroute.js | 17 +++++++++++++++--
5 files changed, 46 insertions(+), 26 deletions(-)
M300 已經要 release 了 就算了
1600
VRRP Ipv6 的實作應該不難
剛剛試著修改 /var/keepalived.conf
如下
vrrp_instance vrrp {
state MASTER
interface lan
virtual_router_id 1
priority 100
advert_int 1
virtual_ipaddress {
fe80::2cf7:7aff:feee:c300
}
}
然後利用 keepalived -f /var/keepalived.conf -P
執行 keepalived
在自己的 PC 試著去 ping 即可驗證
PS C:\Users\JEFFREY> ping fe80::2cf7:7aff:feee:c300
Ping fe80::2cf7:7aff:feee:c300 (使用 32 位元組的資料):
回覆自 fe80::2cf7:7aff:feee:c300: 時間=1ms
回覆自 fe80::2cf7:7aff:feee:c300: 時間=1ms
回覆自 fe80::2cf7:7aff:feee:c300: 時間=1ms
回覆自 fe80::2cf7:7aff:feee:c300: 時間=1ms
fe80::2cf7:7aff:feee:c300 的 Ping 統計資料:
封包: 已傳送 = 4,已收到 = 4, 已遺失 = 0 (0% 遺失),
大約的來回時間 (毫秒):
最小值 = 1ms,最大值 = 1ms,平均 = 1ms
應該只要修正 virtual_ip
這個變數的型態即可
typedef struct
{
int mode; // Enable or disable VRRP
int group_id; // Specify which VRRP group of this router belong to (1-255)
int priority; // Enter the priority value from 1 to 254. The larger value has higher priority.
U32 virtual_ip; // Each router in the same VRRP group must have the same virtual IP address.
// This virtual IP address must belong to the same address range as the real IP address of the interface.
} sVrrpConfig;
目前該工作項目的 schedule 為 4/9 ~ 4/20 總計 10 個工作天
有點該尬
應為大概不用一小時就能做完了
看來我不如把握這個時間來熟悉一下 IPv6 吧
1740
新的 M360-P 板子從四個 led 變成 五個
幫忙 upgrade 一下 uboot image 並看一下 led 燈的狀況
新增的燈需要我們自己去控制