Hello, I’m new to GenieAcs.
I’m trying to setup a Fiberhome HG6245D with the following WAN:
- DHCP for TR069
- PPPOE for INTERNET
So far i got the first WAN, the TR069 is configured via device interface, i tried many post about creating wan instrances but nothing happen may fault code appear and so many invalid arguments showed. I’m unable to create WANPPPConnection no matter what I’ve tried to do.
Any help will be appreciated.
I dont know where to start on creating wan pppoe instances?
I tried adding this on provisions named “WAN_PPP_Instances” and presets named “WAN_PPP_Instances” with 0 Weight and 0 BOOTSTRAP i dont know whats the purpose, i hoped someone will explain. Im so really grateful if i ever solve this problem. Thank you
const now = Date.now();
log(‘Creating WANPPPConnection (if necessary)’);
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection.*”, null, {path: 1});
log(‘Setting up WANPPPConnection’);
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..”, {path: now}); //Refresh the node…
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..Enable", {value: now}, {value: “true”});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..Name”, {value: now}, {value: “2_INTERNET_R_VID_1”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..ConnectionType", {value: now}, {value: “IP_Routed”});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..X_FH_ServiceList”, {value: now}, {value: “INTERNET”});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..Password", null,{value: serial.value[0]});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..Username”, null,{value: serial.value[0]});
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..NATEnabled", {value: now}, {value: true});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection..ConnectionStatus”, null, {value: serial.value[0]});