Dan,<br><br>Do we have a description of the dbus API for the XO NM implementation somewhere?<br><br>[Like the one in: <a href="http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt">http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt
</a>]<br><br>Thank you!<br><br>Carrano<br><br><div class="gmail_quote">On Jan 17, 2008 6:24 PM, Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Thu, 2008-01-17 at 14:18 -0500, Mikus Grinbergs wrote:<br>> >> To completely silence the radio:<br>> >> #!/bin/bash<br>> >> rmmod usb8xxx<br>> >> mv /lib/firmaware/usb8883.bin /lib/firmaware/usb8883.bin.quiet
<br>><br>> > For a more user-friendly solution, (short of a hardware rfkill switch)<br>> > put a toggle somewhere in the control panel for "Don't turn the radio on<br>> > automatically" that is _UN_checked by default, and a wireless
<br>> > enabled/disabled button there too. ...<br>> > Then ensure that NetworkManager is clued into the preference value<br>> > above, and that NM sets it's initial wireless-enabled state coherently
<br>> > with the preference value above as well.<br>> ><br>> > Were these things done, by default the behavior would be the same as it<br>> > is now, but those people who wish insane amounts of control over the TX
<br>> > power state can have their fluffy white cake and eat it too.<br>><br>> I'm one of those who wishes for control. The G1G1 offering has set<br>> up a user population different from the education design of the OLPC
<br>> project. I live in the boonies, have no wireless, and there are no<br>> other radios within range. My connection is by wired ethernet.<br>><br>> Took me a while to find out that NetworkManager would set up my
<br>> wired connection, if I provided a DHCP server. However, if I happen<br>> to unplug my ethernet cable for a while, NetworkManager reverts eth0<br>> back to radio (and I need to reboot to reconnect as wired).
<br>><br>><br>> What I wish for is a user toggle that when I'm at home will inhibit<br>> NetworkManager from supplanting the wired connection. (But I do<br>> want to restore radio function when I take my XO to a cafe.)
<br><br></div></div>NetworkManager has functionality to enable/disable the wireless, it's<br>just not exposed from the user interface yet. I believe Simon has been<br>looking into this. In the mean-time, you can disable wireless by
<br>running:<br><br>dbus-send --system \<br> --dest=org.freedesktop.NetworkManager \<br> /org/freedesktop/NetworkManager \<br> org.freedesktop.NetworkManager.setWirelessEnabled boolean:false<br><br>and NetworkManager won't try to use either of the
802.11bg or the mesh<br>interfaces until the next reboot.<br><font color="#888888"><br>Dan<br></font><div><div></div><div class="Wj3C7c"><br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.laptop.org">
Devel@lists.laptop.org</a><br><a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br></div></div></blockquote></div><br>