How to get Session ID for PPPOE session?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



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?




2 Answers
2



pppoe logs this through syslog:


pppoe


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





Thanks for the reply..In my case, I initiate at a time 26 pppoe sessions. If pppoe session ID is logged in the "/var/log/messages", how can I find the session ID related to specific pppoe session?
– Ravi
Nov 7 '11 at 6:43






@Ravi: The value in the square brackets next to pppoe is the process ID of the pppoe process, which should allow you to identify a particular instance in the logs.
– caf
Nov 7 '11 at 9:00


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.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS