Hi Alexander,

As requested on bug #320652, here's the lshal output for my tap0 vs.
eth0 devices.  The key difference I notice is the
net.originating_device, which shows only
'/org/freedesktop/Hal/devices/computer' for tap0 - I think this
corresponds to the fact that /sys/class/net/tap0/ has no 'device' entry,
and seems to be an accurate way to distinguish physical devices from
virtual ones.

udi = '/org/freedesktop/Hal/devices/net_c2_af_1e_10_ca_56'
  info.capabilities = {'net', 'net.80203', 'wake_on_lan'} (string list)
  info.category = 'net.80203'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.WakeOnLan'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Networking Interface'  (string)
  info.subsystem = 'net'  (string)
  info.udi = '/org/freedesktop/Hal/devices/net_c2_af_1e_10_ca_56'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'net'  (string)
  linux.sysfs_path = '/sys/devices/virtual/net/tap0'  (string)
  net.80203.mac_address = 214057379482198  (0xc2af1e10ca56)  (uint64)
  net.address = 'c2:af:1e:10:ca:56'  (string)
  net.arp_proto_hw_id = 1  (0x1)  (int)
  net.interface = 'tap0'  (string)
  net.linux.ifindex = 7  (0x7)  (int)
  net.originating_device = '/org/freedesktop/Hal/devices/computer'  (string)
  org.freedesktop.Hal.Device.WakeOnLan.method_argnames = {'', '', 'enable'} 
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_execpaths = 
{'hal-system-wol-supported', 'hal-system-wol-enabled', 'hal-system-wol-enable'} 
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_names = {'GetSupported', 
'GetEnabled', 'SetEnabled'} (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_signatures = {'', '', 'b'} 
(string list)

udi = '/org/freedesktop/Hal/devices/net_00_15_58_81_5a_8c'
  info.capabilities = {'net', 'net.80203', 'wake_on_lan'} (string list)
  info.category = 'net.80203'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.WakeOnLan'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_109a'  (string)
  info.product = 'Networking Interface'  (string)
  info.subsystem = 'net'  (string)
  info.udi = '/org/freedesktop/Hal/devices/net_00_15_58_81_5a_8c'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'net'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0'  (string)
  net.80203.mac_address = 91679185548  (0x1558815a8c)  (uint64)
  net.address = '00:15:58:81:5a:8c'  (string)
  net.arp_proto_hw_id = 1  (0x1)  (int)
  net.interface = 'eth0'  (string)
  net.linux.ifindex = 2  (0x2)  (int)
  net.originating_device = '/org/freedesktop/Hal/devices/pci_8086_109a'  
(string)
  org.freedesktop.Hal.Device.WakeOnLan.method_argnames = {'', '', 'enable'} 
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_execpaths = 
{'hal-system-wol-supported', 'hal-system-wol-enabled', 'hal-system-wol-enable'} 
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_names = {'GetSupported', 
'GetEnabled', 'SetEnabled'} (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_signatures = {'', '', 'b'} 
(string list)

-- 
Network manager shows and connects to virtual interfaces
https://bugs.launchpad.net/bugs/199140
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to