Petes Bridge Template

From BE Usergroup Technotes

Jump to: navigation, search

Note: Some newer more standard templates can be found here:
http://tg.bethere.co.uk/downloads/Templates/

This template was created by the Be* forum user pete318.

This is an alternative Bridge Template file for all versions of the BeBox. It has been confirmed as working with all current and previous official and un-official thomson firmware versions. This template addresses the problem of the official Be* bridge template, which still allows remote access to the BeBox from the Internet. Meaning it is not a 'true' bridge.

This Bridge Template is confirmed to work on the O2 Wireless Box MkI, aka Speedtouch 780WL, with a Static IP connection. Note that you will need your SuperUser credentials (User: SuperUser, Password: [google it]) to have access to the Wireless Box's FTP server. With O2 fixed IP, in the router you will need to select "Access by Static or Dynamic IP" and then give your static IP address, the Default Gatweway and the DNS addresses in the ROUTER.

The template

Until the bridge template can be uploaded to a reliable hosting location such as here or elsewhere, then to create a copy of the template for yourself, just do the following...

Create a new file in your favourate text editor, then copy and paste the contents of the box below in to that file, and save the file as "Bridge1.tpl".

[ env.ini ]
set var=CONF_DEVICE value=716v5
set var=CONF_REGION value=UK
set var=CONF_PROVIDER value=Be*
set var=CONF_DESCRIPTION value="Port 1 for Bridged internet, Ports 2-4  WLAN Isolated bridge 1.0"
set var=CONF_SERVICE value="Internet bridge + Isolated bridge"
set var=CONF_TPVERSION value=2.0.0
set var=HOST_SETUP value=auto
set var=HOST_LANGUAGE value=en
set var=UPGRADE_URL value=http://www.speedtouch.co.uk/upgrade
set var=ST_SYS_USERNAME value=Administrator
set var=COLUMNS value=80
set var=ROWS value=24
set var=CONF_DATE value=02/04/06
set var=CONF_TEMPLATE value=Bridge1.tpl

[ language.ini ]
config language=en complete=no

[ wizard.ini ]
def var=IP type=grp desc="For the Bridged Service, no manual configuration required, just click Next followed by Start." alias="Bridged Configuration"

[ phone.ini ]
add name=pvc_bridge addr=0*101

[ ipqos.ini ]
config dest=pvc_bridge

[ atm.ini ]
ifadd intf=atm_bridge
ifconfig intf=atm_bridge dest=pvc_bridge ulp=mac
ifattach intf=atm_bridge

[ bridge.ini ]
ifadd intf=ethport2 dest=ethif2 logging=disabled
ifadd intf=ethport3 dest=ethif3 logging=disabled
ifadd intf=ethport4 dest=ethif4 logging=disabled
ifadd intf=usbport dest=usbif1 logging=disabled
ifadd intf=atm_br_bridge
ifadd intf=WLAN dest=wlif1 logging=disabled
ifadd intf=WLAN_WDS1 dest=wlif2 logging=disabled
ifadd intf=WLAN_WDS2 dest=wlif3 logging=disabled
ifadd intf=WLAN_WDS3 dest=wlif4 logging=disabled
ifadd intf=WLAN_WDS4 dest=wlif5 logging=disabled
ifconfig intf=ethport2 logging=disabled
ifconfig intf=ethport3 logging=disabled
ifconfig intf=ethport4 logging=disabled
ifconfig intf=usbport retry=0 logging=disabled
ifconfig intf=atm_br_bridge dest=atm_bridge
ifconfig intf=WLAN logging=disabled
ifconfig intf=WLAN_WDS1 logging=disabled
ifconfig intf=WLAN_WDS2 logging=disabled
ifconfig intf=WLAN_WDS3 logging=disabled
ifconfig intf=WLAN_WDS4 logging=disabled
ifattach intf=ethport2 logging=disabled
ifattach intf=ethport3 logging=disabled
ifattach intf=ethport4 logging=disabled
ifattach intf=usbport logging=disabled
ifattach intf=atm_br_bridge
ifattach intf=WLAN logging=disabled
ifattach intf=WLAN_WDS1 logging=disabled
ifattach intf=WLAN_WDS2 logging=disabled
ifattach intf=WLAN_WDS3 logging=disabled
ifattach intf=WLAN_WDS4 logging=disabled
config age=300 filter=no_WAN_broadcast

