On Mon, 5 Oct 2009, Davy Leon wrote:
Hi folks
I have a question. Every time I dialup to the internet pppd executes an
script called ip-up. My question is, everytime someone dials in it's executed
too? If the answer is yes, how can I handle the script to execute one part
when dianing out and another part when dialing in. I meant something like
One of the arguments given to ip-up is the IP addresses assigned to the remote
and local systems. Since when someone calls in the IP address is assigned by
you and is almost certainly different from the IP address assigned to you when
you dial out. You can base the response on the IP address range
man pppd
if dialing in then
...
...
if dialing out then
...
....
Thanks in advance
David
--
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html