[system-tools] Another possible bug in the network-backend (--set)
- From: Juan Luis Baptiste <juancho phreaker net>
- To: system-tools-list gnome org
- Cc: juan baptiste kdemail net
- Subject: [system-tools] Another possible bug in the network-backend (--set)
- Date: Sun, 11 Jul 2004 00:56:13 +0000
Hi,
I'm having a problem when saving the network configuration via the
network-backend of gst 0.34. When setting the network configuration, the dhcp
interfaces are being disabled. For example, whe doing:
./network-backend --set < file.xml
where file.xml contains this:
<?xml version="1.0" ?>
<!DOCTYPE network []>
<network>
<gateway>192.168.1.1</gateway>
<gatewaydev>eth0</gatewaydev>
<hostname>laptop.maeztro.dhis.org</hostname>
<domain></domain>
<nameserver>192.168.1.1</nameserver>
<interface>
<auto>1</auto>
<bootproto>dhcp</bootproto>
<dev>eth0</dev>
<enabled>1</enabled> <------ it's enabled
<file>eth0</file>
</interface>
<interface>
<address>192.168.7.101</address>
<broadcast>192.168.7.255</broadcast>
<netmask>255.255.255.0</netmask>
<network>192.168.7.0</network>
<name>Ethernet Network Device</name>
<auto>0</auto>
<bootproto>none</bootproto>
<dev>eth1</dev>
<enabled>0</enabled>
<file>eth1</file>
</interface>
</network>
<!-- GST: end of request -->
When I run ./network-conf -d list_ifaces right after, this is the output:
<!DOCTYPE network-ifaces []>
<network-ifaces>
<interface>
<active>1</active>
<addr>127.0.0.1</addr>
<dev>lo</dev>
<mask>255.0.0.0</mask>
</interface>
<interface>
<active>0</active> <----- yep, it has been disabled!
<dev>eth1</dev>
<hwaddr>00:05:3C:07:7A:8A</hwaddr>
</interface>
<interface>
<active>0</active>
<dev>eth0</dev>
<hwaddr>00:09:6B:53:FE:90</hwaddr>
</interface>
</network-ifaces>
<!-- GST: end of request -->
and ifconfig:
[root laptop juancho]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:6B:53:FE:90
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1509752 errors:546 dropped:0 overruns:0 frame:546
TX packets:2164302 errors:0 dropped:0 overruns:0 carrier:0
collisions:10986
RX bytes:447308679 (426.5 Mb) TX bytes:522553572 (498.3 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5355 errors:0 dropped:0 overruns:0 frame:0
TX packets:5355 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:429551 (419.4 Kb) TX bytes:429551 (419.4 Kb)
Could this be a bug?
Cheers,
--
Juan Luis Baptiste
http://www.merlinux.org
http://knetworkconf.sf.net
http://www.kalyxo.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]