From 3f1f4cd4e067cf515e12ae862470cbd5776e0235 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 9 Apr 2009 11:38:26 +0200 Subject: [PATCH] grml-bridge: bring network devices up by default --- debian/changelog | 8 ++++++++ sbin/grml-bridge | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index 79b69ca..e94d14f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-network (0.2.7) unstable; urgency=low + + * grml-bridge: bring network devices up by default using + 'ifconfig $DEV 0.0.0.0 up'. This makes configuration more + reliable according to my tests. + + -- Michael Prokop Thu, 09 Apr 2009 11:37:25 +0200 + grml-network (0.2.6) unstable; urgency=low * grml-bridge: diff --git a/sbin/grml-bridge b/sbin/grml-bridge index c74c8cc..b15ad98 100755 --- a/sbin/grml-bridge +++ b/sbin/grml-bridge @@ -51,6 +51,14 @@ case "$1" in ;; esac + einfo "Bringing network device up: " + eindent + for i in $BRIDGE_DEVICES ; do + einfo "$i" + ifconfig "$i" 0.0.0.0 up ; eend $? + done + eoutdent + einfo "Enabling promiscous mode on: " eindent for i in $BRIDGE_DEVICES ; do -- 2.1.4