knetwork-conf (Apply changes is not working)

Bug #14515 reported by Sean Wheller
8
Affects Status Importance Assigned to Milestone
kdeadmin (Ubuntu)
Fix Released
Medium
Jonathan Riddell

Bug Description

After changes have been made to TCP/IP settings via Knetwork-conf GUI the user
needs to press "Apply" to save changes and apply them to the environment. At
present the changes are not applied to the environment via the GUI.

On Wednesday 23 March 2005 17:21, Juan wrote:
> Hi Sean,
>
> Reading the manual I found this at the end:
>
> Applying Changes
>
>
> Changes made via the Network Settings module are not automatically applied
> to the system environment. To apply the changes made, start Konsole and
> execute the following command.
>
> /etc/init.d/networking restart
>
> That's definetively NOT true. The changes ARE applied and the network
> restarted when you push the Apply button. If not, then it's a bug in Debian
> support of the network backend (and blame GST people !!! :P ).
> Try this:
>
> /ust/share/apps/knetworkconf/backends/network-conf --get > network.xml
>
>
> Edit network.xml and change some config value, for example your ip address.
>
> /ust/share/apps/knetworkconf/backends/network-conf --set < network.xml
>
>
> And the change you made should be applied, so running ifconfig immediately
> after should show the new address without needing to restart the network by
> hand, if not, then it's a bug.

On Wednesday 23 March 2005 19:07, Juan wrote:
> Can you test on a Debian Sarge system? to know if it is a kubuntu specific
> or a Debian problem.

Revision history for this message
Chris Halls (halls) wrote :

Confirmed. I can enable/disable interfaces but cannot change the ip address.

Revision history for this message
Tom Fernandes (tom-fernandes) wrote :

Changing IP addresses works for me using the install and live CD from 30.03.05

Most of the following points (not all) are confirmed for the live and the install CD

works:
 * changing IP address
 * adding and removing nameservers works
 * editing an existing /etc/hosts
 * setting the "Activate when the computer starts" option puts "auto eth0
     into /etc/network/interfaces works when IP is static
 * removing the "Activate when the computer starts" option (ones it has been set)
    removes "auto eth0" from /etc/network/interfaces if IP is static
 * setting the hostname
 * enabling / disabling the interface

does not work:
 * setting / changing the route
 * it's not possible to edit the "search" option in /etc/resolv.conf
 * removing the "Activate when the computer starts" option (ones it has been set)
     doesn't remove "auto eth0 from /etc/network/interfaces if IP is from dhcp
 * setting the "Activate when the computer starts" option puts "auto eth0" into
    /etc/network/interfaces does not work when IP is from dhcp
 * setting the hostname addes the new hostname to the existing one as an alias in
    /etc/hosts. It won't show up in the list of "Static Hosts" though until you
    got out of the module and start it again.
 * setting the domain does not work

sometimes I have the options to press "Apply" twice and it will show the "Reloading
Network" again - nothing changes though.

Revision history for this message
Jacopo (damaskinos) wrote :

Confirmed. I can enable/disable interfaces but the change of ip address not work and ifconfig report a different ip and netmask..
exemple:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:EA:6E:60:A5
          inet addr:169.254.61.158 Bcast:0.0.0.0 Mask:255.255.0.0

# netstat -nap | grep tcp
tcp 0 0 192.168.0.2:37435 207.46.6.114:1863 ESTABLISHED5341/wish

Revision history for this message
Sean Wheller (sean-inwords) wrote : Re: [Bug 14515] Re: knetwork-conf (Apply changes is not working)

On Saturday 15 April 2006 16:50, Jacopo wrote:
> Confirmed. I can enable/disable interfaces but the change of ip address not
> work and ifconfig report a different ip and netmask.. exemple:
>
> # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:0F:EA:6E:60:A5
> inet addr:169.254.61.158 Bcast:0.0.0.0 Mask:255.255.0.0
>
> # netstat -nap | grep tcp
> tcp 0 0 192.168.0.2:37435 207.46.6.114:1863
> ESTABLISHED5341/wish

Correct long time bug, dunno why the developers don't fix it.

--
Sean Wheller
Technical Author
<email address hidden>
+27-84-854-9408
http://www.inwords.co.za

Revision history for this message
Luka Renko (lure) wrote :

The most problematic bug (enable does not apply config first) will get fixed with next upload (see bug 35509).

I will try to reproduce also other reports in comment from Tom Fernandes. Tom: thank you for great testing work!

Changed in kdeadmin:
status: Unconfirmed → Confirmed
Revision history for this message
Luka Renko (lure) wrote :

I have verified Tom's comments and here is my feedback:
 * setting / changing the route
    WORKS FOR ME

 * it's not possible to edit the "search" option in /etc/resolv.conf
   CONFIRMED - if this is a must, please submit wish to bugs.kde.org

 * removing the "Activate when the computer starts" option (ones it has been set)
     doesn't remove "auto eth0 from /etc/network/interfaces if IP is from dhcp
  WORKS FOR ME

 * setting the "Activate when the computer starts" option puts "auto eth0" into
    /etc/network/interfaces does not work when IP is from dhcp
  WORKS FOR ME

 * setting the hostname addes the new hostname to the existing one as an alias in
    /etc/hosts. It won't show up in the list of "Static Hosts" though until you
    got out of the module and start it again.
  CONFIRMED - I consider this as minor issue, but if you feel it needs to be fixed, please open another bug.

 * setting the domain does not work
   WORKS FOR ME

Since most of the issue are solved and intial report is resolved I am closing this bug. Feel free to open new bug for each individual issue that you feel it should be addressed in Dapper.

Changed in kdeadmin:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.