Koozali.org formerly Contribs.org

Need help on removing local network setting

gooseman

Need help on removing local network setting
« on: July 14, 2006, 06:01:19 PM »
I created a local network route, but need to change it.  I deleted it and am trying to create the same route but to a different router.  When adding it I get the message "Error: network (derived from network and subnet mask ) has already been added. Did not add new network"  Are there any other ways to totally remove the local network/route, so I can re-add it again

Re: Need help on removing local network setting
« Reply #1 on: July 16, 2006, 12:47:28 AM »
Quote from: "gooseman"
I created a local network route, but need to change it.  I deleted it and am trying to create the same route but to a different router.  When adding it I get the message "Error: network (derived from network and subnet mask ) has already been added. Did not add new network"  Are there any other ways to totally remove the local network/route, so I can re-add it again


Deleting it, from the local networks panel, should "totally remove" it. If it doesn't, you may have found a bug, and you should report it via the Bug Tracker.

Offline kruhm

  • *
  • 680
Need help on removing local network setting
« Reply #2 on: July 16, 2006, 02:27:00 PM »
If this is the main route, you probably want to change it by logging in as admin and run through the setup again.

Need help on removing local network setting
« Reply #3 on: July 16, 2006, 04:11:09 PM »
Quote from: "kruhm"
If this is the main route, you probably want to change it by logging in as admin and run through the setup again.


The local networks panel does not allow you to attempt to remove the default route.

gooseman

local network
« Reply #4 on: July 16, 2006, 10:03:44 PM »
:evil: Nope, this is not the default route. I created this route last week, however, our main gateway has now changed.  You can not edit the route under the local networks tab.  You can only remove it.  There after I can't re-add it, with a different router(gateway)...

Re: local network
« Reply #5 on: July 16, 2006, 10:18:33 PM »
Quote from: "gooseman"
There after I can't re-add it, with a different router(gateway)...


Why haven't you lodged a bug report?

gooseman

Need help on removing local network setting
« Reply #6 on: July 16, 2006, 10:29:53 PM »
I only encoutered this problem 2 days ago.. Want to see if anyone out there knows, whether I can 'manually' get around the problem for the interim.

Need help on removing local network setting
« Reply #7 on: July 16, 2006, 11:07:57 PM »
Quote from: "gooseman"
I only encoutered this problem 2 days ago..


And it takes how long to open a bug report? Please report all possible bugs as soon as possible.

Quote

Want to see if anyone out there knows, whether I can 'manually' get
around the problem for the interim.


Identifying a workaround is a routine part of dealing with bugs in the bug tracker.

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Need help on removing local network setting
« Reply #8 on: July 21, 2006, 05:24:18 AM »
[mwaterman@truth e-smith]# pwd
/sbin/e-smith
[mwaterman@truth e-smith]# ./db
usage:
./db dbfile keys
./db dbfile print [key]
./db dbfile show [key]
./db dbfile get key
./db dbfile set key type [prop1 val1] [prop2 val2] ...
./db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
./db dbfile delete key
./db dbfile printtype [key]
./db dbfile gettype key
./db dbfile settype key type
./db dbfile printprop key [prop1] [prop2] [prop3] ...
./db dbfile getprop key prop
./db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
./db dbfile delprop key prop1 [prop2] [prop3] ...
[mwaterman@truth e-smith]# ./db networks print
10.7.1.0=network-deleted|Mask|255.255.255.0|Router|192.168.189.13
10.7.7.0=network-deleted|Mask|255.255.255.0|Router|192.168.189.13
192.168.189.0=network|Mask|255.255.255.0|SystemLocalNetwork|yes
[mwaterman@truth e-smith]# ./db networks print 10.7.1.0
10.7.1.0=network-deleted|Mask|255.255.255.0|Router|192.168.189.13
[mwaterman@truth e-smith]# ./db networks delete 10.7.1.0
[mwaterman@truth e-smith]# ./db networks delete 10.7.7.0

Need help on removing local network setting
« Reply #9 on: July 21, 2006, 05:31:21 AM »
Quote from: "stuntshell"

[mwaterman@truth e-smith]# ./db networks print
10.7.1.0=network-deleted|Mask|255.255.255.0|Router|192.168.189.13
10.7.7.0=network-deleted|Mask|255.255.255.0|Router|192.168.189.13
...


If you have a record of type network-deleted in the db it indicates a bug in the system software - one which resulted in an incomplete deletion from the server-manager. Please open a bug report, and attach your /var/log/messages.* files so that the bug can be identified.

Thanks.