ADSL modem werewolf

Until recently, I was a happy subscriberRostelecom, had its honest 10 megabits on the dlink dsl-2500u gifted modem. While the subscribers of broadband operators suffered from theft of a whirlwind in the attic, I reveled in a stable connection (telephone noodles pass in the basement, sticking out and scourges cannot get in there). Then RT raised the speed to 20 megabits, the old dlink did not pull anymore. Of the local proposals zanidoraga and powerfully nothing. Having studied the Internet, I stopped at this instance.
What did the vodafone operator promise (for this operator huavei and created this thing) for $ 35.82 (at the time of purchase half a year ago):
- adsl2 + modem
- WIFI 802.11bgn router up to 300Mbps
- 4 (5) phy ports 100 Mbps
- 3 USB ports
- support for 3G modems
- usb print server
- media server (twonkymedia dlna)
- smb storage
- ftp storage
- voip for two analog phones
- iptv
Additional Information



Pictures of the seller:



Description of native firmware



Firstly, these jades cut out all the locales from the coreexcept ascii, so that on usb-drives everything that was different from the English locale was displayed with symbols ????? .. Accordingly, in the media server instead of the file name there were one ??? .. I solved this problem by compiling the appropriate kernel module for utf locales. Now the contents of flash drives were displayed correctly. However, the Chinese are such Chinese, instead of digging in udev or another ready-made solution for automounting, they wrote their crutch-usbmount binar. This thing automatically mounts flash drives and starts a media server. However, it does not have any keys, so mounting still occurs without specifying the desired encoding. Here is such a 21st century and Unicode in all fields.
It upset me, I had to arm myself againgoogle, gut the stock sewing, saw through init scripts to add autostart locale module and throw out unnecessary functions like voip and other trash. I also picked up (or rather collected) a tool chain with a suitable uclibc and assembled my favorite minidlna.
And then RT killed me with a speed of up to 10Mbps, it became very sad. Luckily at the same time, the zhek sawed up new doors in the attic and I threw it to the broadband provider on the same 20Mbit + LAN.
For a sim modem, he successfully mutated into a regular wifi router running divine OpenWRT

Openwrt



Of the indicators, I left only a morse code for uplink activity on the back wall, food and wifi activity on the front. I did not touch the buttons, the reset remained a reset, a reboot. WPS is not involved.
It is worth noting that after switching to the openess, the router remains cold, the functions are prohibitively expanded, the box turns into a miniserver.

Well, by tradition, giblets:
We open (one screw + latches):


Wires is my job, wart brought out:

Ceramic antenna + socket for external antenna + pins wart:

Power supply harness (12V 2A) + VOIP-gateway + second antenna socket:

General view of the board (gray daub is the remnants of thermal paste):

So it’s hanging from my ceiling during the repair:

Well, and for iron separately:
According to wiki and to the eyes we have:
Atheros AR9223 802.11bgn wafer module up to 300Mbps
Broadcom 6358 ADSL Brain
Prots Broadcom 4350 V1.0 @ 300 Mhz !!!! about two egg cores
Phy BCM5325E switch with hardware support for vlan
Zarlink VOIP Gateway Le88266DLC
!!!! 64M RAM
!!!! 16M flash + spi-interface divorced on the board (you can solder another flash)

UART + JTAG Interfaces
3 USB 2.0 ports
A bunch of LEDs and buttons that you can steer as you like
Agree, a very good config for the piece of iron for one and a half thousand rubles
Manuals and knowledge on a piece of iron:
wiki
some firmware and magic from the Chinese
manual for unpacking and packing native firmware
manual for setting stock firmware
cross compilation and toolchain mana
a series of interesting stats by default modem from RT
static binaries and libs, suitable for many routers on native firmware

most optimal firmware
Well, according to tradition