Automated script to change DNS settings in JIO router

Messages
74
Location
Guwahati
ISP
JioFiber (Primary)
-------------------
Airtel Xstream Fiber (Backup)
As DNS settings are reverted to default after restart in the JIO router, I have created a script with Python and Selenium to run and change the DNS setting to user-specific.
If you have a home lab or 24x7 running PC, just run the script and forget.

 
While I appreciate this but as per my experience it only resets for IPv6.
So I've disabled IPv6 entirely on the router since I don't really need it because I use local DNS server (Adguard Home).

JioJoin calling app doesn't work on IPv4 but I don't use it, other than that I haven't seen any issues.
 
@bk~ it should work, Just install python3 on your rasbian os, then
1. pip install -r requirements.txt
2. Then create .env file where the main.py file is. with the setting from github
3. Run the script with python3 main.py
 
chrome for arm is not available and I tried installing chromium but still facing some issue.
bala@bkpi:~/project/Automated_DNS_Updater_Jio_Router $ python main.py
Router IP: http://192.168.29.1
user_name: admin
ipv4_dns_server1: 192.168.29.254
ipv4_dns_server2: 8.8.8.8
ipv6_dns_server1: xxxx
ipv6_dns_server2: 2606:4700:4700::1001
update_interval_time: 28800
DNS IPs are in valid format
Creating Webdriver
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: google-chrome-stable: not found
/bin/sh: 1: google-chrome-beta: not found
/bin/sh: 1: google-chrome-dev: not found
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: google-chrome-stable: not found
/bin/sh: 1: google-chrome-beta: not found
/bin/sh: 1: google-chrome-dev: not found
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: google-chrome-stable: not found
/bin/sh: 1: google-chrome-beta: not found
/bin/sh: 1: google-chrome-dev: not found
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: google-chrome-stable: not found
/bin/sh: 1: google-chrome-beta: not found
/bin/sh: 1: google-chrome-dev: not found
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: google-chrome-stable: not found
/bin/sh: 1: google-chrome-beta: not found
/bin/sh: 1: google-chrome-dev: not found
Failed to create web driver: [Errno 8] Exec format error: '/home/bala/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver'
 
I will look into it when I get home. I also have a Pi , will check on it and let you know
 
  • Like
Reactions: bk~
Back