👨‍🏫 Tutorial D2K-FT10 OTA Upgrade Blocking Without Superadmin (UPDATE: Permanent blocking with root)

bjarnco32

Forum Guru
Are you enjoying how our good friends here on PHC teach you how to make good use of the features of your device, provided at NO EXTRA COST? But, you fear that one day it may all be taken away? (If you've availed of the ρáíd service then you don't have to worry about any of this at all).

Don't you hate it when a forced upgrade is pushed to your device without your consent? They take control of it like you're just renting the device from them, even though you bought it. Take back the control of your device upgrades that may further restrict its usefulness.

The OTA upgrade is NOT DONE via TR069 as is common in other devices. You'll see that the TR069 configuration page entries are blank, therefore not used. This is done via an FTP upgrade facility that is set to check every day and then upgrade when available, and is NON-CONFIGURABLE in the webui.

Here's how you block that on the D2K-FT10, now with permanent blocking via root. TAKE NOTE, this blocking procedure only works for versions 2993 and lower.


Do note that this will be TEMPORARY, until the OTA server at ota.pldthome.net makes changes to its IP address. This can be made permanent if a way can be found to add a DNS blackhole entry for it. Like this:
Code:
ota.pldthome.net     127.0.0.1

Head over to You do not have permission to view the full content of this post. Log in or register now.

Under Static Route Settings, add the following:
Code:
Destination IP: 184.168.118.58
Route Subnet Mask: 255.255.255.255
Gateway: 127.0.0.1
Save the changes.

In layman's terms, what this does is tell the system that whenever a connection to destination IP is requested, it will redirect that connection to the Gateway IP address instead, which is the localhost. This will effectively block the FTP upgrade facility from checking and downloading any updates.

The destination IP will need to be updated in case ota.pldthome.net changes its IP address, which stays as it is, for now.

How will you know that this is working? Try pinging ota.pldthome.net on your device. If you get requests timed out or no replies received, then it is blocking the OTA upgrade. If not, then the destination IP needs an update.

If you wish to continue receiving OTA upgrades (because it cannot be denied that somehow some of those updates come with bugfixes) then just delete the entry, save, then reboot.😁

UPDATE:

Those with root access can now permanently block the OTA update by doing the following. Login to the console via telnet/ssh (check here https://phcorner.org/threads/pldt-d2k-telnet-ssh-passwd.1200979/)

Code:
# for i in _server _username _password ; do nvram_set 0 upgrade_ftp$i local ; done
# nvram commit 0

This will permanently block the OTA upgrade. You can skip setting the username/password if you wish, but I like changing them to non correct values for fallback. If you factory reset the device, then you'll need to repeat the process again.


This will at least keep your device from upgrading itself.
 

About this Thread

  • 505
    Replies
  • 37K
    Views
  • 134
    Participants
Last reply from:
Nukos

Trending Topics

Online now

Members online
1,145
Guests online
2,773
Total visitors
3,918

Forum statistics

Threads
2,315,776
Posts
29,183,996
Members
1,182,705
Latest member
Gaugi
Back
Top