Re: ip-up.d/ not running

2001-05-17 Thread Brian Nelson
On Thu, May 17, 2001 at 04:54:36PM -0700, Jaye Inabnit ke6sls wrote: > >Hello, > > for whatever reason, I don't seem to get results running scripts in > /etc/ppp/ip-up.d/~. I have one for time and it didn't seem to be working so I > just dropped another one in to mail me when it ran and no

Re: ip-up.d / can't start script

2000-03-12 Thread Pollywog
On 12-Mar-2000 Bob Hilliard wrote: > "ktb" <[EMAIL PROTECTED]> writes: > >> >> I've searched the archives and I can't find my answer. I used pppconfig to >> create my dialup. I need to start my firewall *after* I have logged onto >> the Internet. I looked in "ip-up" and it looks to me like it

Re: ip-up.d / can't start script

2000-03-12 Thread ktb
That did it, I had a "." Thanks:) kent - Original Message - From: Bob Hilliard <[EMAIL PROTECTED]> To: ktb <[EMAIL PROTECTED]> Cc: Sent: Sunday, March 12, 2000 2:39 PM Subject: Re: ip-up.d / can't start script > "ktb" <[EMAIL PROTECTED]>

Re: ip-up.d / can't start script

2000-03-12 Thread Bob Hilliard
"ktb" <[EMAIL PROTECTED]> writes: > > I've searched the archives and I can't find my answer. I used pppconfig to > create my dialup. I need to start my firewall *after* I have logged onto > the Internet. I looked in "ip-up" and it looks to me like it uses scripts > placed in "/etc/ppp/ip-up.d"

Re: ip-up.d

1999-10-20 Thread Oleg Krivosheev
On Tue, 19 Oct 1999, Ben Lutgens wrote: > > On Wed, Oct 20, 1999 at 11:23:47AM +0800, Lindsay Allen wrote: > > show the problem - no script with a "." in its filename will run. > Nothing I did worked, I changed the name as I learned the run-p?rts thing > before I recieved you message. Still no av

Re: ip-up.d

1999-10-20 Thread Oleg Krivosheev
Hi, On Tue, 19 Oct 1999, Ben Lutgens wrote: > I am having a stubborn ip-up.d. I have some scripts in there that I would like > run when I connect to isp. here are the perms: > -rwxr-xr-x 1 root dip34 Oct 19 09:49 mailer.sh > -rwxr-xr-x 1 root dip34 Oct 14 16:

Re: ip-up.d

1999-10-20 Thread Ben Lutgens
On Wed, Oct 20, 1999 at 11:23:47AM +0800, Lindsay Allen wrote: > show the problem - no script with a "." in its filename will run. Nothing I did worked, I changed the name as I learned the run-pærts thing before I recieved you message. Still no avail. I think it had something to do with the fact th

Re: ip-up.d

1999-10-20 Thread Lindsay Allen
On Tue, 19 Oct 1999, Ben Lutgens wrote: > I am having a stubborn ip-up.d. I have some scripts in there that I would like > run when I connect to isp. here are the perms: > -rwxr-xr-x 1 root dip34 Oct 19 09:49 mailer.sh > -rwxr-xr-x 1 root dip34 Oct 14 16:59 ntpd

Re: ip-up.d

1999-10-20 Thread Eric G . Miller
On Tue, Oct 19, 1999 at 06:24:20PM -0800, Ben Lutgens wrote: > #!/bin/sh > su allegro -c fetchmail Try #!/bin/sh export PATH=/usr/sbin:/sbin:/usr/bin fetchmail -u allegro -d 300 But I wrote a wrapper around pon for my personal use: #!/bin/sh pon > /dev/null 2>&1 fetchmail -d 300 > /dev/null 2>&1

Re: ip-up.d

1999-09-24 Thread Colin Marquardt
* John Hasler <[EMAIL PROTECTED]> writes: >> I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I >> use pon to connect. there is a script in there that wil start fetchmail >> for me as desired via command line. yet fetchmail still won't start on >> it's own when I connect to my

Re: ip-up.d

1999-09-24 Thread Gregory T. Norris
Oopsie... looks like I replied to the wrong message. Sorry 'bout that. On Fri, Sep 24, 1999 at 02:31:45AM -, Pollywog wrote: > > On Fri, Sep 24, 1999 at 01:06:13AM -, Pollywog wrote: > >> In my script, I have: > >> > >> #!/bin/sh > >> sleep 10s > >> /usr/bin/fetchmail -d 480 > > But

Re: ip-up.d

1999-09-24 Thread Pollywog
On 24-Sep-99 Gregory T. Norris wrote: > I'd add something like "env >/tmp/some_dummy_filename" to the start of > your script, so you can look at the environment it inherits. When I've > had this sort of problem it's usually been because some important > settings (such as $PATH) weren't automagica

Re: ip-up.d

1999-09-24 Thread John Hasler
Brian writes: > This is all run as root and does not need to do a sudo or su or anything. I would rather not run anything as root if I can avoid it. In this case I can. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: ip-up.d

1999-09-24 Thread Gregory T. Norris
I'd add something like "env >/tmp/some_dummy_filename" to the start of your script, so you can look at the environment it inherits. When I've had this sort of problem it's usually been because some important settings (such as $PATH) weren't automagically set, and need to be explicitly coded into t

Re: ip-up.d

1999-09-24 Thread Pollywog
On 24-Sep-99 Brian Servis wrote: > > Might as well joing the fun. > > Mine is taken right from /usr/doc/fetchmail/fetchmail-up > >1 -rwxr-xr-x 1 root root 112 Feb 1 1999 > /etc/ppp/ip-up.d/fetchmail-up* I am going to try it this way. I saw that in the docs but have not tr

Re: ip-up.d

1999-09-24 Thread Brian Servis
*- On 24 Sep, Pollywog wrote about "Re: ip-up.d" > > On 24-Sep-99 John Hasler wrote: >>> I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I >>> use pon to connect. there is a script in there that wil start fetchmail >>> for me as de

Re: ip-up.d

1999-09-24 Thread Pollywog
On 24-Sep-99 John Hasler wrote: >> I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I >> use pon to connect. there is a script in there that wil start fetchmail >> for me as desired via command line. yet fetchmail still won't start on >> it's own when I connect to my ISP. > >

Re: ip-up.d

1999-09-24 Thread John Hasler
> I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I > use pon to connect. there is a script in there that wil start fetchmail > for me as desired via command line. yet fetchmail still won't start on > it's own when I connect to my ISP. Post the name of the script, the permiss

Re: ip-up.d

1999-09-23 Thread Martin Fluch
On Thu, 23 Sep 1999, Ben Lutgens wrote: > I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I use > pon to connect. there is a script in there that wil start fetchmail for me as > desired via command line. yet fetchmail still won't start on it's own when I > connect to my ISP.

Re: ip-up.d

1999-09-23 Thread Gregory T. Norris
Can you post the script you've been using? It's likely that it relies on some environment variables being set, or some such... On Thu, Sep 23, 1999 at 01:36:33PM -0800, Ben Lutgens wrote: > I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I use > pon to connect. there is a sc

Re: ip-up.d

1999-09-23 Thread Mark Brown
On Thu, Sep 23, 1999 at 01:36:33PM -0800, Ben Lutgens wrote: > I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I use > pon to connect. there is a script in there that wil start fetchmail for me as > desired via command line. yet fetchmail still won't start on it's own when I