第 20 章. 关闭 PPP 链接

当您完成 PPP 链接后,使用标准的 ppp-off 命令将其关闭(记住 - 您需要是 root 用户或 PPP 组的成员!)。

在您的系统日志中,您会看到类似以下内容:-

Oct 21 16:10:45 hwin pppd[19873]: Interrupt received: terminating link
Oct 21 16:10:45 hwin pppd[19873]: ipcp: down
Oct 21 16:10:45 hwin pppd[19873]: default route ioctl(SIOCDELRT): Bad address
Oct 21 16:10:45 hwin pppd[19873]: fsm_sdata(LCP): Sent code 5, id 2.
Oct 21 16:10:46 hwin pppd[19873]: fsm_rtermack(LCP).
Oct 21 16:10:46 hwin pppd[19873]: Connection terminated.
Oct 21 16:10:46 hwin pppd[19873]: Exit.

不要担心SIOCDELRT- 这只是 pppd 指出它正在终止,无需担心。