I "should" have known that... :) I guess I am out of it today.  I was hoping
to find a property based way but the device list works just as well.

Phil

-----Original Message-----
From: Dan Williams [mailto:[email protected]] 
Sent: Monday, March 09, 2009 1:19 PM
To: Philip A. Culver
Cc: [email protected]
Subject: Re: NetworkManager WirelessEnabled /
WirelessHardwareEnabledProperties

On Mon, 2009-03-09 at 13:16 -0400, Philip A. Culver wrote:
> Hello,
> 
>  
> 
> Is there any way in NetworkManager 0.7.0 to tell if no wireless
> hardware is currently present?   I could tell this in 0.6.x via the
> WirelessEnabled property.   In 0.7.0 I reboot the machine with no
> wireless card and the WirelessEnabled and WirelessHardwareEnabled
> properties are both still set to true.  Is this correct?  I queried NM
> via the command: 

Ask NetworkManager for the device list, and check what type each device
is.  If any of the devices are wifi, then you know you've got some :)

Dan

>  
> 
> dbus-send -system -print-reply -
> dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager
> org.freedesktop.DBus.Properties.Get
> string:"org.freedesktop.NetworkManager" string:"WirelessEnabled"
> 
>  
> 
> Thanks,
> 
> Phil
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to