[system-tools] What happened to <addr> in -d list_ifaces in 1.1.4?

Juan Luis Baptiste <[email protected]>
Newsgroups gmane.comp.gnome.ximian.setup-tool
Organization Merlinux
Message-ID <[email protected]>
Hi,

When upgrading KNetworkConf to gst 1.1.4 I founded with surprise that -d 
list_ifaces doesn't return anymore the IPaddress, broadcast, etc for a given 
interface. Why is this? is there another way to obtain this info? or maybe a 
bug?

This is the output I get from 1.1.4:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network-ifaces []>

<network-ifaces>

  <interface>
    <dev>lo</dev>
    <enabled>1</enabled>
    <type>loopback</type>
  </interface>

  <interface>
    <dev>eth1</dev>
    <enabled>1</enabled>
    <hwaddr>00:09:6B:53:FE:90</hwaddr>
    <type>ethernet</type>
  </interface>

  <interface>
    <dev>eth0</dev>
    <enabled>0</enabled>
    <hwaddr>00:05:3C:07:7A:8A</hwaddr>
    <type>wireless</type>
  </interface>

</network-ifaces>

<!-- GST: end of request -->

And this is from 1.1.0:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network-ifaces []>

<network-ifaces>

  <interface>
    <active>0</active>
    <dev>sit0</dev>
  </interface>

  <interface>
    <active>1</active>
    <addr>127.0.0.1</addr>
    <dev>lo</dev>
    <mask>255.0.0.0</mask>
  </interface>

  <interface>
    <active>1</active>
    <addr>192.168.1.2</addr>
    <bcast>192.168.1.255</bcast>
    <dev>eth1</dev>
    <hwaddr>00:09:6B:53:FE:90</hwaddr>
    <mask>255.255.255.0</mask>
  </interface>

  <interface>
    <active>0</active>
    <dev>eth0</dev>
    <hwaddr>00:05:3C:07:7A:8A</hwaddr>
  </interface>

</network-ifaces>

<!-- GST: end of request -->


I use -d list_ifaces to get the IP address of dhcp interfaces as --get doesn't 
return it for this type of interfaces, so now I can't do it.

I'm using Mandrake 10.1 official.

Cheers,
-- 
Juan Luis Baptiste
http://www.merlinux.org
http://knetworkconf.sf.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.