我有一台 Mac SE/30,我想通过 PPP 连接到 Debian 10,然后访问互联网——就像拨号一样。
我可以通过空调制解调器链接成功发送文本,现在我想通过同一链接建立 PPP 连接。
SE/30 运行的是系统 7.5.5,带有 OpenTransport 1.1.2 和配置点对点控制面板。
在 Debian 10 上会发生这种情况:
mini31 # pppd nodetach debug /dev/ttyUSB0 9600
using channel 10
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
rcvd [LCP ConfReq id=0x42 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x42 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x43 <magic 0x2a>]
sent [LCP ConfAck id=0x43 <magic 0x2a>]
rcvd [LCP ConfReq id=0x44 <magic 0x2a>]
sent [LCP ConfAck id=0x44 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x45 <magic 0x2a>]
sent [LCP ConfAck id=0x45 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x46 <magic 0x2a>]
sent [LCP ConfAck id=0x46 <magic 0x2a>]
rcvd [LCP ConfReq id=0x47 <magic 0x2a>]
sent [LCP ConfAck id=0x47 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x48 <magic 0x2a>]
sent [LCP ConfAck id=0x48 <magic 0x2a>]
rcvd [LCP ConfReq id=0x49 <magic 0x2a>]
sent [LCP ConfAck id=0x49 <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4a <magic 0x2a>]
sent [LCP ConfAck id=0x4a <magic 0x2a>]
rcvd [LCP ConfReq id=0x4b <magic 0x2a>]
sent [LCP ConfAck id=0x4b <magic 0x2a>]
sent [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0x55f04cd0> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
我的猜测是 Debian 期望 Mac 发送LCP ConfAck
但它没有发送。但是,我不明白这是什么意思。
关于如何让它发挥作用有什么想法吗?
编辑
尽管 Debian 正在发送接受请求,但 Mac 似乎正在重复发送幻数参数的配置请求。同样,Mac 也不会回复 Debian 的配置请求。我想知道Mac是否没有接收数据; Debian 上的 USB 和 Mac 的 RS422 之间的物理连接可能有问题吗?
答案1
需要禁用流量控制:
# pppd nodetach debug /dev/ttyUSB0 9600 -crtscts