Christian Zoz wrote:
On Wed, Oct 24, Martin Pitsch wrote:
In /etc/rc.config.d/apmd.rc.config habe ich den Wert
# If you have a build in NIC that does not survive a suspend/resume cycle # properly, you can add the interface name to this variable. It will then be # shut down before suspend and brought up after resume. # Default: "" APMD_INTERFACES_TO_STOP="e100"
Da sollte wohl auch 'eth0' heißen. Mit 'interface name' sind die Namen gemeint, die z.B. 'ifconfig' anzeigt. 'e100' ist der Name des Moduls.
gesetzt. Dies hilft nicht weiter. An die /usr/sbin/apmd_proxy traue ich mich nicht heran, da ich nicht um die genauen Einträge weis (Danke für den Tip Christian).
Versuchs mal damit:
--- /meins/oran-7.3/ccf/usr/sbin/apmd_proxy.orig Sun Sep 23 22:28:30 2001 +++ /usr/sbin/apmd_proxy Thu Oct 25 14:07:30 2001 @@ -270,6 +270,11 @@ for IFACE in $APMD_INTERFACES_TO_STOP; do /sbin/ifconfig $IFACE down done + # And sometimes we have even to unload the module + for IFACE in $APMD_INTERFACES_TO_UNLOAD; do + /sbin/ifconfig $IFACE down + /sbin/modprobe -r $IFACE + done
# Uncomment this segment if your graphics card does not resume # in graphics mode properly (ie, in X windows). This action @@ -335,6 +340,10 @@ test "$2" != suspend && exit 0
# Reactivate stopped network interfaces + if [ -n "$APMD_INTERFACES_TO_UNLOAD" ] ; + /etc/init.d/network start + /etc/init.d/route start + fi for IFACE in $APMD_INTERFACES_TO_STOP; do /sbin/ifconfig $IFACE up done
und
--- /meins/oran-7.3/ccf/etc/rc.config.d/apmd.rc.config.orig Thu Oct 18 18:21:40 2001 +++ /etc/rc.config.d/apmd.rc.config Thu Oct 25 14:05:36 2001 @@ -139,6 +139,11 @@ # Default: "" APMD_INTERFACES_TO_STOP=""
+# If it does not help to shutdown the network interface via +# APMD_INTERFACES_TO_STOP you can unload the module driving your NIC at suspend +# and restart the network at resume. +APMD_INTERFACES_TO_UNLOAD="eth0" + # If your graphic device is not able to return properly from suspend # you can switch to textconsole before suspend and return to your # X-console after resume.
Sag bitte Bescheid, obs hilft, dann baue ich das ins apmd-Paket ein.
Hallo Christian, ich habe es wie von Dir beschrieben getestet. Es klappte nicht. Beim umschalten in den Suspendmodus blieb eth0 aktiv, beim reaktivieren wurde eth0 inaktiv! Die Maus spielte dann nur noch verrückt. Schade. :-( Mit freundlichen Grüssen, Martin -- Martin Pitsch Tel. : 07146 / 99 07 47 Eichenrain 16 eMail: m.pitsch@gmx.de 71686 Remseck