Nokia G-140W-F bridge mode?

You have to log in to SSH using username ONTUSER password SUGAR2A041 (if doesnt work you have to set
<LimitAccount_ONTUSER rw="RW" t="boolean" v="false"></LimitAccount_ONTUSER>
in your decrypted configuration then reencrypt it and reimport it (also make sure
<TelnetSshAccount. n="TelnetSshAccount" t="staticObject">
<Enable rw="RW" t="boolean" v="True"></Enable>
is correct too
the configuration decryptor and reencryptor python script is here
Source
 
for ONTUSER to be accepted as SSH login, LimitAccount_ONTUSER needs to be set to false in cfg
ive tried this on 140/240 which is what the thread is about, 2425 is MTK not BCM so might be different ? but people said it works for that one too where i found the credentials
if your cfg isnt taking your modified cfg values (mine always did, all of the RW ones, even the ones the ONT doesnt even use), then you might not be reencrypting/importing it correctly.
 
@rajkosto
Yeah I know this thread is on 140/240 but I tried it for mine and posted the results...

I have set LimitAccount_ONTUSER to false and even the TelnetSshAccount to true and a additional ONTLOCK to false and after applying the modified cfg and exporting new cfg and unpacking the LimitAccount_ONTUSER and TelnetSshAccount were set back to defaults and the ONTLOCK was as modified(false)

@tanmayb what are you planning to do after getting root access?
Just wanted to take a look into the router fs and explore...
@imdarkray You posted on the other thread that you managed to gain root access...
Please let me know...
 
This method doesn't work on it
This method works. follow it correctly. I had followed the same process to get the root access.
The user you create for telnet ssh name it "ONTUSER" and set LimitAccount_ONTUSER to false. It's easier to set the password to "admin" as that's encrypted value is already there in the config for the default web user "admin". Just copy-paste that encrypted password to the ONTUSER you are creating.

Now login with ONTUSER and use the password that you set i.e. admin.
 
You have to log in to SSH using username ONTUSER password SUGAR2A041 (if doesnt work you have to set

in your decrypted configuration then reencrypt it and reimport it (also make sure

is correct too
the configuration decryptor and reencryptor python script is here
Source


This method works. follow it correctly. I had followed the same process to get the root access.
The user you create for telnet ssh name it "ONTUSER" and set LimitAccount_ONTUSER to false. It's easier to set the password to "admin" as that's encrypted value is already there in the config for the default web user "admin". Just copy-paste that encrypted password to the ONTUSER you are creating.

Now login with ONTUSER and use the password that you set i.e. admin.
Thank You So Much @rajkosto and @imdarkray
I was finally able to gain root access on my Nokia G-2425G-A ONT....
 
Last edited:
Back