|
Thanks Dan,
I got your idea here, but I can't get it to work this way. I got
9005 error even with smallest configuration like this:
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
null, {path: 1});
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Routed]",
{path:1}, {path: 1});
any ideas?
--
Michal
W dniu 2017-10-05 o 18:54, Dan Morphis pisze:
Try this :)
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
null, {path: 2}); //Tell genie we want two interfaces
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[ConnectionType:IP_Routed,Name:Routed,Enable:true]",
{path: 1}, {path: 1});
declare
("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[ConnectionType:IP_Bridged,Name:Bridged,Enable:true]",
{path: 1}, {path: 1});
That will create two
interfaces. If there are more interfaces than that, they
will be deleted. If there are less than 2, then interfaces
will be added until the count is 2. Then it will set the
parameters to whats in the brackets.
-dan
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
|
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users