[問題] tftp 設定

看板Linux作者 (.)時間11年前 (2013/05/18 01:02), 編輯推噓0(004)
留言4則, 1人參與, 最新討論串1/2 (看更多)
Ubuntu 12.04 kernel 3.5.0 我安裝了tftp但是卻無法成功抓取檔案 (顯示timeout並且只有抓到一個0 byte的檔案) 不知道是否我的設定有問題 我安裝了一個新的ubuntu,(/etc裡面並沒有看到inetd.conf 好奇怪) 我從ubuntu software center安裝tftp之後 她強制幫我安裝了xinetd /etc下面有一個xinetd.conf 裡面寫著 defaults { #...一些註解 } includedir /etc/xinetd.d 因此我去etc/xinetd.d 裡面開新檔案並且命名為tftp.conf(應該任意命名皆可吧?) service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = yes } 另外又開了一個VM tftp connect過去ubuntu的tftp server 雖然我的tftp.conf設定檔寫著 disable = yes 但是我仍然可以連線?! 因此我想我的tftp可能有下面問題 1 應該不是藉由 xinetd執行 2 xinetd在其他地方有設定檔 或是請問有人知道我該怎麼做才好? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 204.96.168.3

05/18 01:16, , 1F
一般像這種網路服務都可能被super daemon管理(xinetd)
05/18 01:16, 1F

05/18 01:17, , 2F
一般會寫在自己的設定檔裡說要不要給xinetd管
05/18 01:17, 2F

05/18 01:18, , 3F
你可以用 ps|grep抓抓看tftp 沒在用的時候卻抓得到
05/18 01:18, 3F

05/18 01:18, , 4F
表示說tftp是獨立運行不受xinetd管理的
05/18 01:18, 4F
文章代碼(AID): #1HbcAbO2 (Linux)
討論串 (同標題文章)
以下文章回應了本文
完整討論串 (本文為第 1 之 2 篇):
問題
0
4
文章代碼(AID): #1HbcAbO2 (Linux)