View Single Post
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#10
Originally Posted by sysedit View Post
Is there any pre-requisite to be able to turn power management off for wlan ?
I'm always getting this error (I tried: from terminal as root, as user, connecting via ssh over usb, with or without internet connection set).



Do you have the bug id so I (and everyone else on this thread) can vote for it ?

Thanks !
You need develsh... so

Code:
echo rootme | devel-su -c "develsh -c 'while true;
		do
			date \"+%T\"
			/sbin/iwconfig wlan0 power off
			count=0
			while [ \$count -le 5 ];
			do
				/usr/bin/bmestat|sed -n '/current/p'
				/sbin/iwlist wlan0 power
				sleep 10
				count=\$((count+1))
			done
		done'"
This is the code i have in n9tweak.. just configure it to your needs.

The basic would be..

Code:
devel-su -c "develsh -c '/sbin/iwconfig wlan0 power off'"
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2011-12-31 at 02:54.