doc:appunti:hardware:alicegate_agpwi_wifi_n
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:alicegate_agpwi_wifi_n [2017/12/18 16:06] – [Short-Circuit Serial TX/RX to Enable the Special Upgrade Page] niccolo | doc:appunti:hardware:alicegate_agpwi_wifi_n [2018/02/05 11:26] – [Flashing TEO Alternative Firmware] niccolo | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{.: | {{.: | ||
- | This is an ADSL2+ router installed by **Telecom Italia** to their customer. It ships with **crippled software** so you cannot customize even the PPPoE login or password! Here you find a recipe to substitute the firmware with something more open. | + | This is an ADSL2+ router installed by **Telecom Italia** to their customer. It ships with **crippled software** so you cannot customize even the PPPoE login and password! Here you find a recipe to substitute the firmware with something more open. Our device is labeled **ADSL2+ WiFi N**, manufactured by **ADB Broadband S.p.A.**, model name **P.DG A4001N A-000-1A1-AX**, |
- | ===== The Alternative Firmware ===== | + | It has two external WiFi antennas, we succeeded in flashing a new firmware on it. Beware that someone reported that models with **internal antennas** accept only **firmwares signed** by the manufacturer. |
+ | |||
+ | ===== The Alternative Firmware | ||
+ | |||
+ | {{.: | ||
+ | {{.: | ||
We will use a firmware released by **[[wp> | We will use a firmware released by **[[wp> | ||
Line 17: | Line 22: | ||
* The **LEDs are wrong**: ADSL LED is WiFi instead, Internet LED is ADSL line. | * The **LEDs are wrong**: ADSL LED is WiFi instead, Internet LED is ADSL line. | ||
* **WDS repeater** is not working. | * **WDS repeater** is not working. | ||
+ | * **Static DHCP** lease does not work: settings are not retained. | ||
The files you have to download are: | The files you have to download are: | ||
Line 23: | Line 29: | ||
* **{{.: | * **{{.: | ||
- | ===== Flashing the Alternative | + | There are other alternative firmwares to upload on this hardware. See for example this page: **[[http:// |
+ | |||
+ | ==== Flashing the TEO Firmware ==== | ||
==== Short-Circuit Serial TX/RX to Enable the Special Upgrade Page ==== | ==== Short-Circuit Serial TX/RX to Enable the Special Upgrade Page ==== | ||
- | During normal bootstrap, if the router detects **some serial activity**, it jumps to a special mode for **firmare upload**. Our model was based on **firmware AGPWI 1.1.3** , and it accepted the new firmware even if it was **not signed**. | + | {{.: |
+ | During normal bootstrap, if the router detects **some serial activity**, it jumps to a special mode for **Update Software**. Our model was based on **firmware AGPWI 1.1.3** , and it accepted the new firmware even if it is **not signed**. | ||
- | It is likely that on bootstrap there is a console on the serial line, which says something like //press a key to enter special mode//, by shorting TX and RX lines on the serial | + | It is likely that on bootstrap there is a console on the serial line, which says something like //press a key to enter special mode//, by shorting TX and RX lines on the serial |
So we have to open the router case and **short-circuit TX and RX serial line**, e.g. with a little wire or paper-clip. | So we have to open the router case and **short-circuit TX and RX serial line**, e.g. with a little wire or paper-clip. | ||
Line 35: | Line 44: | ||
* Power-off the router, **open** it removing the **two screws** at the back and forcing the shell halves. | * Power-off the router, **open** it removing the **two screws** at the back and forcing the shell halves. | ||
* **Short-circuit TX and RX and power-on** the router. After about 3 seconds the power LED turn from green to red. You can remove the short-circuit. | * **Short-circuit TX and RX and power-on** the router. After about 3 seconds the power LED turn from green to red. You can remove the short-circuit. | ||
- | ===== Firmware TEO 4.2.6.0011 ===== | ||
- | {{.: | + | The router is now in **Update Software** mode, you can upload the firmware via http (see picture). |
- | {{.: | + | |
+ | {{.: | ||
+ | |||
+ | ==== Upload the Firmware | ||
+ | |||
+ | Now you can follow the procedure to upload the firmare. NOTICE: you have to upload the .bin file twice, don't know why, but I can confirm that it is mandatory. | ||
+ | |||
+ | * Connect the **Ethernet cable** and point your browser to **%%http:// | ||
+ | * Upload the **cfe_filesystem.bin** file. | ||
+ | * Wait about two minutes, untill the **power LED becomes again green** (router rebooted). | ||
+ | * Power-off the router, **repeat** the power-on with **TX/RX short-circuit procedure** above, untill the power LED becomes red. | ||
+ | * Upload the **cfe_filesystem.bin** file again. | ||
+ | * Wait another two minutes for reboot, wait the power LED becomes **green**. | ||
+ | * After about 4 minutes you should be able to ping the router to its new address **192.168.1.254**. | ||
+ | |||
+ | ==== MAC Address and Serial Number ==== | ||
+ | |||
+ | It is time to configure the proper MAC address and Serial Number, you can find them on the bottom label of the router. Beware that now the router has **only Eth2 and Eth4 working** (someone reported the inverse). | ||
+ | |||
+ | The configuration is performed **via telnet** using login / password **lt_pdpd** / **un7146**: | ||
+ | |||
+ | < | ||
+ | $ telnet 192.168.1.254 | ||
+ | Connected to 192.168.1.254. | ||
+ | Escape character is ' | ||
+ | Log level 3 | ||
+ | Username: lt_pdpd | ||
+ | Password: ****** | ||
+ | PRG A4001N> | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | PRG A4001N> conf factory | ||
+ | factory> unhide | ||
+ | factory> open | ||
+ | factory> unhide | ||
+ | factory> set network/ | ||
+ | factory> set manufacturer/ | ||
+ | factory> close | ||
+ | factory> | ||
+ | conf> exit | ||
+ | PRG A4001N> system restore_default | ||
+ | </ | ||
+ | |||
+ | ==== Upload a Clean Configuration ==== | ||
+ | |||
+ | Finaly you have to upload a clean configuration. The file **PRG_A4001N.conf** was provided by user **Mendocino89**. | ||
+ | |||
+ | * Point your browser to **%%// | ||
+ | * Login with **admin** / **admin** | ||
+ | * //Advanced// => // | ||
+ | * In two minutes **the router reboots** and it is ready. | ||
+ | |||
+ | ===== Firmware Comtrend ADSL Router ===== | ||
+ | {{.: | ||
===== Web Resources ===== | ===== Web Resources ===== | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// |
doc/appunti/hardware/alicegate_agpwi_wifi_n.txt · Last modified: 2018/11/18 22:17 by niccolo