Re: ppp and ip-up

1998-01-06 Thread Hamish Moffatt
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 r

Re: ppp and ip-up

1998-01-06 Thread Hamish Moffatt
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

Re: ppp and ip-up

1998-01-06 Thread Martin Bialasinski
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,

Re: ppp and ip-up

1998-01-06 Thread Daniel Martin at cush
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

Re: ppp and ip-up

1998-01-06 Thread john
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/p

Re: ppp and ip-up

1998-01-06 Thread Hamish Moffatt
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 D

Re: ppp and ip-up

1998-01-06 Thread Alex Yukhimets
> 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 experi