Skip to content

Instantly share code, notes, and snippets.

lawrence910426@xi-jin-ping:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp1s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 84:16:0c:c6:d6:d0 brd ff:ff:ff:ff:ff:ff
inet 10.101.25.142/24 brd 10.101.25.255 scope global enp1s0f0np0
lawrence910426@xi-jin-ping:~$ sudo smcroutectl show groups
Group Memberships Table
GROUP (S,G) IIF
(*, 224.0.100.100) enp1s0f0np0
(*, 224.0.30.30) enp1s0f0np0
(*, 224.2.100.100) enp1s0f0np0
(*, 224.2.30.30) enp1s0f0np0
(*, 224.4.100.100) enp1s0f0np0
(*, 224.4.30.30) enp1s0f0np0
===== Starting a new run =====
2026-03-02 00:30:41.135 INFO: Fetched 72 instruments from Google Sheets for 2026-02-26
2026-03-02 00:30:41.139 INFO: Instruments: [('2404', 1), ('6877', 5), ('7712', 3), ('5291', 5), ('2344', 2), ('2464', 4), ('3374', 2), ('1503', 1), ('1513', 2), ('6196', 1), ('2409', 18), ('3376', 1), ('8110', 6), ('8028', 2), ('6282', 5), ('2605', 8), ('5521', 11), ('4764', 2), ('6290', 1), ('6788', 1), ('2472', 2), ('4909', 10), ('1326', 5), ('3211', 1), ('6770', 3), ('3260', 1), ('6213', 2), ('3305', 2), ('3019', 2), ('2329', 5), ('8422', 8), ('6285', 2), ('8271', 2), ('3006', 2), ('6451', 1), ('1802', 4), ('2408', 1), ('3583', 1), ('2313', 1), ('9910', 3), ('2402', 5), ('8103', 3), ('8086', 2), ('2515', 17), ('3037', 1), ('2355', 7), ('1514', 2), ('1476', 1), ('4722', 1), ('2486', 2), ('3060', 8), ('8464', 1), ('5469', 3), ('4919', 4), ('3029', 2), ('2301', 2), ('2492', 2), ('1795', 1), ('2337', 2), ('8358', 1), ('2481', 3), ('6531', 1), ('2327', 1), ('2105', 9), ('4958', 1), ('5234', 1),
@lawrence910426
lawrence910426 / Recover.md
Created February 25, 2026 06:38
Speedy Recover issue

Describe the bug

開啟speedy後,理論上要收到Recover的訊息

To Reproduce

開啟Speedy後代參數 -F 程式會自己 call Recover,然後收 callback 即可

Expected behavior

不曉得您那邊是不是把 `enp2s0f1np1` 設定為 UP?也就是我應該要把這個 interface 設定為 `10.151.5.61`
我這邊看到 `enp2s0f1np1` 是 NO-CARRIER 狀態(software UP + hardware DOWN),其他的 interface 都是正常的 DOWN(software DOWN + hardware DOWN)
還是說,我要把哪個 interface 設定為 `10.151.5.61` 呢?
下面附上 terminal 的輸出
========
lawrence910426@xi-jin-ping:~$ ip route show dev enp2s0f1np1
10.151.5.0/24 proto kernel scope link src 10.151.5.61 linkdown
@lawrence910426
lawrence910426 / stdout.txt
Created February 23, 2026 11:51
Snapshot of terminal output
lawrence910426@xi-jin-ping:~$ ip route show dev enp2s0f1np1
10.151.5.0/24 proto kernel scope link src 10.151.5.61 linkdown
lawrence910426@xi-jin-ping:~$ ip -br addr show dev enp2s0f1np1
enp2s0f1np1 DOWN 10.151.5.61/24
lawrence910426@xi-jin-ping:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
```
lawrence910426@xi-jin-ping:~$ ip route show dev enp2s0f1np1
10.151.5.0/24 proto kernel scope link src 10.151.5.61 linkdown
lawrence910426@xi-jin-ping:~$ ip -br addr show dev enp2s0f1np1
enp2s0f1np1 DOWN 10.151.5.61/24
lawrence910426@xi-jin-ping:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
@lawrence910426
lawrence910426 / stdout.txt
Created February 23, 2026 11:51
7: enp2s0f1np1 還是 DOWN + NO-CARRIER
lawrence910426@xi-jin-ping:~$ ip route show dev enp2s0f1np1
10.151.5.0/24 proto kernel scope link src 10.151.5.61 linkdown
lawrence910426@xi-jin-ping:~$ ip -br addr show dev enp2s0f1np1
enp2s0f1np1 DOWN 10.151.5.61/24
lawrence910426@xi-jin-ping:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
@lawrence910426
lawrence910426 / terminal-output.txt
Created February 9, 2026 11:59
收不到期貨行情的封包 T_T
lawrence910426@xi-jin-ping:~$ sudo smcroutectl -d show groups
Group Memberships Table
GROUP (S,G) IIF
(*, 224.0.100.100) enp1s0f0np0
(*, 224.0.30.30) enp1s0f0np0
(*, 224.2.100.100) enp1s0f0np0
(*, 224.2.30.30) enp1s0f0np0
(*, 224.4.100.100) enp1s0f0np0
(*, 224.4.30.30) enp1s0f0np0
@lawrence910426
lawrence910426 / terminal-output.txt
Created January 28, 2026 03:57
收不到期貨的封包 T_T
lawrence910426@xi-jin-ping:~$ sudo smcroutectl -d show groups
Group Memberships Table
GROUP (S,G) IIF
(*, 224.0.100.100) enp1s0f0np0
(*, 224.0.30.30) enp1s0f0np0
(*, 224.2.100.100) enp1s0f0np0
(*, 224.2.30.30) enp1s0f0np0
(*, 224.4.100.100) enp1s0f0np0
(*, 224.4.30.30) enp1s0f0np0