On 16 April 2010 22:35, Rick Stevens <ricks(a)nerd.com> wrote:
Hmmm, I'd call that a work-around, not a solution. The solution
gpk (in fact, all GUI-based stuff) to query the NICs via something like
ip link show up | egrep "(eth.:|wlan.:)"
and see if any network link is up. Or scan /proc/net/dev (or one of
the /proc/net files).
That doesn't get us the connection type (GPRS dialup, WLAN, wired
data) and the NM API is so much easier to use. That said, to ignore NM
completely just edit /etc/PackageKit/PackageKit.conf and change