問題ありません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はそれを受信できないようです。
問題が何であるか、解決策を知っている人はいますか?
ベストアンサー1
日中デバッグを行った後、問題がカスタムボードにあることがわかりました。コネクタのピンの1つが電気的に損傷していることがわかりました。したがって、これはFedoraやPPPの問題ではなく、ハードウェアコネクタの問題です。関心をお寄せいただきありがとうございます。