Subject: Re: How to get Login or User-Name inside pppoe-server?
Author:
David F. Skoll
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
Date Posted:09:06:56 2008-01-26 Sat Author Host/IP: 209.217.122.117 In reply to:
Marco André
's message, "Re: How to get Login or User-Name inside pppoe-server?" on 06:21:42 2008-01-25 Fri
>That is my second choice. I quit modifying rp-pppoe,
>instead i will try to modify pppd so it can send
>another parameter (MAC Address) to the init script
>(/etc/ppp/ip-up) and then, i can call another program
>to do the job.
You don't need to modify anything. If you use kernel-mode PPPoE,
the rp-pppoe.so plugin sets an environment variable
MACREMOTE to the MAC address of the PPPoE client.