Aug 27, 2015

HUAWEI HG655a Home Gateway

The HUAWEI HG655a Home Gateway (hereinafter referred to as HG655a) provide universal interfaces compatible with homogeneous products, such as an uplink VDSL/ADSL2+ interface, four FE interfaces, and two POTS interfaces.

As a standard Home Gateway device, the HG655a provides VDSL2 uplink and ADSL2+ uplink dual backup to access the broadband WAN. For the LAN, it also provides bundant interfaces such as Ethernet interface to connect various household terminals, such as PC, STB, and PHONE devices.


HG655a Standard UniFi Setup for VIP5/10/20

HG655a Default Maxis-Fiber-Internet Installation on high rise building such as Condominium.

HG655a Maxis-Fiber-Internet Installation with any custom router.

Configuration of Huawei HG655a as a Modem Router


HUAWEI HG655a Home Gateway Quick Start pdf

HUAWEI HG655a Home Gateway User Guide pdf

Brush TM UniFi DIR-615 (D-Link) With DD-WRT Firmware

The TM provided DIR-615 (the orange router) with custom DD-WRT firmware. The primary goal of this guide will basically be to guide users who wish to flash their TM provided Unifi DIR-615 routers with dd-wrt. However, users who have spare dd-wrt flashed routers around will also be able to use the information here, to set up the VLAN tagging for the PPPoE connection that is required by Unifi.

Pros of using DD-WRT firmware
  • The router gets increased stability
  • Less lockups/crashes
  • Less connection drops (I'm looking at you, generic VPN protocol!)
  • Support for a larger amount of concurrent connections
  • The ability to increase your wifi signal strength (stock firmware has really weak wifi transmit power)
Cons of using DD-WRT firmware
  • Unifi home users (VIP5/10/20) lose IPTV access
  • You lose TM support for your Unifi service (it was pretty much non-existent in the first place!)
  • You probably void the warranty on the router
  • You might brick the router if you don't know what you're doing
  1. Before we begin, we would like to remind that we are not responsible, if you absolutely screwed up your UniFi router and are left with dial-up/Streamyx access for the next 3 weeks (or at least until TM decides it's time to pass you a new unit).
  2. This guide requires basic to advanced networking computer knowledge. Read through all the steps that listed down here and make sure you understand it. If you don't, get a friend who does to follow this guide and do it for you.
  1. Original TM DIR-615 G2 Firmware (Just for backup)
  2. Brainslayer's DD-WRT DIR-615 REV D factory webflash -
Must Comply these Requirements

a.) Router's firmware revision - This can found in the bottom of the router. (The D-Link DIR-615 Revision G2 runs on RT3052F@384 chipset which is same with Revision Dx, so using firmware from Dx version is possible)

b.) The firmware is supported - We can check this via dd-wrt router-database.

c.) Router's firmware revision


