-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I shall give the script a try. I had not realised that there was an update-rc.d script to run.
I read somewhere a line that could be added somewhere that would remove and then modprobe again the two devices after a suspend and resume. I had a quick Google and found this for Familiar. I wonder if anything has to be changed for Angstrom? http://osdir.com/ml/handhelds.ipaq.hx4700.linux/2007/msg00676.html #!/bin/sh # Unloads/loads all interface that are up at time of suspend if [ "$1" = suspend ]; then rm -f /var/run/ifstate-suspend rm -f /var/run/ifstate-old cp /var/run/ifstate /var/run/ifstate-old cat /var/run/ifstate-old | ( IFS="=" while read IFACE LOGICAL; do ifdown $IFACE echo "$IFACE=$LOGICAL" >>/var/run/ifstate-suspend done rm -f /var/run/ifstate-old ) elif [ "$1" = resume ] && [ "$2" != standby ] && [ -f /var/run/ifstate-suspend ]; then rmmod acx modprobe acx cat /var/run/ifstate-suspend | ( while read LINE; do ifup $LINE done ) rm -f /var/run/ifstate-suspend fi : exit 0 Bob Igo wrote: | Try this... | | Create /etc/init.d/kick_network: | | #!/bin/sh | case "${1:-''}" in | ~ 'start') | ifdown wlan0 | modprobe hx4700_acx | modprobe acx | /etc/init.d/networking restart | ifup wlan0 | ;; | ~ 'stop') | ifdown wlan0 | /etc/init.d/networking stop | ;; | ~ *) | ~ echo "Usage: $0 start|stop" | exit 1 | ;; | | esac | | Then run: | | update-rc.d kick_network defaults 41 | | Then reboot. It should work then. | _______________________________________________ Angstrom-distro-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users - -- PGP plugin for Microsoft Outlook: http://www.gpg4win.org/ PGP plugin for Thunderbird/Mozilla: http://enigmail.mozdev.org No legitimate reason to know, no legitimate reason to ask. In the beginning, things were simple. That's arguably because people were far more stupid, but let's not split hairs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIqHRYKTaqpMPqlXYRChKJAJ4yim3O6emE9HgIG98z86ucqNqE0ACgjmfq ajx692Vx9CIs3yYC0rp+JG8= =jw9U -----END PGP SIGNATURE----- _______________________________________________ Angstrom-distro-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
