From: Steffen Sledz <sledz@dresearch-fe.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] udev: avoid udev stopping persistent pppd connections
Date: Mon, 04 Jul 2011 10:36:04 +0200 [thread overview]
Message-ID: <4E117B74.9080904@dresearch-fe.de> (raw)
In-Reply-To: <1309419211-20670-1-git-send-email-sledz@dresearch-fe.de>
On 30.06.2011 09:33, Steffen Sledz wrote:
> From: Mario Schuknecht <schuknecht@dresearch-fe.de>
>
> When a pppd session is disconnected it triggers the udev to ifdown the
> ppp link which kills pppd and inhibits a reconnection.
>
> Now avoid udev stopping ppp connections.
>
> See also:
> https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/396804
> https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/78043
> http://ubuntuforums.org/showthread.php?t=1177021
> http://rants.atmurray.net/2007/01/pppd-persist-not-so-persist-with-udev.html
>
> Signed-off-by: Mario Schuknecht <schuknecht@dresearch-fe.de>
> Acked-by: Steffen Sledz <sledz@dresearch-fe.de>
> ---
> recipes/udev/udev/network.sh | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/udev/udev/network.sh b/recipes/udev/udev/network.sh
> index 182c26d..d287855 100644
> --- a/recipes/udev/udev/network.sh
> +++ b/recipes/udev/udev/network.sh
> @@ -9,6 +9,8 @@ test -x /sbin/cardctl && exit 0
> # We get two "add" events for hostap cards due to wifi0
> echo "$INTERFACE" | grep -q wifi && exit 0
>
> +# Avoid udev stopping persistent ppp connections
> +echo "$INTERFACE" | grep -q ppp && exit 0
>
> # Check if /etc/init.d/network has been run yet to see if we are
> # called by starting /etc/rcS.d/S03udev and not by hotplugging a device
Ping!
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
prev parent reply other threads:[~2011-07-04 8:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 7:33 [PATCH] udev: avoid udev stopping persistent pppd connections Steffen Sledz
2011-07-04 8:36 ` Steffen Sledz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E117B74.9080904@dresearch-fe.de \
--to=sledz@dresearch-fe.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.