* [PATCH] udev: avoid udev stopping persistent pppd connections
@ 2011-06-30 7:33 Steffen Sledz
2011-07-04 8:36 ` Steffen Sledz
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Sledz @ 2011-06-30 7:33 UTC (permalink / raw)
To: openembedded-devel
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
--
1.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-04 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30 7:33 [PATCH] udev: avoid udev stopping persistent pppd connections Steffen Sledz
2011-07-04 8:36 ` Steffen Sledz
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.