I'd like to create a simple solution like doubleclicking something to activate/deactivate WLAN from a windows system.
My idea so far is to:
- create a new user (http://tomatousb.org/tut:adding-your-own-users)
- grant him rights activate/deactivate WLAN
- make something like a .bat in combination with putty/ssh that executes "ifconfig eth1 down/up"
Is my idea to complicated or are there simpler/better steps for this ?
If my steps are ok in general:
How could I just grant a user the rights to activate/deactivate WLAN ?
Is "ifconfig eth1 down/up" a good way to activate/deactivate WLAN ?