1.[ Set a static IP for your PC in the 192.168.0.x range with a subnet mask of (Example:
2.[ Connect a network cable from your computer's network interface card to the WAN PORT (not LAN port, WAN port) of your DIR-615 G1.

3.[ Turn off your DIR-615. The router is now in Emergency Room mode. (Hold down a pin to the RESET button of the router (at the back next to its power socket) and turn on the router while holding this RESET button down. If you did this properly, the power button on the router should now be orange and blinking continuously).
4.[ Open up Internet Explorer and head over to You should be able to see the Emergency Room interface. (Please use Internet Explorer as Firefox/Google Chrome can cause some weird issues with this particular web interface).
Emergency Roon After Reset The DIR-615 Router

5.[ Hit the Browse button and select the Brainslayer DIR-615 rev D webflash firmware (dlink-dir615d-factory-webflash.bin) that you downloaded earlier. Upload it to the router. (Upon a successful upload, you should be able to see a success confirmation message).

6.[ Let the router reboot by itself.
7.[ Once power light turns GREEN.. Unplug the network cable from the WAN port and plug into any LAN port on the DIR-615 router (Recommended, ports 1-3).
8.[ The routers IP should now be, so change your PC's LAN IP from to something in the range. (Example: with a subnet mask of
9.[ Go to and configure your router's security (password) settings.
10.[ Before you continue to setup your PPPoE link, please setup your wireless security. The wireless radio should be on by default and will be accepting connections.


Any Router Should Work with Unifi ONU/BTU Modem

Method to use any router with unifi (IPTV-compatible) for ZTE ZXDSL 931Dll (VDSL Modem)

Actually this concept is the same with It’s for vdsl modem brand Huawei HG655a. But, my tutorial is for vdsl modem ZTE ZXDSL 931Dll.

Unifi Standard Installation

500 = vlan data (internet)
600 = vlan IPTV


1. I want to use DD-WRT in my Dlink DIR-615
2. Using DD-WRT, we can not use IPTV anymore.


1. Plug IPTV cable to ZTE ZXDSL 931Dll (VDSL Modem)
2. Put static IP and subnet in your PC
3. Plug the cable to LAN2 port of ZTE ZXDSL 931Dll
4. Open browser and go to

username: admin
password: hs5711Bbvl

5. Go to Network -> WAN -> Port Binding

Go to Bridge_PTM_500_0 at the dropdown list. Tick LAN4. Click submit.

6. Go to Network -> WAN -> VLAN Trunk

Choose LAN1 at the dropdown list.
Choose 2 or 0 for Supported VLAN number. Dont choose 600 for VLAN ID.

Choose 600 at the PVID dropdown list
Click Submit.

7. Go to Network -> WAN -> VLAN Trunk. You can choose method 7a or method 7b. I recommend you follow step 7a because it is easier and less work to do.

Method 7 a) Added this Method for those router that are not capable on VLAN-tagging.

Even though you have a VLAN tagging capable router, you do not have to tag your WAN port with VLAN if you use this method. This works for all routers including not-VLAN-tagging capable router like Streamyx router. Thank to the this blog. You just setup normal PPPoE in your router.

Choose LAN4 at the dropdown list.
Tick Enable VLAN Trunk
First Supported VLAN number, insert value 0.
For PVID, choose 500.
Click Submit.

Method 7 b)

This method is not working with the routers that does not have VLAN tagging capability. This only works for VLAN tagging capable router. You have to tag VLAN500 and setup PPPoE in your router. That’s why i cross it.

Choose LAN4 at the dropdown list.
Tick Enable VLAN Trunk
First Supported VLAN number, insert value 1.
For VLAN ID1, choose 500.
Click Submit.

8. Plug STB cable to LAN1 port of ZTE, After that Dlink DIR615 cable to LAN4 ZTE. After that reboot all the equipment.

After that, you can use any router with your unifi. If you want to use DD-WRT firmware you can follow this tutorial, _guide.php (Ignore VLAN tagging step if you use method 7a).

All images posted in this article and ideas are not mine it belongs to azim references found at the following sites.

Aug 23, 2015

Technicolor / Thomson TG784n v3

The Technicolor TG784n v3 is especially suited for complex network scenarios where several access technologies, such as ADSL and Fiber To The x (FTTx) coexist. Thanks to its AutoWAN sensing feature the Technicolor TG784n v3 can automatically select among DSL, Ethernet WAN or 3G (via USB adapter) interfaces and connect without any manual operation.

Featuring four Ethernet LAN ports including one Gigabit port, the Technicolor TG784n v3 offers seamless connection of wired and wireless devices from anywhere in the home at stunning speeds.

The gateway offers a wide range of services like caller ID, CLIP, CLIR, call waiting, call forwarding, 3-way conferencing and message waiting notification.

The firewall provides Stateful Packet Inspection (SPI), and an integrated Intrusion Detection and Prevention System (IDS) engine monitors a wide range of attack patterns and logs potential security breaches to a local cache or remote server.

Technicolor / Thomson TG784n v3 Specification

LAN / WAN Connectivity

WAN throughput:
24 Mbps
WAN throughput upstream:
3 Mbps
WAN ports:
one 10/100/1000 Gigabit WAN port, two USB ports for 3G USB connnection
WAN port(s) type:
DSL/ISDN/POTS connector (RJ-11)
LAN ports:
LAN ports type:
10/100 Base-TX (RJ-45)
LAN ports auto cross-over:
USB port(s):
for printers, storage devices, 3G USB modem
USB port type:
USB 2.0
RJ-11 FXS VoIP phone ports:
RJ-11 FXO VoIP PSTN wall jack port:

NAT routing:
Port forwarding:
DHCP server:
DHCP client:
Dynamic DNS client:
Routing Protocols:
VLAN tagging (802.1q)
IGMP Multicast (RFC 1112)

DSL compliance:
ADSL1 (G.dmt 992.1, G.lite 992.2, G.hs 994.1, DMT T1.413)
ADSL2 (G.992.3, G.lite.bis 992.4)
RE-ADSL2 (G.992.3 Annex L)
ADSL2+ (G.992.5)
ADSL2+M (G.992.5 Annex M)
 PPPoE client:
PPPoA client:

 VoIP Protocols:
T.38 (Fax over IP)
 VoIP Audio Codecs:
G.711 (PCM)
G.729 (a/b)
VoIP Voice Features:
3-way conferencing
Caller ID
Call waiting
Call transfer
Call forward
Distinctive Ring

Maximum Wireless Speed:
300 Mbps
WiFi standards supported:
802.11b (11 Mbps)
802.11g (54 Mbps)
Wifi security/authentication:
WiFi modes:
Access point
 Multiple SSID:
WMM (QoS):
 WPS (Wi-Fi Protected Setup):
SPI firewall:
DoS / DDoS protection:
 Intrusion Detection System (IDS):
 Device Management

Web-based (LAN)
Quick Setup Wizard
Firmware upgradeable:
 Diagnostic functions:
Misc hardware info

IPv6 support:
Print Server:

Product page:

Aug 21, 2015

How-To Setup OpenWRT VLAN for TM Unifi

First of all our device must be compliant to OpenWrt hardware list otherwise we can not reflashed it with OpenWRT third party firmware. Lets assume that our router have already performed the firmware upgrade/reflashing.

The following will assist you to configure the OpenWrt router to be able usable work with TM Unifi broadband ONT/BTU Huawei Echolife HG655a.

Get to Network -> Switch.

Add the following VLAN.

1. 500 with setting “Port 1″ and “CPU” as “tagged” , the rest “off”
2. 600 with setting “Port 1″ as “tagged” and “Port 5″ as “untagged”, the rest “off”

“Port 1″ seem to be the “WAN port” to the another fibre device.
“CPU” is the inside-the-box interface.
while “Port 5″ actually or physically labelled as the “LAN 4″

So, the overall physical connection from this box would be as follows..

“WAN” -> “TM Fibre Home Gateway ~ HG555a ~ Port 1″
“LAN 4″ -> “TM IPTV Box ~ Lan Port”

“LAN 1 ” -> “Other LAN device” (mine goes to a ADAM device for development)
“LAN 2 ” -> “Other LAN device” (mine goes to another room’s network switch)
“LAN 3″ -> “Unused”

Then for the Interfaces : need to setup PPPoE dialer to VLAN device (VLAN.500)

PPPOE Physical pointed to the (VLAN.500) ones.

PPPOE Firewall setting pointed to dedicated one for NAT.

That’s for the PPPoE , you should be able to connect by then.

For the IPTV, setting would as follows ..
It need to be VLAN.600 , and from the IPTV box,connection via “LAN 4″.

Interface : “Unmanaged”

Physical : VLAN.600

Firewall : Dedicated one for IPTV.

Once, above is setup, you shall be able to see “Status -> Overview” which will report the current status of WAN/LAN.

and ..that’s it for Unifi Setting.