20190830_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review

1150

下午做一下實驗來決定 GRE interface 的 MTU 要調整多小

不然 SSH 會掉包

1415

最後的發現並不是 GRE 的問題

不過我還是有了解法並 update 了 wiki 加上下面這部分


額外注意事項

GRE 在建立之前須注意 peer 與 peer 的 MTU 是否一樣

像 Proscend LAB 遇到的現象就是

左邊是 LTE(eth2) - mtu 1500

右邊是 PPPOE(pppo) - mtu 1484

GRE tunnel 建起來後

  • ping 可以通
  • ssh
    • 比較多 output 的 command 一下會卡在一半
      • ps aux 也很多但不會卡住
      • ifconfig 會卡住
  • https 根本開不起來

Proscend LAB 的解決方法是

  1. gre mode 先 off
  2. 調整 LTE(eth2) mtu 跟右邊的 PPPOE(ppp0) 一樣 - 1484
  3. gre mode on
    • 此時 gre interface mtu 會依據 over 在什麼 interface 上自動把自己的 header 扣掉
    • 1484 - 24 = 1460

注意到在這個狀況下手動調整 gre mtu 是沒用的 - 1200, 800 都一樣

一定要在 gre mode on 之前就去修正 LTE(eth2) 的 mtu 來配合比較少的那一端


1455

review 本周進度

M300[release/v2.01]

  • correct the gwip in ng-repeat
  • add 'LTE Health Check' at 'WAN > Health Check' web page
  • GRE: listen to the following events to set the gre link up/down

M330[develop]

  • correct the syntax or IE will fail to open the 'WiFi STA' page
  • testing leaflet for GPS track drawing: leaflet 0103
  • testing leaflet for GPS track drawing: leaflet 0105
  • testing leaflet for GPS track drawing: leaflet 0502
  • testing leaflet for GPS track drawing: leaflet 0300
  • testing leaflet for GPS track drawing: leaflet 0306

檯面上的 task

  • M300
    • P3 - Layer 2 Encapsulation over GRE (L2oGRE)
  • M330
    • P1 - web ui: GPS track drawing(client) - 80%
    • P2 - Wizard
    • P2 - web ui display issue via smartphone

1630

M330[develop] - at 'WAN > WiFi STA': disable the connect button if the ssid is connected already

commit 2159b149307c6adc6dc4079781b06a3cd15d9d02
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Fri Aug 30 16:27:42 2019 +0800

    at 'WAN > WiFi STA': disable the connect button if the ssid is connected already

 proscend/prosrc/www/app/feature/wifi_sta.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)