This script contains code to send login and logout notifications from a PPPoE server to a Telegram chat. When a user logs in, it retrieves information like IP address, uptime, caller ID, etc and sends it to the chat. On logout, it sends information like last disconnect reason, last logout time, last caller ID. Both login and logout messages include the date, time, username, total active clients and server name. The script uses the Telegram Bot API to send messages programmatically to a chat.
This script contains code to send login and logout notifications from a PPPoE server to a Telegram chat. When a user logs in, it retrieves information like IP address, uptime, caller ID, etc and sends it to the chat. On logout, it sends information like last disconnect reason, last logout time, last caller ID. Both login and logout messages include the date, time, username, total active clients and server name. The script uses the Telegram Bot API to send messages programmatically to a chat.
This script contains code to send login and logout notifications from a PPPoE server to a Telegram chat. When a user logs in, it retrieves information like IP address, uptime, caller ID, etc and sends it to the chat. On logout, it sends information like last disconnect reason, last logout time, last caller ID. Both login and logout messages include the date, time, username, total active clients and server name. The script uses the Telegram Bot API to send messages programmatically to a chat.