sta-c0000 / tpconf_bin_xml

Command line utility to convert TP-Link router backup config files
173 stars 43 forks source link

Archer C5v (AC1200) Removing 3G/4G Backup Option (ppp_USB_3G) #25

Open mrdeepmind opened 2 years ago

mrdeepmind commented 2 years ago

Is it possible to remove 3G/4G Backup Solution service from .XML file? I removed most of the services like VOIP SIP Stack and SP/WRR Queue & Business Classification rules. It was not possible to remove Business Classification Rules even by using root account. So I removed them by editing .XML file.

I tried removing once but I lost WAN/internet connection because of ppp_USB_3G. Router can't connect when there is no ppp_USB_3G thing enabled in .XML file.

Now I want to get rid of ppp_USB_3G connection which appears on WAN Connections. Even though I disabled it.

dss

It looks like this:

</WANDevice>
<WANDevice instance=3 >
  <WANConnectionNumberOfEntries val=1 />
  <WANCommonInterfaceConfig>
    <EnabledForInternet val=1 />
    <WANAccessType val=USB_3G />
  </WANCommonInterfaceConfig>
  <WANConnectionDevice instance=1 >
    <WANIPConnectionNumberOfEntries val=1 />
    <WANPPPConnectionNumberOfEntries val=1 />
    <X_TP_WANUSB3gLinkConfig>
      <Enable val=1 />
      <BackupEnable val=0 />
      <MainConnObjName val=NO_INTERFACE />
      <LocationIdx val=383 />
      <IspIdx val=40 />
      <DialNumber val= />
      <APN val= />
    </X_TP_WANUSB3gLinkConfig>
    <WANIPConnection instance=1 >
      <Name val=dhcp_USB_4G />
      <X_TP_ConnectionId val=1 />
      <NATEnabled val=1 />
      <X_TP_Hostname val=, />
      <AddressingType val=DHCP />
      <ExternalIPAddress val=0.0.0.0 />
      <SubnetMask val=0.0.0.0 />
      <DefaultGateway val=0.0.0.0 />
      <DNSServers val=0.0.0.0,0.0.0.0 />
      <ConnectionTrigger val=AlwaysOn />
      <X_TP_IfName val=lte0 />
      <X_TP_IPv6AddressingType val=DHCPv6 />
      <X_TP_ExternalIPv6Address val=:: />
      <X_TP_DefaultIPv6Gateway val=:: />
      <X_TP_IPv6DNSServers val=::,:: />
      <X_TP_TransportType val=DHCP4G />
      <X_TP_DefaultGateWayUsed val=1 />
    </WANIPConnection>
    <WANIPConnection nextInstance=2 />
    <WANPPPConnection instance=1 >
      <DefaultGateway val=0.0.0.0 />
      <Name val=ppp_USB_3G />
      <PPPAuthenticationProtocol val=PAP />
      <X_TP_IfName val=ppp3 />
      <X_TP_L2IfName val=ttyNotReady />
      <X_TP_ConnectionId val=1 />
      <RemoteIPAddress val=0.0.0.0 />
      <DNSEnabled val=1 />
      <TransportType val=PPP3G />
      <X_TP_ExternalIPv6Address val=:: />
      <X_TP_DefaultIPv6Gateway val=:: />
      <X_TP_IPv6DNSServers val=::,:: />
      <X_TP_DefaultGateWayUsed val=1 />
    </WANPPPConnection>
    <WANPPPConnection nextInstance=2 />
  </WANConnectionDevice>
  <WANConnectionDevice nextInstance=2 />
</WANDevice>

Any ideas?