20181109_jeffrey - silenceuncrio/diary GitHub Wiki

0915

review

1140

從 DQA 借了一台 CISCO 的 device

Cisco Small Business Pro - SRP521W

DQA 的說法是利用 DHCP CLient 取得 ip

然後利用 gateway ip 來 access cisco 的 web

先把自己的 測試 網路連線 改成 自動取得 IP 位址

PS C:\Users\JEFFREY> ipconfig

Windows IP 設定
...
乙太網路卡 測試:

   連線特定 DNS 尾碼 . . . . . . . . : jason.org
   連結-本機 IPv6 位址 . . . . . . . : fe80::1085:7d7:dbd8:6de6%15
   IPv4 位址 . . . . . . . . . . . . : 192.168.15.100
   子網路遮罩 . . . . . . . . . . . .: 255.255.255.0
   預設閘道 . . . . . . . . . . . . .: 192.168.15.1
...

得到的 IPv4 位址 = 192.168.15.100

預設閘道(default gateway) = 192.168.15.1

ping 的到

web ui 也打得開

帳密是 admin/admin

ssh 用一樣的米馬進去竟然是 linux shell

login as: admin
[email protected]'s password:


BusyBox v1.10.2 (2013-03-01 11:40:50 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ls
bin    dsl_0  etc    home   mnt    sbin   tmp    var
dev    dsl_1  fpar   lib    proc   sys    usr    www

telnet 進不去

從 web ui 看不到 GRE NHRP 的功能

更不要說扮演 mGRE 的 hub router 了

1330

先透過 skpe 告知 PI 怎麼來設定 uboot env 的 hw_ver

目前的 N360-P 硬體版本為 v1.001

設定的方式是透過 linux shell 下達

fw_setenv hw_ver v1.001

1340

目前手上的 CISCO SRP521W GRE web ui 如下

image

盤一下各參數容許的值

  • Tunnel Number
    • 1 ~ 10
  • Tunnel Name
  • Enable
  • Checksum
    • None / Both / Input / Output
  • Sequence
    • None / Both / Input / Output
  • Key
    • None / Both / Input / Output
  • Key Value
    • 0 ~ 4294967295
  • Wan Interface Name
  • Destination IP or HostName
  • Remote IP Address/Subnet Mask
  • Modify Remote IP Address/Subnet Mask

看來還要挖一下文件才能了解 CISCO 對於 GRE 的功能是如何來使用的

不過還是要找一下 shin 商量一下借一下大台的 CISCO 設備

1430

寫週報

1520

從 Shin 那邊借來了一台 CISCO

Cisco 2951 Integrated Services Router

GRE NHRP 測試就要靠這一台了

下禮拜可以參考 20180801_jeffrey

這是當初 是方科技 提供的 GRE 相關設定

Cisco: 202.153.188.46

interface Tunnel87654321
 bandwidth 2000
 ip address 172.30.96.5 255.255.255.248
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip mtu 1500
 ip nhrp authentication LTEGRE
 ip nhrp network-id 87654321
 load-interval 30
 tunnel source FastEthernet4
 tunnel mode gre multipoint
 tunnel key 87654321

1610

小修一下 Serving Cell web page

@@ -43,7 +43,7 @@
   </tr>
   <tr>
     <td>{{ 'SERVING_CELL_CELL_ID' | translate }}</td>
-    <td>{{ vm.query_eng.cell_id_dec }} (hex: {{ vm.query_eng.cell_id }})</td>
+    <td>{{ vm.query_eng.cell_id === "" ? "" : vm.query_eng.cell_id_dec + "(hex: " + vm.query_eng.cell_id + ")"}}</td>^M
   </tr>
   <tr>
     <td>{{ 'SERVING_CELL_PCID' | translate }}</td>

上 code

commit 38ef2f4d8a76fec3a1d7e034591be87a4f45774c
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Fri Nov 9 16:12:37 2018 +0800

    fine tune the serving cell web page

 proscend/prosrc/www/app/feature/serving_cell.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
⚠️ **GitHub.com Fallback** ⚠️