如何获取 PPPOE 会话的会话 ID?

发布于 2024-12-13 19:14:55 字数 108 浏览 4 评论 0原文

我使用的是 rp-pppoe 3.10。我已经配置了 PPPoE 服务器和客户端。如何查看会话建立时服务器分配给客户端的PPPoE会话ID?它是否在 /etc/ppp 文件夹或其他地方的任何文件中更新?

I am using rp-pppoe 3.10. I have configured a PPPoE server and client. How do I find out the PPPoE session ID assigned by the server to client when the session is established? Is it updated in any file in /etc/ppp folder or some where else?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

陈年往事 2024-12-20 19:14:55

pppoe 通过 syslog 记录此内容:

pppoe[2195]: PPP session is 2166 (0x876)

pppoe logs this through syslog:

pppoe[2195]: PPP session is 2166 (0x876)
花想c 2024-12-20 19:14:55

cat /proc/net/pppoe 将为您提供会话 ID、服务器 MAC 地址以及创建 PPPoE 会话的物理接口设备。

cat /proc/net/pppoe will give you the session ID, server MAC address and the physical interface device which the PPPoE session is created on.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文