Budget Dlink dir-615 router, alternative firmware DD-WRT and IPTV
The Internet has come to our city!
Over the past 2 years, Internet providers in Voronezh have been developing and breeding at tremendous speed, and therefore you have to change and upgrade your client Internet equipment. For a long time, I used an ADSL2 + modem and an inexpensive Wi-Fi router as access to the network, but my provider decided to start simultaneously with access via a telephone line to provide the ability to connect via Ethernet or as it is called Domolink - Fttx. Along with this, the free Open TV service , which is nothing more than IPTV over UDP , also became available . All this pushed me to replace the simple Level ONE WBR-3408for something more functional. To my surprise, it turned out that functionality does not always go hand in hand with a high price. You can find out how and why I chose Dlink dir-615 under the cat.

Brands and prejudices
It should be noted that I didn’t come to Dlink immediately, at first, wondering which company to choose, I was inclined to ASUS routers because the company itself inspires confidence, and I have repeatedly met various firmware for them on the open spaces of the network. Without delving deeply into the specifications of the routers, I went on a search. The main parameter for me was support for Wi-Fi standard N and the correct operation with IPTV, having come to the store and asked sellers, I received a box with the Asus rt-n13 routeron which flaunted inscriptions that the device supports DraftN and IPTV. Setting up the Internet and Wi-Fi did not cause any difficulties, but IPTV on the computer stubbornly did not want to get along with the raised Ppoe session, either one or the other worked. Without hesitation, I decided to contact Domolink technical support, in which they told me in a pleasant voice that this service only works on dlink dir-100/120 routers without Wi-Fi and dir300 / 320 with Wi-Fi standard G. Having decided to look for alternative firmware , I was surprised to find none, the experiments with the router stopped at this, and somewhat upset, I put up with the lack of IPTV. After a couple of months at a local forum, I saw an advertisement for the sale of Dlink dir-615 routers at a very tasty price, new, but without a guarantee, without thinking twice, I climbed on Ebay and made sure of my suspicions about their origin, Prices start at $ 30 with shipping. Checking on the siteDD-WRT support for this model, the lot was immediately ordered.
Dlink dir-615 revD
I will not describe the process of receiving parcels at the local Russian Post, I can only say that the packaging was somewhat wrinkled, but absolutely intact. Arriving home, I found in the box a standard set of manuals, patch cord, settings disk, power supply and the router itself. To my surprise, the antennas turned out to be non-removable, as it turned out later, there are different revisions of this model of routers. I received the D2 revision model with a completely black case, non-removable antennas and a Ralink 3052 processor. Other revisions can differ in case color, as well as in the processor and antenna design. Having connected everything to the PC, and seeing the standard interface of the Dlink network equipment, I decided to check the operation before flashing it to DD-WRT, the Internet and WI-Fi dutifully worked, TV was still missing.
The official "mean" characteristics of the router:

