How to get Session ID for PPPOE session?
题
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?
解决方案
pppoe
logs this through syslog:
pppoe[2195]: PPP session is 2166 (0x876)
其他提示
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.
不隶属于 StackOverflow