[ vlan.ini ]
add name=IsoBridge id=10
move intf=atm_br_bridge name=default

[ eth.ini ]
ifadd intf=BridgeEthoA
ifconfig intf=BridgeEthoA dest=bridge group=default
ifattach intf=BridgeEthoA

[ pptp.ini ]

[ ppprelay.ini ]

[ ppp.ini ]

[ ip.ini ]
ifadd intf=LocalNetwork dest=bridge
ifadd intf=BrEthoA dest=BridgeEthoA
ifconfig intf=loop mtu=65535 group=local
ifconfig intf=LocalNetwork mtu=1500 group=lan linksensing=disabled
ifconfig intf=BrEthoA mtu=1500 group=wan linksensing=disabled primary=enabled
ifattach intf=LocalNetwork
ifattach intf=BrEthoA
config forwarding=enabled redirects=enabled netbroadcasts=disabled ttl=64 fraglimit=64 defragmode=enabled addrcheck=dynamic mssclamping=enabled
config checkoptions=enabled
config natloopback=disabled
ipadd intf=LocalNetwork addr=10.0.0.138/24 addroute=disabled
ipadd intf=LocalNetwork addr=192.168.1.254/24 addroute=disabled
ipconfig addr=192.168.1.254 primary=enabled
rtadd dst=255.255.255.255/32 gateway=127.0.0.1
rtadd dst=10.0.0.0/24 gateway=10.0.0.138
rtadd dst=192.168.1.0/24 gateway=192.168.1.254
rtadd dst=224.0.0.0/4 intf=BrEthoA

[ dnss.ini ]
config domain=config timeout=15 suppress=0 trace=disabled WANDownSpoofing=enabled WDSpoofedIP=198.18.1.1
host add name=BeBox addr=0.0.0.0 ttl=1200
host add name=dsldevice addr=0.0.0.0 ttl=1200

[ dhcc.ini ]
debug traceconfig state=disabled
ifadd intf=BrEthoA
ifconfig intf=BrEthoA domain=enabled dns=enabled statrt=enabled gateway=disabled vendorid=enabled metric=1 dnsmetric=10
ifattach intf=BrEthoA

[ dhcs.ini ]
debug traceconfig state=disabled

[ nat.ini ]
ifconfig intf=BridgeEthoA translation=disabled
config

[ endofarch ]


Installing the template

Note that the instructions below assume that the BE/O2 router still has its default LAN address of 192.168.1.254. If you have changed it, use that IP address instead. Note that once you have run the template, the BE/O2 router LAN address will revert to the default value, so use that if you want to access the Speectouch setup page later for any reason (see below).

Save your current user.ini file from your router... http://192.168.1.254/cgi/b/bandr/?be=0&l0=0&l1=1&tid=BACKUP_RESTORE, so you can restore it should something go wrong. Note that on the O2 Wireless Box the Backup and Restore menu items are only available when logged on as SuperUser. After running the template, you may need to add the SuperUser account in User Management before you can restore your user.ini settings.

Then make sure your IP address is set to static, and to 192.168.1.60 with a subnet of 255.255.255.0 and a gateway of 192.168.1.254 before you do this (DNS server is not required at this point, but does not hurt if you leave that in).

Put the bridge template file 'Bridge1.tpl' in an empty folder on your computer, preferable something easy to get to like 'C:\bridge'. Now go to "Start > Run... > cmd" and when you are at the command prompt, go to the directory with the bridge template... 'CD\bridge'. Now, enter...

ftp 192.168.1.254

...and press Enter, and enter your username and password when prompted. You will then be presented with the FTP command prompt, here you need to enter the following commands...

bin
prompt
cd /dl
mput Bridge1.tpl
bye

note*** that the cd /dl command above is DL not DI ***

Now, enter this in your browser... http://192.168.1.254/ewizard.htm, click next, then select "Internet bridge + Isolated bridge". The router should re-sync, but you don't need to reboot it. Ethernet Port 1 on the router is now ready to be bridged to something. ports 2-3-4 and the Wifi now isolated from Ethernet port 1.

While in bridge mode you can still access the speedtouch config page on 192.168.1.254 via any port, including Port 1, as long as you assign a valid Private IP address to your network adapter. Such as one in the the 192.168.x.x or 10.x.x.x range. It is also possible to assing multiple IP addresses to your network adapter to allow for this.

Personal tools