From: Hendrik Boom on 16 May 2010 23:30 I have a script that runs at boot time. It should really be rerun every time my pppoe connection has come up and has created device ppp0 for me. Evidently I have to invoke this script from someplace different from what I'm doing now. Where? -- hendrik -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hsqcl9$ejc$1(a)dough.gmane.org
From: Cameron Hutchison on 17 May 2010 01:00 Hendrik Boom <hendrik(a)topoi.pooq.com> writes: >I have a script that runs at boot time. It should really be rerun every >time my pppoe connection has come up and has created device ppp0 for me. >Evidently I have to invoke this script from someplace different from what >I'm doing now. Where? After a ppp connection is established, pppd(8) runs the scripts in /etc/ppp/ip-up.d . Check the man page for pppd(8) under the section SCRIPTS. This describes which scripts are run when and what environment variables are available. The standard ppp runs the script /etc/ppp/ip-up when the link comes up. Debian implements this script to run all the scripts in /etc/ppp/ip-up.d -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1b84.4bf0cb0f.d321a(a)getafix.xdna.net
From: Hendrik Boom on 17 May 2010 14:20 On Mon, 17 May 2010 04:50:23 +0000, Cameron Hutchison wrote: > Hendrik Boom <hendrik(a)topoi.pooq.com> writes: > >>I have a script that runs at boot time. It should really be rerun every >>time my pppoe connection has come up and has created device ppp0 for me. >>Evidently I have to invoke this script from someplace different from >>what I'm doing now. Where? > > After a ppp connection is established, pppd(8) runs the scripts in > /etc/ppp/ip-up.d . Check the man page for pppd(8) under the section > SCRIPTS. This describes which scripts are run when and what environment > variables are available. > > The standard ppp runs the script /etc/ppp/ip-up when the link comes up. > Debian implements this script to run all the scripts in /etc/ppp/ip-up.d So pppoe is similar to ppp in this respect, though I suppose there are some differences having to do with using the ethernet instead of a serial link. Thanks. -- hendrik -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hss0vh$cp8$1(a)dough.gmane.org
From: Hendrik Boom on 20 May 2010 15:00 On Mon, 17 May 2010 18:13:06 +0000, Hendrik Boom wrote: > On Mon, 17 May 2010 04:50:23 +0000, Cameron Hutchison wrote: > >> Hendrik Boom <hendrik(a)topoi.pooq.com> writes: >> >>>I have a script that runs at boot time. It should really be rerun >>>every time my pppoe connection has come up and has created device ppp0 >>>for me. Evidently I have to invoke this script from someplace different >>>from what I'm doing now. Where? >> >> After a ppp connection is established, pppd(8) runs the scripts in >> /etc/ppp/ip-up.d . Check the man page for pppd(8) under the section >> SCRIPTS. This describes which scripts are run when and what environment >> variables are available. >> >> The standard ppp runs the script /etc/ppp/ip-up when the link comes up. >> Debian implements this script to run all the scripts in >> /etc/ppp/ip-up.d > > So pppoe is similar to ppp in this respect, though I suppose there are > some differences having to do with using the ethernet instead of a > serial link. Thanks. > > -- hendrik Thanks. It works like a charm. -- hendrik -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/ht40c2$166$1(a)dough.gmane.org
|
Pages: 1 Prev: apect ration change on wide monitor Next: Fwd: peluang bisnes online!!! |