Macintosh

從 Mac System 7 到 Debian 10 的 PPP 連接

  • December 23, 2020

我有一台 Mac SE/30,我想通過 PPP 連接到 Debian 10,然後訪問 Internet——就好像它是撥號一樣。

我可以通過空調製解調器連結成功發送文本,現在我想通過同一連結建立 PPP 連接。

SE/30 執行帶有 OpenTransport 1.1.2 和Config PPP控制面板的 System 7.5.5。

在 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 之間的物理連接可能有問題嗎?

需要禁用流量控制:

# pppd nodetach debug /dev/ttyUSB0 9600 -crtscts

引用自:https://unix.stackexchange.com/questions/625842