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



Ok, this is definitely a bug :), I'll try to fix it before the next
release

	Sorry

On Fri, 2005-01-14 at 00:29 -0500, Juan Luis Baptiste wrote:
> 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,



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