Does ppp run the ip-up and ip-down scripts for incoming connections
as well as outgoing? I added some commands to my ip-up on the server
to set up extra routes when I dial in, but they don't seem
to get run.
#!/bin/sh
#
# $Id: ip-up,v 1.1 1996/01/31 21:25:59 alvar Exp $
#
# This script is run
Does ppp run the ip-up and ip-down scripts for incoming connections
as well as outgoing? I added some commands to my ip-up on the server
to set up extra routes when I dial in, but they don't seem
to get run.
Hi.
They DO run here. As for ttyS? or /dev/ttyS? you'd better find this out
On Tue, Jan 06, 1998 at 09:03:39AM -0500, Alex Yukhimets wrote:
Does ppp run the ip-up and ip-down scripts for incoming connections
as well as outgoing? I added some commands to my ip-up on the server
to set up extra routes when I dial in, but they don't seem
to get run.
They DO run
Hamish Moffatt writes:
Does ppp run the ip-up and ip-down scripts for incoming connections as
well as outgoing?
I can't see how it can do otherwise. The last thing that ipcp_up() does
after successfully configuring the interface is call ipcp_script(). It just
passes pppd's arguments to /etc
Hamish Moffatt [EMAIL PROTECTED] writes:
On Tue, Jan 06, 1998 at 09:03:39AM -0500, Alex Yukhimets wrote:
Does ppp run the ip-up and ip-down scripts for incoming connections
as well as outgoing? I added some commands to my ip-up on the server
to set up extra routes when I dial
Hamish Moffatt [EMAIL PROTECTED] writes:
break my script; I haven't checked this out yet. Or is ip-up not run at all
for incoming connections?
Don't know. Why don't you check it out ?
Put something like touch /tmp/ip-up.on.incoming.has.been.executed in ip-up
and dial in.
Ciao,
On Tue, Jan 06, 1998 at 12:48:16PM -0500, Daniel Martin at cush wrote:
Um, just how are you starting up ppp? If it's being done with a
script, you might try using the ipparam option for pppd to pass
another parameter to /etc/ip-up. You'd probably want to be very
careful security-wise if you
On Tue, Jan 06, 1998 at 10:24:56AM -0600, [EMAIL PROTECTED] wrote:
I understand that $2 could include /dev/ as well,...
The tty-device is passed to ip-up exactly as received by pppd (this is a
bug, IMHO). Use basename to scrape off the '/dev/'.
A simple fix. Thanks.
Or is ip-up not run at
8 matches
Mail list logo