On Fri, Oct 03, 2003 at 10:06:57PM -0800, J Y wrote:
> Hi, Permissions of ip-up.d:
> deblnx:/home/john# ls -l /etc/ppp/ip-up.d
> total 28
> -rwxr-xr-x1 root root 1306 Apr 25 2002 00-ipppd
> -rwxr-xr-x1 root root 962 Apr 2 2002 000usepeerdns
&g
Hi, Permissions of ip-up.d:
deblnx:/home/john# ls -l /etc/ppp/ip-up.d
total 28
-rwxr-xr-x1 root root 1306 Apr 25 2002 00-ipppd
-rwxr-xr-x1 root root 962 Apr 2 2002 000usepeerdns
-rwxr-xr-x1 root root 2460 Jan 4 2002 0dns-up
-rwxr-xr-x1
* Noah Meyerhans <[EMAIL PROTECTED]> [011205 08:08]:
> On Tue, Dec 04, 2001 at 09:00:36PM +0100, Karsten Heymann wrote:
> > while trying to find out why masqmail does work when going online via
> > modem and fails when using ethernet i found out that for network cards
&g
On Tue, Dec 04, 2001 at 09:00:36PM +0100, Karsten Heymann wrote:
> while trying to find out why masqmail does work when going online via
> modem and fails when using ethernet i found out that for network cards
> /etc/pcmcia/ip-up.d apparently is ignored (I put an 'touch /tmp/aliv
Hi,
while trying to find out why masqmail does work when going online via
modem and fails when using ethernet i found out that for network cards
/etc/pcmcia/ip-up.d apparently is ignored (I put an 'touch /tmp/alive'
into /etc/pcmcia/ip-up.d/test but /tmp/alive wasn't created when I
-
From: john smith [mailto:[EMAIL PROTECTED]
Sent: 29 August 2001 03:19
To: debian-user@lists.debian.org
Subject: how to use ip-up.d and ip-down.d?
Hi,
I have created and added a script in the ip-up.d directory...theoretically,
it should start when I connect to the internet..however, it doesn't
On Wed, Aug 29, 2001 at 01:19:56AM +, john smith wrote:
> Hi,
>
> I have created and added a script in the ip-up.d directory...theoretically,
> it should start when I connect to the internet..however, it doesn't and I
> still man
Hi,
I have created and added a script in the ip-up.d directory...theoretically,
it should start when I connect to the internet..however, it doesn't and I
still manually have to run it
_
Get your FREE download of MSN Exp
On Tue, 31 Jul 2001, tony mollica wrote:
> Hello. I know I've seen this problem here
> before, but I am unable to locate the solution.
> It appears that the scripts in ip-up.d are not
> run when a dialup connection is made. The
> /etc/ppp/ip-up script runs, but the
>
tony mollica <[EMAIL PROTECTED]> writes:
> Hello. I know I've seen this problem here
> before, but I am unable to locate the solution.
> It appears that the scripts in ip-up.d are not
> run when a dialup connection is made. The
> /etc/ppp/ip-up script runs, but the
Hello. I know I've seen this problem here
before, but I am unable to locate the solution.
It appears that the scripts in ip-up.d are not
run when a dialup connection is made. The
/etc/ppp/ip-up script runs, but the
'run-parts /etc/ppp/ip-up.d' line doesn't execute.
Any
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 t
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 joy. What do I have
to do to get these scripts to run?
BTW, system
Felix Natter writes:
> I was pleased to see that there is a file in /etc/ppp/ip-up.d that
> does the dynamic nameserver-assignment (option usepeerdns) for pppd
> (probably created by pppconfig).
>
> Now I would like to know if there is anything similar for ipppd
File a wishlist bu
On 1 Jan 2001, Felix Natter <[EMAIL PROTECTED]> wrote:
> I was pleased to see that there is a file in /etc/ppp/ip-up.d that
> does the dynamic nameserver-assignment (option usepeerdns) for pppd
> (probably created by pppconfig).
>
> Now I would like to know if there is anyth
hi,
I was pleased to see that there is a file in /etc/ppp/ip-up.d that
does the dynamic nameserver-assignment (option usepeerdns) for pppd
(probably created by pppconfig).
Now I would like to know if there is anything similar for ipppd
(option ms-get-dns) ? The above file would most probably
Thanks - a sleep 20 did the trick (diald shuts down after 30 seconds
inactivity).
Cheers,
Alan
- Original Message -
From:
To:
Sent: Friday, August 11, 2000 7:30 PM
Subject: Re: Problems running fetchmail in /etc/ppp/ip-up.d
On Fri, Aug 11, 2000 at 05:11:42PM +, [EMAIL PROTECTED] wrote:
> Fetchmail is not fetching my email properly when
> invoked from a script in the /etc/ppp/ip-up.d
>
> /etc/ppp/ip-up.d/fetchmail reads ...
> #!/bin/sh
> # run fetchmail
> test -r /etc/fetchmailrc &&
Fetchmail is not fetching my email properly when
invoked from a script in the /etc/ppp/ip-up.d
/etc/ppp/ip-up.d/fetchmail reads ...
#!/bin/sh
# run fetchmail
test -r /etc/fetchmailrc && //
fetchmail --syslog --invisible --fetchmailrc /etc/fetchmailrc
Syslog contains the f
e Internet. I looked in "ip-up" and it looks to me like it uses scripts
>> placed in "/etc/ppp/ip-up.d". I place a simple Perl script (that works
>> from
>> the command line) in "/etc/ppp/ip-up.d". Logged out and back in and tried
>> "pon
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]>
"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 li
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". I place a
* Brian Servis <[EMAIL PROTECTED]> writes:
> *- On 6 Nov, Colin Marquardt wrote about "ppp + ip-up.d + fetchmail +
> multiple polls"
>> Now, when I go online and this script is run automatically, fetchmail
>> only queries the first of my four accounts! (I can o
*- On 6 Nov, Colin Marquardt wrote about "ppp + ip-up.d + fetchmail + multiple
polls"
> Hi,
>
> the subject shows that I have no clue where to look :-)
>
> My problem is this: my ~/.fetchmailrc specifies four different
> accounts to poll mail from. When I´m ru
i,
the subject shows that I have no clue where to look :-)
My problem is this: my ~/.fetchmailrc specifies four different
accounts to poll mail from. When I m running fetchmail by hand, all
four accounts are polled, like it should.
I have a script in /etc/ppp/ip-up.d that looks like this:
| #!/b
Hi,
the subject shows that I have no clue where to look :-)
My problem is this: my ~/.fetchmailrc specifies four different
accounts to poll mail from. When I´m running fetchmail by hand, all
four accounts are polled, like it should.
I have a script in /etc/ppp/ip-up.d that looks like this
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
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 dip
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
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
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
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 ntpdate
the mailer.sh is as follows
#!/bin/sh
su
* 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
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
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
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
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
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
*- 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
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
> 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 n
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
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 con
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 i
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. Any ideas why. Or where to look for mo
On Sat, Jul 17, 1999 at 04:39:13AM +0200, Hartmut Figge wrote:
> Alisdair McDiarmid wrote:
>
> > So changing xnetload to /usr/X11R6/bin/xnetload worked, and now
> > xnetload loads on ppp up.
>
> well, looking into /etc/ppp/ip-up:
>
> PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/
Alisdair McDiarmid wrote:
> [root:/tmp] # cat xnetload.error
> /etc/ppp/ip-up.d/load: xnetload: not found
>
> So changing xnetload to /usr/X11R6/bin/xnetload worked, and now
> xnetload loads on ppp up.
well, looking into /etc/ppp/ip-up:
# The environment is cleared before
> Try trapping the output of the command in the script to a tmp
> file and see what it is saying.
Ah! This has solved it!
[root:/tmp] # cat xnetload.error
/etc/ppp/ip-up.d/load: xnetload: not found
So changing xnetload to /usr/X11R6/bin/xnetload worked, and now
xnetload loads on ppp up.
*- On 17 Jul, Alisdair McDiarmid wrote about "Re: problem with
/etc/ppp/ip-up.d/"
> On Fri, Jul 16, 1999 at 08:45:12PM -0500, Brian Servis wrote:
>> *- On 17 Jul, Alisdair McDiarmid wrote about "problem with /etc/ppp/ip-up.d/"
>> > i want to start xnetload on
Hartmut Figge wrote:
> i`ll think about the problem and will write if i find a solution.
well, i`ve found the evil-doer.
i copied your script into the file affe, created a directory called affe-dir
and put affe in that dir. permissions, owner and group like ip-up.d et al.
then i executed
On Fri, Jul 16, 1999 at 08:45:12PM -0500, Brian Servis wrote:
> *- On 17 Jul, Alisdair McDiarmid wrote about "problem with /etc/ppp/ip-up.d/"
> > i want to start xnetload on ppp up, and kill it on ppp down. so i
> > wrote two scripts: /etc/ppp/ip-up.d/load:
> >
>
*- On 17 Jul, Alisdair McDiarmid wrote about "problem with /etc/ppp/ip-up.d/"
> i want to start xnetload on ppp up, and kill it on ppp down. so i
> wrote two scripts: /etc/ppp/ip-up.d/load:
>
> #!/bin/sh
> xnetload -geometry 200x48+0+0 -fn
> -schumacher-clean-bol
Alisdair McDiarmid wrote:
>
> On Sat, Jul 17, 1999 at 02:40:47AM +0200, Hartmut Figge wrote:
> > yes, bash will expand the `*`.
>
> um, possibly, but the command still works when i execute
> /etc/ppp/ip-up.d/load, so i don't think it does.
>
> > you need
On Sat, Jul 17, 1999 at 02:40:47AM +0200, Hartmut Figge wrote:
> Alisdair McDiarmid wrote:
> >
> > i want to start xnetload on ppp up, and kill it on ppp down. so i
> > wrote two scripts: /etc/ppp/ip-up.d/load:
> >
> > #!/bin/sh
> > xnetload -geometry 200x4
Alisdair McDiarmid wrote:
>
> i want to start xnetload on ppp up, and kill it on ppp down. so i
> wrote two scripts: /etc/ppp/ip-up.d/load:
>
> #!/bin/sh
> xnetload -geometry 200x48+0+0 -fn
> -schumacher-clean-bold-r-*-*-12-*-*-*-*-*-*-* -fg white -bg black -nc -if
>
i want to start xnetload on ppp up, and kill it on ppp down. so i
wrote two scripts: /etc/ppp/ip-up.d/load:
#!/bin/sh
xnetload -geometry 200x48+0+0 -fn -schumacher-clean-bold-r-*-*-12-*-*-*-*-*-*-*
-fg white -bg black -nc -if ppp0 &
and /etc/ppp/ip-down.d/load:
#!/bin/sh
killall xnetload
On Mon, Jun 07, 1999 at 12:14:53PM -0500, Marc Mongeon wrote:
> Are you certain that the script is called with those arguments?
> I don't believe the $[1-6] variables are available to the scripts
> in ip-up.d. Instead, use the environment variables set in ip-up:
>
> PPP_IFAC
On Mon, Jun 07, 1999 at 12:14:53PM -0500, Marc Mongeon wrote:
> Are you certain that the script is called with those arguments?
> I don't believe the $[1-6] variables are available to the scripts
> in ip-up.d. Instead, use the environment variables set in ip-up:
Good point. I
ry
> | and files with other names will be silently ignored.
>
> Maybe that is it?
My file is called route-rmit, which should be OK given the above:
bash-2.01# ls /etc/ppp/ip-up.d/ -l
total 1
-rwxr-xr-x 1 root root 582 Jun 6 18:59 route-rmit
Thanks,
Hamish
--
Hamish
* Hamish Moffatt <[EMAIL PROTECTED]> writes:
> On Mon, Jun 07, 1999 at 07:51:00AM -0600, Rick Macdonald wrote:
>> On Mon, 7 Jun 1999, Hamish Moffatt wrote:
>>
>> > I just freshly reinstalled ppp on one machine here. My
>> > custom script in /etc/ppp/ip-up.
>
> I just freshly reinstalled ppp on one machine here. My
> custom script in /etc/ppp/ip-up.d does not work; it
> doesn't appear to run. I tested it form the command
> line with the named parameters and it worked. Here it is:
>
> #!/bin/sh
> # This script is called
>
> On Mon, 7 Jun 1999, Hamish Moffatt wrote:
>
> > I just freshly reinstalled ppp on one machine here. My
> > custom script in /etc/ppp/ip-up.d does not work; it
> > doesn't appear to run. I tested it form the command
>
> Isn't your filename wrong?
&
>
> I just freshly reinstalled ppp on one machine here. My
> custom script in /etc/ppp/ip-up.d does not work; it
> doesn't appear to run. I tested it form the command
> line with the named parameters and it worked. Here it is:
>
Trying adding some echo >> file lines to see if and where it dies.
On Mon, Jun 07, 1999 at 07:51:00AM -0600, Rick Macdonald wrote:
> On Mon, 7 Jun 1999, Hamish Moffatt wrote:
>
> > I just freshly reinstalled ppp on one machine here. My
> > custom script in /etc/ppp/ip-up.d does not work; it
> > doesn't appear to run. I tested it for
On Mon, 7 Jun 1999, Hamish Moffatt wrote:
> I just freshly reinstalled ppp on one machine here. My
> custom script in /etc/ppp/ip-up.d does not work; it
> doesn't appear to run. I tested it form the command
Isn't your filename wrong?
/etc/ppp/ip-up
I just freshly reinstalled ppp on one machine here. My
custom script in /etc/ppp/ip-up.d does not work; it
doesn't appear to run. I tested it form the command
line with the named parameters and it worked. Here it is:
#!/bin/sh
# This script is called with the following arguments:
#Arg
Hi,
ip-up is a script running scripts in the directory /etc/ip-up.d using the
run-parts command.
My problem was that would not run my scripts. I have now looked at the
run-parts docs, and have found out tha my scripts can not contain .'s in the
the filename. This was the reason they woul
isp to connect to my ISP. I have made two scripts I want to run
when I am connected, and I thought they would be if I put them in ip-up.d
I have tested both scripts by running them "manually", and they work fine,
but
they do not seem to be run when I connect, at least they are
Hi,
I am using Xisp to connect to my ISP. I have made two scripts I want to run
when I am connected, and I thought they would be if I put them in ip-up.d
I have tested both scripts by running them "manually", and they work fine, but
they do not seem to be run when I connect, at least t
Bruce Sass writes:
> Jed picks up on "#!/bin/sh" and starts syntax highlighting, "#! /bin/sh"
> results in a plain text editing session.
That's a bug in jed. Emacs gets it right.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
On 19 Apr 1999, John Hasler wrote:
> Jiri writes:
> > That should be #! and there shouldn't be a space after it.
>
> The space doesn't matter.
Not as far as executing the script goes, but...
Jed picks up on "#!/bin/sh" and starts syntax highlighting,
"#! /bin/sh" results in a plain text editing
Jiri writes:
> That should be #! and there shouldn't be a space after it.
The space doesn't matter.
> Actually, there's not much point doing this. The reason everything else
> has it is because when you uninstall a package (rather than purge), dpkg
> will leave the i
fetchmail -f /home/cdysthe/.fetchmailrc
> fi
> exit 0
Actually, there's not much point doing this. The reason everything else has
it is because when you uninstall a package (rather than purge), dpkg will
leave the ip-up.d script behind and it needs to handle that. I can't quote
chapte
Christian Dysthe writes:
> I will try that, but the .fetchmailrc file in /home/cdysthe is owned by
> root. Shouldn't that be enough?
Baffle. Why do you have a .fetchmailrc owned by root in cdysthe's home? I
assumed you were trying to fetch mail for cdysthe.
Check the permissions. Fetchmail do
Thanks,
I will try that, but the .fetchmailrc file in /home/cdysthe is owned by root.
Shouldn't that be enough?
On 13-Apr-99 John Hasler wrote:
>> #! /bin/sh
>> fetchmail -f /home/cdysthe/.fetchmailrc
>
>> However, if I put it in /etc/ip-up.d they do not work as
> #! /bin/sh
> fetchmail -f /home/cdysthe/.fetchmailrc
> However, if I put it in /etc/ip-up.d they do not work as intended: I can
> see the fetchamil process start as soon as I am connected, but fetchmail
> won't collect mail in this case. It just hangs there inactive.
In ip-
hmailrc
fi
exit 0
Both works fine when I execute them "manually" (by typing in the name
in a terminal window, or click on it in mc).
However, if I put it in /etc/ip-up.d they
do not work as intended: I can see the fetchamil process start as soon as I
am connected, but fetchmail won't
hello everyone !
i placed the following ip masquerading rules in my /etc/ip-up.d/masqrules
:
#! /bin/sh
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
my question is, with those masq rules automatically run everytime my ppp link
comes up, do i also have
On Sat, 12 Dec 1998, Mark Phillips wrote:
>
> > In my ip-up, I have a line
> > run-parts /etc/ppp/ip-up.d
> >
> > So I put a file called fetchmail with a single line fetchmail.
> >
> > I also made it executable.
> >
> &
tory contains other useful info
Sasha.
>
> > In my ip-up, I have a line
> > run-parts /etc/ppp/ip-up.d
> >
> > So I put a file called fetchmail with a single line fetchmail.
> >
> > I also made it executable.
> >
> >
> In my ip-up, I have a line
> run-parts /etc/ppp/ip-up.d
>
> So I put a file called fetchmail with a single line fetchmail.
>
> I also made it executable.
>
> But when my link is up, nothing happened. I tried to ps ax the
>proce
On Thu, 10 Dec 1998 19:04:19 +1100 (EST), you wrote:
> In my ip-up, I have a line
> run-parts /etc/ppp/ip-up.d
>
> So I put a file called fetchmail with a single line fetchmail.
You need to put executable shell scripts in there. So your file
fetchmail sh
Hi all,
In my ip-up, I have a line
run-parts /etc/ppp/ip-up.d
So I put a file called fetchmail with a single line fetchmail.
I also made it executable.
But when my link is up, nothing happened. I tried to ps ax the
process. It is not there. I
To all who replied so helpfully, thanks. I now have a working setup.
Basically, the simplest solution for me is to add the "idle" option to
my ppp options, to hangup the line when there is no more activity.
A number of people suggested diald - it certainly looks good, and I may
well look into it
t; >Exactly like what I would have suggested. Make a script such as 'zpoff' -
> >so the leading 'z' puts the file at the end of the directory listing.
> >'run-parts' runs the scripts alphabetically AFAIK.
>
> Does this imply that the ip-up.d scri
I wrote:
> Are you saying that 'demand' now works in Linux?
Mitch Blevins writes:
> Don't use it. I had assumed from the man page and a VagueMemory(tm)
> that I had heard of it working...
Actually, 'demand' purportedly does work in Linux but, according to the
documentation, filtering doesn't. A
[EMAIL PROTECTED] wrote:
> Mitch Blevins writes:
> > For the most part, pppd can now do most of what people use diald for.
>
> Are you saying that 'demand' now works in Linux?
Don't use it. I had assumed from the man page and a VagueMemory(tm)
that I had heard of it working...
Anybody out th
On Wed, 21 Oct 1998, Raymond A. Ingles wrote:
> On Wed, 21 Oct 1998, Moore, Paul wrote:
> > What I'd like to do is to write a script which starts the PPP
> > connection, then waits for all the ip-up.d scripts to run, and for my
> > mail to finish arriving, and then drop
Mitch Blevins writes:
> For the most part, pppd can now do most of what people use diald for.
Are you saying that 'demand' now works in Linux?
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
On Wed, 21 Oct 1998, Moore, Paul wrote:
> What I'd like to do is to write a script which starts the PPP
> connection, then waits for all the ip-up.d scripts to run, and for my
> mail to finish arriving, and then drops the connection with poff
> (actually, I'd like it to as
Paul writes:
> I've come to the conclusion that the best way of doing what I'm after is
> to dial up manually, using pon. This is no problem. Diald doesn't really
> offer me anything extra here, as I basically don't want to dial up on
> demand... BUT, once I am online, I'd like to be able to get at
ted. Great. BUT, when the link
>> came up again, diald started a SECOND copy of slrnpull (as per the
>> ip-up.d scripts). This is definitely *not* right :-(
>
> This script should be changed to check for an existing running
> copy first..
Probably true. It's what came as
SECOND copy of slrnpull (as per the
> ip-up.d scripts). This is definitely *not* right :-(
This script should be changed to check for an existing running
copy first..
> Worst of all, because the link was started by diald, I couldn't stop it
> using poff - the process isn't own
Moore, Paul writes:
> Can diald be persuaded to do this (hangup-only, no dialup function)? If
> not, how do I get at the ppp link stats to monitor packets going
> through? If I can monitor packets/sec across the ppp link, or maybe
> traffic over the modem, I could write my own monitor-and-time
I use "pidof" for this purpose. Seems to work better,
for me at least, than searching for strings in the output
of "ps" You can discard the output of "pidof" and use the
return value. Something like shown below. Substituting the
program you want to monitor for "suck".
while pidof suck > /dev/null
ame up again, diald started a SECOND copy of slrnpull (as per the
> ip-up.d scripts). This is definitely *not* right :-(
This happens to me from time-to-time also, and it's the only problem I
have with my PPP/diald setup. Any hints would be greatly appreciated.
Cheers,
Pann
--
;zpoff' -
>so the leading 'z' puts the file at the end of the directory listing.
>'run-parts' runs the scripts alphabetically AFAIK.
Does this imply that the ip-up.d scripts are run in sequence? That's a
bit annoying - I was hoping to add a few mirrorring scripts
On Thu, 22 Oct 1998, Moore, Paul wrote:
> First problem was that I can't do the necessary "kill -HUP "
> to force the link up unless I am root. I don't really want a setuid root
> script to do this... Also, getting the PID of diald is (slightly) tricky
> in a script. Never mind, I can fix this up
On Wed, 21 Oct 1998, mwb wrote:
> On Wed, 21 Oct 1998, Moore, Paul wrote:
>
> > What I'd like to do is to write a script which starts the PPP
> > connection, then waits for all the ip-up.d scripts to run, and for my
> > mail to finish arriving, and then d
1 - 100 of 109 matches
Mail list logo