I think it says in ip-up (the sript, not the directory) that all of the
scripts are run with minimal (or even no) environment. So DISPLAY
probably IS set, but ip-up is run without any of these variables.
The wierdness here is not X or linux in general. It's the way pppd and
ip-up work.
Yes ,
But i found out about needing to set the DISPLAY from a terminal when i tried
to manually
run my script, there was no DISPLAY set at all, so i had to manually set it.
Still seems to me it might be usefull to have it when i fire up x whatever
guess its
juest a matter of adding it
On 23 Mar 1999, John Hasler wrote:
Daniel Mashao writes:
Is there any way to send the output of pppd to a file so I can debug what
is happenning.
Sure. Put this in your script:
echo Running /etc/ppp/running
and the string 'Running' will appear in the file /etc/ppp/running if
HI,
I ran into similar problems fortunately i had had some trouble with junkbuster
( one
way of looking at it grin) and remembered seeing the following in the
/etc/init.d/junkbuster
startup script
su nobody -c command
so i tried this
su myself -c proggy to launch
and found it complained
Daniel Mashao writes:
My ip-up.d directory is not executed when pppd wakes up.
Pppd runs those scripts with stdout and stderr redirected to /dev/null.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
On 22 Mar 1999, John Hasler wrote:
Daniel Mashao writes:
My ip-up.d directory is not executed when pppd wakes up.
Pppd runs those scripts with stdout and stderr redirected to /dev/null.
Thanks for responding. But why don't I see the programs running? I
even put in xload script that runs
*- On 23 Mar, Daniel Mashao wrote about Re: My ip-ip.d directory not executed
On 22 Mar 1999, John Hasler wrote:
Daniel Mashao writes:
My ip-up.d directory is not executed when pppd wakes up.
Pppd runs those scripts with stdout and stderr redirected to /dev/null.
Thanks for responding
Daniel Mashao writes:
Is there any way to send the output of pppd to a file so I can debug what
is happenning.
Sure. Put this in your script:
echo Running /etc/ppp/running
and the string 'Running' will appear in the file /etc/ppp/running if the
script executes.
--
John Hasler
In a message dated 3/23/99 8:18:41 AM Central Standard Time, [EMAIL PROTECTED]
writes:
Is there any way to send the output of pppd to a file so I can debug what
is happenning.
the output of pppd is already stored in your /var/log/syslog.
-Jay
Jay writes:
the output of pppd is already stored in your /var/log/syslog.
That will not help him find if his script is running.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
My ip-up.d directory is not executed when pppd wakes up. How can I debug
this condition. I have tried putting in simple things like xload in the
directory but they do not get executed. I am able to execute the contents
of the directory if I run ./ip-up file in the /etc/ppp directory but not
when
11 matches
Mail list logo