Add network connection info to Do.Platform

Bug #324484 reported by Chris Halse Rogers on 2009-02-02
Affects Status Importance Assigned to Milestone
Chris S.

Bug Description

As my laptop is pretty frequently not connected to a network, it's a bit annoying to watch Do's logs fill up with the many failed connections the various internet-connecting plugins attempt. All platforms should have some way of determining whether a network is available, so we should have some sort of network-status available in Do.Platform, with a NetworkManager implementation in Do.Platform.Linux so plugins can check whether a network is available before doing network stuff.

Related branches

Changed in do:
importance: Undecided → Low
status: New → Confirmed
Peng Deng (d6g) wrote :

I recently have had another idea and it seems related so I put it here: maybe the Universe Manager can be aware of the Internet status. When there is not Internet, it won't update any item source which will involve Internet access; This requires the item source to have extra property telling UM if they needs Internet access during updating. Regarding how UM can know about the network status, maybe the system-wide NetworkManager can provide some information over DBus?

Chris S. (cszikszoy) wrote :

I'll work on providing a patch for this. I recently dove head first into the rabbit-hole that is NM's dbus interface, and I can provide an easy way for detecting network connection status.

Changed in do:
milestone: none → 0.8.2
Chris S. (cszikszoy) on 2009-06-09
Changed in do:
assignee: nobody → Chris S. (cszikszoy)
Chris S. (cszikszoy) on 2009-06-17
Changed in do:
status: Confirmed → In Progress
Jason Smith (jassmith) on 2009-06-19
Changed in do:
status: In Progress → Fix Committed
Changed in do:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers