View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#7
Originally Posted by peterleinchen View Post
I would propose also an ifup script checking the ssid and then look to get the automatic checks set to NULL (do not know yet, nothing in phone_control, maybe check with gconf). As just killing modest will not help, it will arise out of the ashes and update again.
I came here to say this. Well done pete.

I use this to change wifi power on certain networks:

Code:
 cat /etc/network/if-up.d/50_wifiscripts
#!/bin/sh
essid=$(iwgetid -s)

if [ "$essid" == "home" ]; then
        iwconfig wlan0 txpower 4
        echo $essid
elif [ "$essid" == "work" ]; then
        iwconfig wlan0 txpower 6
fi
Combine the above with a gconf toggle as suggested and done.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 4 Users Say Thank You to vi_ For This Useful Post: