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?
Asked
Active
Viewed 1,861 times
2 Answers
1
pppoe
logs this through syslog:
pppoe[2195]: PPP session is 2166 (0x876)

caf
- 233,326
- 40
- 323
- 462
-
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 07 '11 at 06:43
-
1@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 07 '11 at 09:00
0
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.

Murat Sezgin
- 11
- 3