Hello Linux DD-WRT
Re-flashing the Dir-615 to DD-WRT is as simple as possible:
1. Find the dir-615 “router base” on the dd-wrt website (be sure to check the revision of your router with the one indicated).
2. Go to the database of routers on the page Dir-615 revD2, and download the file dlink-dir615d-factory-webflash.bin
3. Go to the router and find the Firmware Update item in the standard firmware , point to the downloaded file and click Update.
In case of unsuccessful firmware, due to disconnected power supply or other unforeseen circumstances, you should not panic very much, there is an emergency bootloader in this router that can be used with the following instructions:
1. Turn off the router by pulling out all the cables (both power and LAN) from it.
2. In the network connection settings in the computer, write the static IP address 192.168.0.2, mask 255.255.255.0, gateway 192.168.0.1, DNS 192.168.0.1
3. Connect the computer and the router through the WAN port on the router.
4. Press and hold Reset on the router.
5. Turn on the router (plug in the power).
6. Wait for seconds 5.
7. Release Reset.
8. Go through the browser to the address 192.168.0.1
9. On the page that opens, click Browse and select the original firmware file for the router. (I will post a link to the original Dir-615 revD2 firmware at the end of the post).
10. Click Upload and follow the instructions.
If everything went well, after some time, the router will blink LEDs and go to reboot. Now you can go to the router at http://192.168.1.1/ . It should be noted that the interface of this firmware is much more friendly and functional than the original Dlink, you should not be afraid that Linux on the router is certainly a console and reading a bunch of manuals, in 90% of cases everything is configured with a couple of mouse clicks. The DD-WRT interface can be tested at the following link: http://dd-wrt.com/demo . Those who are afraid of English can switch the interface to Russian in the Administration-Management tab , which not every official firmware can boast of.
Configuring DD-WRT for Domolink and IPTV
At the first login, DD-WRT, taking care of your security, will persistently send you to come up with a new login and password. After that, you can proceed to setting up your Internet connection and IPTV directly.
The Internet connection is configured in the Setup-Basic Setup tab and it takes just a couple of clicks to connect to Domolink:
1. Select Type Connection - PPPoE
2. Fill in the User Name and Password fields
3. Click Save and Apply Settings at the bottom of the page

After that, the LED with the “planet” should change color from orange to green, if this did not happen, check the entered data again, and if everything is correct, go to the Management tab and click on the Reboot Router at the bottom of the page.
If the connection is successful, you can proceed to configure IPTV:
1. Go to the Security tab and disable the SPI Firewall. Click Save. 2. Go to the Administration-Commands tab and insert the following textifconfig vlan2 1.1.1.1 netmask 255.255.255.0 broadcast 1.1.1.255
cd / tmp
sleep 30
wget http://dl.dropbox.com/u/14930004/udpxy
chmod + x udpxy
/ tmp / udpxy -a 192.168.1.1 -p 4022 -m 1.1.1.1 -B 1Mb -M 30
3. Click Save Startup, then go to the Administration-Management tab and at the very bottom of the page click the Reboot Router button.
Explanations:
vlan2 - the interface corresponding to the wan port, may differ in different routers, look in the Setup-Networking tab in * WAN Port Assignment *
wgethttp: //dl.dropbox.com/u/14930004/udpxy - a site with a direct link to the udpxy file, at each boot, the router downloads udpxy from there and launches it. I use this repository, but I'm not sure how long this file will last there. Therefore, I will post it below separately. For different routers with DD-WRT, the UDPXY file will be different , I selected using the scientific poke method, downloading different UDPXY from the DD-WRT forums.
* / tmp / udpxy -a 192.168.1.1 -p 4022 -m 1.1.1.1 -B 1Mb-M 30 * The allocated value corresponds to the cache allocated to the stream in the router, I reduced this value to 1Mb since at higher values, the picture was strewed, if the image is with artifacts, you can play with this value.
After the steps have been taken, you need to check whether UDPXY has started. You can do this using the following link showing the statistics http://192.168.1.1:4022/status If the page has opened, we begin to rejoice, but not really, now it remains to change the playlist with channels from the form udp: // @ 233.3.2.11: 5000 at http://192.168.1.1:4022/udp/233.3.2.11/10000 and feed it to VLC.


P.S
I did not make special measurements of the speed of the router, but when copying LAN-LAN, the speed is 11.5-12 MB / sec. There is nothing to test the Wi-Fi standard N yet, but in mixed mode, there is enough speed to play mkv 1920x1080 weighing 12gb on a laptop with Wi-Fi standard G without problems.
Original firmware can be downloaded here: http://multi-up.com/372115
Udpxy for Dir-615 revD here: http://multi-up.com/372116
The latest DD-WRT builds: ftp: // dd-wrt .com / others / eko / BrainSlayer-V24-preSP2 /
For revisions of Dlink routers, see this site . Thanks Ismail
Udpxy for DIR-615 rev. E Download . Thanks vetal232

