Re: NetworkManager WirelessEnabled / WirelessHardwareEnabled Properties



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
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]