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 revision | ||
| doc:appunti:hardware:alicegate_agpwi_wifi_n [2017/12/18 16:32] – [MAC Address and Serial Number] niccolo | doc:appunti:hardware:alicegate_agpwi_wifi_n [2018/11/18 22:17] (current) – [Alternative Firmware Comtrend A731-406CTL-T01_R08] 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. |
| + | |||
| + | ===== Alternative Firmware | ||
| + | |||
| + | FIXME\\ **WARNING**: | ||
| + | |||
| + | {{.: | ||
| + | {{.: | ||
| We will use a firmware released by **[[wp> | We will use a firmware released by **[[wp> | ||
| Line 17: | Line 24: | ||
| * 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. | ||
| + | |||
| + | ==== Flashing the TEO Firmware ==== | ||
| The files you have to download are: | The files you have to download are: | ||
| Line 22: | Line 32: | ||
| * **{{.: | * **{{.: | ||
| * **{{.: | * **{{.: | ||
| - | |||
| - | ===== Flashing the Alternative 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. | ||
| + | |||
| + | The router is now in **Update Software** mode, you can upload the firmware via http (see picture). | ||
| + | |||
| + | {{.: | ||
| ==== Upload the Firmware ==== | ==== Upload the Firmware ==== | ||
| Line 81: | Line 94: | ||
| Finaly you have to upload a clean configuration. The file **PRG_A4001N.conf** was provided by user **Mendocino89**. | Finaly you have to upload a clean configuration. The file **PRG_A4001N.conf** was provided by user **Mendocino89**. | ||
| - | * Point your browser to **// | + | * Point your browser to **%%// |
| - | ===== Firmware TEO 4.2.6.0011 ===== | + | * Login with **admin** / **admin** |
| + | * // | ||
| + | * In two minutes **the router reboots** and it is ready. | ||
| - | {{.: | + | ===== Alternative |
| - | {{.: | + | |
| + | FIXME This firmware is **buggy too**. It does not keep the wlan config status across reboot: I set it to disables and I find it enabled again. Verified via web interface and with **%%wlan info --config%%** on command line. | ||
| + | |||
| + | {{.: | ||
| + | |||
| + | There is another alternative firmware to upload on this hardware. See this page: **[[http:// | ||
| + | |||
| + | * **AR-5382u-CFE-A731-406TDE-C01_R01_0623.bin** (md5: 6ac7235c50c58a68f74e5ad52ecaa4ce) | ||
| + | * **AR-5382u-A731-406CTL-T01_R08.bin** (md5: 793593abd73060d13e193b9f1d5fceb7) | ||
| + | |||
| + | ==== Flashing the Comtrend Firmware ==== | ||
| + | |||
| + | The procedure is similar to the above one, requiring **the short-circuit trick**: | ||
| + | |||
| + | - Power-off the router, **open it removing the two screws** at the back and forcing the shell halves. | ||
| + | - **Short-circuit TX and RX** on the serial line and **power-on the router**. After about 3 seconds the power LED turn from green to **red**. You can remove the short-circuit. | ||
| + | - Connect the **Ethernet cable** and point your browser to **%%http:// | ||
| + | - Upload the **AR-5382u-CFE-A731-406TDE-C01_R01_0623.bin** file (it is the **[[wp> | ||
| + | - Wait about two minutes, untill the power LED becomes **green**, then **red** again (router rebooted). | ||
| + | - Point your browser again to **%%http:// | ||
| + | - Upload the **AR-5382u-A731-406CTL-T01_R08.bin** file. | ||
| + | - Wait about two minutes, untill the power LED becomes **green** steady again (router rebooted). | ||
| + | - Point your browser again to **%%http:// | ||
| + | |||
| + | ==== Comtrend CLI Commands ==== | ||
| + | |||
| + | The router has a telnet command line interface, here some useful commands: | ||
| + | |||
| + | < | ||
| + | ? | ||
| + | sys reboot | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | > adsl info | ||
| + | adsl: ADSL driver and PHY status | ||
| + | Status: Showtime | ||
| + | Retrain Reason: 8000 | ||
| + | Last initialization procedure status: | ||
| + | Max: Upstream rate = 319 Kbps, Downstream rate = 3264 Kbps | ||
| + | Bearer: 0, Upstream rate = 323 Kbps, Downstream rate = 2986 Kbps | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | > lan show | ||
| + | br0 Link encap: | ||
| + | inet addr: | ||
| + | inet6 addr: fe80:: | ||
| + | UP BROADCAST RUNNING MULTICAST | ||
| + | RX packets: | ||
| + | TX packets: | ||
| + | collisions: | ||
| + | RX bytes: | ||
| + | </ | ||
| ===== Web Resources ===== | ===== Web Resources ===== | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | * [[http:// | ||
doc/appunti/hardware/alicegate_agpwi_wifi_n.1513611171.txt.gz · Last modified: by niccolo
