[Sugar-devel] [PATCH sugar] About my computer: use NetworkManager to acquire list of devices
James Cameron
quozl at laptop.org
Tue Nov 30 19:09:41 EST 2010
On Tue, Nov 30, 2010 at 02:37:23PM +0100, Sascha Silbe wrote:
> The hardcoded name 'eth0' that is used for querying the firmware
> version doesn't match the interface name actually assigned to the
> wireless device in recent OLPC builds or on most non-XO hardware.
>
> Querying NetworkManager for the list of devices will work even on
> systems where the interface has been renamed during boot (persistent
> device names).
>
> If there are multiple wireless interfaces, firmware information for
> all of them will be shown (prefixed by interface name).
>
> Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
Reviewed-by: James Cameron <quozl at laptop.org>
On XO-1 where there is one physical device, with one instance of
firmware, and two network interfaces (eth0, msh0), this may be
displayed as two devices with the same firmware version.
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list