Nokia Modems Utility: Difference between revisions

From WLPS Wiki
Jump to navigation Jump to search
mNo edit summary
m (Wodie moved page Get Modem PPPoE Password to Nokia Modems Utility without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
Models tested:
Models tested:


* Nokia - '''Bold text'''G-240W-B
* Nokia - G-240W-B


= '''Bold text'''Instructions =
= Instructions =


Download a backup file from your modem, usually: config.cfg
Download a backup file from your modem, usually: config.cfg
Line 28: Line 28:
</pre>
</pre>


An XML file will be generated. Search for the following lines and copy the password:
An XML file will be generated. Search for “'''Password dv='''“ line next to “Username dv=“ and copy the whole password:


<pre>
<pre>
Line 41: Line 41:
</pre>
</pre>


You can find some information [https://www.promodescuentos.com/discusiones/extraer-contrasena-modo-puente-pppoe-nokiaalcatel-lucent-g-240w-b-telmex-y-asus-rog-rapture-gt-be98-pro-bridge-mode-960333 here.]
= Additional information =
 
You can find some Spanish information [https://www.promodescuentos.com/discusiones/extraer-contrasena-modo-puente-pppoe-nokiaalcatel-lucent-g-240w-b-telmex-y-asus-rog-rapture-gt-be98-pro-bridge-mode-960333 here.]

Latest revision as of 14:27, 24 February 2025

About

Python script for decoding modems config.cfg files and decrypting file passwords. Mainly used to get ISP PPPoE passwords.

Models tested:

  • Nokia - G-240W-B

Instructions

Download a backup file from your modem, usually: config.cfg

Install Python and pycryptodome if you have not done it before. Python is usually already installed on Raspbian but not pycryptodome. We will also need a virtual environment for PIP, so here we go:

apt install pipx
apt install python3-requests
apt install python3-venv
python3 -m venv .venv
source .venv/bin/activate
pip install pycryptodome

Download and install the: nokia-router-cfg-tool.py and run it.

python nokia-router-cfg-tool.py ./nokia-router-cfg-tool.py -u config.cfg

An XML file will be generated. Search for “Password dv=“ line next to “Username dv=“ and copy the whole password:

<Username dv="" v="E03005ALLCLF33EABC6@prodigyweb.com.mx"></Username>
<Password dv="" v="zrh2XpF3Ql/yFolZ5Lqm41TPNlAHTU6VgFOuKFN676I="></Password>

Copy the password as the following example:

python ./nokia-router-cfg-tool.py -d "zrh2XpF3Ql/yFolZ5Lqm41TPNlAHTU6VgFOuKFN676I="

Additional information

You can find some Spanish information here.