Groups
Groups
Sign in
Groups
Groups
NYCU NASA 課程討論區
Conversations
About
Send feedback
Help
[NA HW2-1] Preflight output empty
179 views
Skip to first unread message
江宸安
unread,
May 18, 2026, 3:26:11 AM
May 18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教好:
想請問關於 HW2-1 的 preflight,在 OJ 上看到 output 是 empty,在 router 以及 cp1 上,執行 journalctl 有看到 judge 用 public key ssh 進來,想請問助教要如何知道 preflight 的錯誤訊息或是 preflight 的測試內容?
謝謝助教!
曹琇雅
unread,
May 18, 2026, 10:48:08 PM
May 18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
同學好:
OJ HW2-1 preflight 產生 empty stdout 的問題已修復。
再麻煩同學協助測試確認,謝謝!
Best regards,
TA hytsao
aron1...@gmail.com
在 2026年5月18日 星期一下午3:26:11 [UTC+8] 的信中寫道:
江宸安
unread,
May 19, 2026, 5:08:59 AM
May 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
有看到 log 了,謝謝助教!
hsiuy...@nycu.edu.tw
在 2026年5月19日 星期二上午10:48:08 [UTC+8] 的信中寫道:
陳柏諺
unread,
Jun 3, 2026, 5:14:23 AM
Jun 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好:
我現在同樣遇到了 OJ HW 2-1 preflight 產生 emtpy output 的問題,如下圖:
我已經在 router / cp1 上建立 judge user 並放入 ssh public key,但是我實際執行 journalctl 並沒有看到 judge 嘗試 ssh 進我的 router,想請問助教要如何才能看見 preflight 的 output 來確認錯誤訊息以及實際測試內容。
感謝助教
Best Regards,
柏諺
aron1...@gmail.com
在 2026年5月19日 星期二下午5:08:59 [UTC+8] 的信中寫道:
曹琇雅
unread,
Jun 3, 2026, 7:41:34 AM
Jun 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
Hi 同學
我修改了 stderr output,再麻煩同學協助測試確認。
另外,也請確認 wireguard works well on router,謝謝。
Best regards,
TA hytsao
0803b...@gmail.com
在 2026年6月3日 星期三下午5:14:23 [UTC+8] 的信中寫道:
陳柏諺
unread,
Jun 3, 2026, 10:29:19 AM
Jun 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好:
現在可以看到 preflight 的 output 了,謝謝助教 !
Best Regards,
柏諺
hsiuy...@nycu.edu.tw
在 2026年6月3日 星期三晚上7:41:34 [UTC+8] 的信中寫道:
孫奇霆(112950026)
unread,
Jun 13, 2026, 3:36:17 PM
Jun 13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好,我是學號112950026
我也發生了同樣的問題:
router和cp1都已經加入了judge的ssh pub key,router wireguard也正常運作中:
judge@router
:
~
$ sudo wg show wg0
interface
:
wg0
public key
: RxgopjfScXv/kypGj9jUrb+VQCy3gdgTdpM4EoYMThQ=
private key
: (hidden)
listening port
: 47116
peer
:
H1KhIFAp6q+//LCsOCbQn/wkPt6jrcYYL0SLi6dD+i4=
preshared key
: (hidden)
endpoint
:
140.113.17.2:5000
allowed ips
: 192.168.0.0
/
16
latest handshake
: 1
minute
, 10
seconds
ago
transfer
: 1.51
KiB
received, 12.77
KiB
sent
persistent keepalive
: every 5
seconds
judge@router
:
~
$ cat .ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHuv5e0N6yw90gqR5FbIqQAcRLERui3fqPsxmJ1Wcm3+ nasaoj-hw2
我用
sudo journalctl -u sshd 並沒有看到OJ嘗試連入
感謝助教
Best Regards,
奇霆
hsiuy...@nycu.edu.tw
在 2026年6月3日 星期三晚上7:41:34 [UTC+8] 的信中寫道:
Hi 同學
Reply all
Reply to author
Forward
0 new messages