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
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.
pppoelogs this through syslog: