Am Aug 26, 2010 um 10:19  schrieb Davide Scaini:

> It seems that dbus syntax changed and my old scripts are not working now...
> I need a fast help, please: how do I enable wifi from command line? (I do not 
> have X running so I can't select Wifi>Manual>Yes in Settings app)
> thanks a lot

Not sure what your scripts do but maybe you want to check out fsoraw, which may 
request some resource, e.g., Wifi.

For example, if you have some script that needs network connectivity you could 
do:

> fsoraw -r WiFi -- /path/to/your/script

and Wifi will be turned on while your script executes.

Another example:

> fsoraw -r WiFi -- /usr/sbin/wpa_supplicant -i eth0 -c 
> /etc/wpa_supplicant/wpa_supplicant.conf

Would run wpa_supplicant after turning on Wifi. Once you kill wpa_supplicant 
Wifi will be turned off again.

Dirk
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to