I am using a proprietary rt3652sta driver for my wireless card. It appears as a ra0 device on the 64-bit Ubuntu 12.04.
According to the online documentation the following used to work definitely up to 10.04.
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:org.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:false
This however has no effect on the aforesaid wireless card in 12.04. Also, rfkill does not work as it does not even list the wireless button (again, likely due to the wireless driver being proprietary):
It only lists the hci0 (bluetooth) one and one can block/unblock it accordingly but this has no effect on the wifi.
ifup/down also does not work (AFAICT)...
And this leaves me with disabling wireless through the network manager applet. However, trying to do so via dbus appears not to work and yet I would like to automate it via a script.
Any ideas how I could find out the proper dbus structure for the call? Is this even possible in Ubuntu 12.04?
ifconfig ra0 up/down?