Thursday, February 3, 2011

ST536v6 and WRT54G Hacking (Bridged Mode + MioTV)

Using a Speedtouch 536v6 with a modded WRT54G, means I'd normally have to set the ST536 to bridged mode.

My ST536v6 sitting naked on the WRT54G
However using the 'normal' means (residential CD etc.) will mean that you'll zap all the connections and effectively remove MioTV support from the ST536. What I've done here, is to remove, and recreate a connection that's bridged (by manually configuring the thing via telnet). MioTV is this IPTV thing that exists in Singapore (Singnet is the provider).

1st step would be to read the serial number off  the bottom of the bloody thing (Singnet has this configured as the login password.) Next telnet to the modem, default IP being 192.168.1.254 and then follow the below.


Username : Administrator
Password : *********** (this is the serial number of the modem)
------------------------------------------------------------------------
                             ______  SpeedTouch 5x6
                         ___/_____/\
                        /         /\  6.2.17.5
                  _____/__       /  \
                _/       /\_____/___ \  Copyright (c) 1999-2007, THOMSON
               //       /  \       /\ \
       _______//_______/    \     / _\/______
      /      / \       \    /    / /        /\
   __/      /   \       \  /    / /        / _\__
  / /      /     \_______\/    / /        / /   /\
 /_/______/___________________/ /________/ /___/  \
 \ \      \    ___________    \ \        \ \   \  /
  \_\      \  /          /\    \ \        \ \___\/
     \      \/          /  \    \ \        \  /
      \_____/          /    \    \ \________\/
           /__________/      \    \  /
           \   _____  \      /_____\/
            \ /    /\  \    /___\/
             /____/  \  \  /
             \    \  /___\/
              \____\/
------------------------------------------------------------------------
_{Administrator}=>ppp relay
{Administrator}[ppp relay]=>flush
{Administrator}[ppp relay]=>..
{Administrator}[ppp]=>flush
{Administrator}[ppp]=>:eth
{Administrator}[eth]=>flush
{Administrator}[eth]=>:atm
{Administrator}[atm]=>flush
Some ATM interfaces are still in use. Interfaces that are in use cannot be deleted.
{Administrator}[atm]=>phonebook
{Administrator}[atm phonebook]=>flush
Some phonebook entries are still in use. Entries that are in use cannot be deleted.{Administrator}[atm phonebook]=>add
name = pvcInternet
addr = 0.100
:atm phonebook add name=pvcInternet addr=0*100
{Administrator}[atm phonebook]=>..
{Administrator}[atm]=>ifaddintf = atmInternet
:atm ifadd intf=atmInternet
{Administrator}[atm]=>ifconfig
intf = atmInternet
[dest] = pvcInternet
[qos] = default
[clp] = 0
[encaps] = llc
[retry] = 10
[fcs] = disabled
[ulp] = mac
:atm ifconfig intf=atmInternet dest=pvcInternet ulp=mac
{Administrator}[atm]=>ifattach
intf = atmInternet
:atm ifattach intf=atmInternet
{Administrator}[atm]=>..
{Administrator}=>eth bridge
{Administrator}[eth bridge]=>ifadd
[brname] =
intf = snbbridge
:eth bridge ifadd intf=snbbridge
{Administrator}[eth bridge]=>ifconfig
[brname] =
intf = snbbridge
[dest] = atmInternet
[portstate] = forwarding
[retry] = 10
[priotag] = 0
[vlan] = default
[prioconfig] = disabled
[ipprec] = disabled
[priority] = 0
[regenprio] = 01234567
[ingressfiltering] = disabled
[acceptvlanonly] = disabled
[mcastfilter] = disabled
[dynvlan] = disabled
[igmpsnooping] = enabled
:eth bridge ifconfig intf=snbbridge dest=atmInternet portstate=forwarding retry=10 priotag=disabled vlan=default prioconfig=disabled ipprec=disabled priority=0regenprio=01234567 ingressfiltering=disabled acceptvlanonly=disabled mcastfilter=disabled dynvlan=disabled igmpsnooping=enabled
{Administrator}[eth bridge]=>ifattach
[brname] =
intf = snbbridge
:eth bridge ifattach intf=snbbridge
{Administrator}[eth bridge]=>:
{Administrator}=>dhcp server config state=disabled
{Administrator}=>saveall
{Administrator}=>exit
Connection to host lost.


You should now have 2 connections, 1 bridged and then 1 existing for the MioTV thing. Next connect and configure your router as per normal. Now there's only 1 LAN connector on the ST536v6, so how do you connect the MioTV set-top box up? To do this, we'll create a pass-through connection on the WRT54G (you end up sacrificing 1 LAN port on the WRT54G permanently for MioTV).

1st telnet into the WRT54G (you might need to enable it if you're on 3rd party firmware, read the 3rd part firmware's FAQ or HELP section to determine how to do that). Next input this set of commands in.

nvram set vlan0ports="1 2 3 5*"
nvram set vlan1ports="0 4 5" 
nvram commit 
reboot 
This will effectively put WAN on port 4 as well (acting like a pass-through) and connecting the MioTV set-top to this connection should work.

No comments:

Post a Comment