Unlock G-2425G-A router running on latest firmware

  • Thread starter Rehan ahmad
  • Start date
  • Replies: Replies 50
  • Views: Views 4,100
Note: Tested for Nokia router G-2425G-A running on firmware 3FE49362JJIJ50.

Use this script to decrypt your configuration file. This script has been updated for latest firmware (3FE49362JJIJ50).



All the steps to decrypt the config files has been already discussed in other posts as well, kindly follow them.

1) After decrypting the config file, open the generated xml file in a text editor.
2) Search for TelnetSshAccount section and write username as ONTUSER and password as "anyrandompassword" (remember this password for future).
3) Enable ONTUSER to drop into busybox instead of vtysh by setting LimitAccount_ONTUSER to false. Go to LimitAccount_ONTUSER section and change that option to FALSE.
4) Encrypt the config file again using the same script and import in your router (remember to enable telnet in Security --> Access Control --> LAN).
5) Now use any tool to access telnet, I have used windows powershell (you can enable telnet in windows additional features).
6) In Windows PowerShell write; telnet --> o --> 192.168.1.1
Username: ONTUSER
Password: your password from STEP 2
7) Now in shell write ---> ritool set OperatorID ALCL

After this step you have enabled root access. Login to your router to check everything has been unlocked.

Now hard reset from back of the router is recommended to enable editing any WAN settings but before that remember to take a backup of your configuration and wan settings.

8) After hardreset the router's gateway will default to 192.168.1.254 and username and password will change to AdminGPON and ALC#FGU respectively.
 
D

divakar7781

Messages
4
Location
BANGALORE
ISP
Airtel
@Rehan ahmad I am getting the below error can you help me with this Please
Traceback (most recent call last):
File "C:\Users\xxxx\OneDrive\Desktop\Nokia-router-cfg-tool.py", line 119, in <module>
cf = open(sys.argv[2], 'rb')
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'config.cfg'
 
Last edited:
albonycal

albonycal

Messages
193
Location
Nagpur
ISP
Airtel Xstream Fiber (300M)
ONT: Nokia G-2425G-A
Copy the config.cfg file into the directory which has the script, and then run the script with -u config.cfg
 
M

mrfalcon46

Messages
2
Location
bangalore
ISP
airtel
<LimitAccount_ONTUSER rw="RW" t="boolean" v="false"></LimitAccount_ONTUSER>
<CLIPrompt ml="256" rw="RW" t="string" v=""></CLIPrompt>
<DebugDyPass. n="DyPass" t="staticObject">
<Enable rw="RW" t="boolean" v="false"></Enable>
<PriKey ml="256" rw="R" t="string" v="MHcCAQEEIPFhltfHR9VfP7FzyghlodH7Vdrz341haJgLMREeejoAoGCCqGSM49AwEHoUQDQgAEiD2Krd2pb+t5hfqqOF3k1JEz+TIYA7EdLcHRjk0qv85umsCJSejJ"></PriKey>
<PassLen dv="8" max="44" min="6" rw="R" t="int" v="8"></PassLen>
</DebugDyPass.>


Could someone please assist me in unlocking the Nokia 2425-G as described above, but then showing the ONTUSER password as incorrect?
 


ajaikumarnadar

ajaikumarnadar

Messages
7
Location
None
ISP
Local ISP
Hey @Rehan ahmad ,
Can you help me to configure the bsnl internet with Airtel GPON modem ? i got the pon indicator working after changing the serial number in Airtel gpon to that of Netlink serial number. But still no internet and Somehow authentication is failing.
 
SuperboyPrime61

SuperboyPrime61

Messages
5
Location
INDIA
ISP
AIRTEL
<TelnetSshAccount. n="TelnetSshAccount" t="staticObject">
<Enable rw="RW" t="boolean" v="False"></Enable>
<UserName ml="64" rw="RW" t="string" v=""></UserName>
<Password ml="64" rw="RW" t="string" v=""></Password>

Can you tell me what to change here? do I have to change "64" or something else?
 
SuperboyPrime61

SuperboyPrime61

Messages
5
Location
INDIA
ISP
AIRTEL
I am unable to login . whenever i try to login via telnet it shows following error-

Login fail count since last successful login: 3
### login ####
AONT login: ONTUSER

Password:
####Login incorrect
Login incorrect

I am typing password correctly though it says Login incorrect. Please help
 
Last edited:
Rehan ahmad

Rehan ahmad

Messages
35
Location
NA
ISP
Airtel Xstream
@SuperboyPrime61
Write username password like this:

<UserName ml="64" rw="RW" t="string" v="ONTUSER"></UserName>
<Password ml="64" rw="RW" t="string" v="newpassword"></Password>

Try to assign username password like this and try again. Let me know if this works.
 
Rehan ahmad

Rehan ahmad

Messages
35
Location
NA
ISP
Airtel Xstream
@ajaikumarnadar Maybe bsnl is using mac address to authenticate pppoe connection which you might not be able to do with airtel GPON. Even with Airtel Xstream fibre using a different set of gpon even after cloning serial number doesn't work, it always fails while authenticating pppoe connection.
 
tanuguddu143007

tanuguddu143007

Messages
7
Location
Amalapuram
ISP
BSNL Fiber
i accidentally switched operator id to GPON and now after reset it wont allow me to login in admin page , wifi name : ALC-HGU , I can get into normal user page tho by admin password using as 'blank' , got the wifi password as well which is 87654321 , but cant get into admin page it asking me for inputing default password which i dont know , please help
 
Last edited by a moderator: