Fedora
ppp 停止在 Fedora 28 上工作
沒有問題
ppp
。執行並更新,它停止工作。我的設置:
Lenovo T470s with Fedora 28, Linux user-fedora 4.18.13-200.fc28.x86_64 #1 SMP Wed Oct 10 17:29:59 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux custom board with Linux custom-board-0 4.14.0-xilinx-v2018.2 #1 SMP PREEMPT Mon Sep 24 12:55:51 PDT 2018 armv7l armv7l armv7l GNU/Linux
ppp
在 Fedora 28上執行的命令sudo pppd -detach local debug noauth passive xonxoff lock dump 192.168.10.100:192.168.10.1 /dev/ttyUSB0 9600`
ppp
在自定義板上執行的命令pppd -detach persist debug local noauth passive xonxoff lock dump 192.168.10.1:192.168.10.100 /dev/ttyS0 9600
ppp
命令執行後在 Fedora 上的輸出pppd options in effect: debug # (from command line) -detach # (from command line) dump # (from command line) noauth # (from command line) /dev/ttyUSB0 # (from command line) 9600 # (from command line) lock # (from command line) xonxoff # (from command line) local # (from command line) passive # (from command line) 192.168.10.100:192.168.10.1 # (from command line) using channel 16 Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB0 sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] LCP: timeout sending Config-Requests
ppp
命令執行後在自定義板上的輸出pppd options in effect: debug # (from command line) -detach # (from command line) persist # (from command line) dump # (from command line) noauth # (from command line) /dev/ttyS0 # (from command line) 9600 # (from command line) lock # (from command line) xonxoff # (from command line) local # (from command line) passive # (from command line) 192.168.10.1:192.168.10.100 # (from command line) using channel 11 Using interface ppp0 Connect: ppp0 <--> /dev/ttyS0 sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b51417a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] LCP: timeout sending Config-Requests rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x1aa6d871> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x82da991a> <pcomp> <accomp>] LCP: timeout sending Config-Requests
看起來 Fedora 正在發送 LCP 數據包,而 Custom Board 正在接收它們,而 Custom Board 正在發送 LCP 數據包,但 Fedora 沒有收到它們。
有誰知道可能是什麼問題以及如何解決?
經過一天的調試,結果發現是定制板的問題。連接器中的一個引腳被證明是電氣損壞的。所以這不是 Fedora 或 PPP 的問題,而是硬體連接器的問題。謝謝大家調查它。