From 062b0a61e895973ea0e6b6a5084b6d4359e95920 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 12 Mar 2009 15:33:12 +0100 Subject: [PATCH] add test for iwlagn not working after suspend Signed-off-by: Nico Schottelius --- linux/t_suspend_iwconfig_loop.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 linux/t_suspend_iwconfig_loop.sh diff --git a/linux/t_suspend_iwconfig_loop.sh b/linux/t_suspend_iwconfig_loop.sh new file mode 100755 index 0000000..e05ae60 --- /dev/null +++ b/linux/t_suspend_iwconfig_loop.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Nico Schottelius +# Script to test if iwlagn wlan associated or not after suspend +# run in screen, started via ssh + +while true; do echo mem > /sys/power/state ; dmesg; ip link set wlan0 down; ip link set wlan0 up; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; sleep 5; echo =========; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; read test ; done +