Netgear dg834gt Half bridge mode

naidoo1

New Member
Joined
Jan 29, 2007
Messages
5
Reaction score
0
hi guys. Does anyone know If this can do half bridge mode and how ?
Thanks
 
The router should be able to do half-bridging. The Netgear guys call it PPPoE Relay and it can be enabled from the Wan Setup section of the route web page. I used it for a while on my netgear D834G.
 
which part of my post , preceding your bump, did you miss :confused: unless you look at DGteam, which I'm unfamiliar with
Well I guess I should have bought the 834g. I really need the half-bridge mode.
I'm a bit sceptical to put unofficial firmware on my modem. Has anyone tried it ?
 
I'm wondering the same thing, I had a look at the DGTeam firmware, but risk to me outweighs the perks.

I lost a router the other day by loading firmware on it, official as well, and that's my reason for not buying another Telkom 2C router
 
AFAIK the 834GT can go to bridge mode but then you loose the router functions. You cannot like with some other routers have both working ie half bridge mode.

http://www.dslzoneuk.net/forum/viewtopic.php?f=19&t=14228

You can try this temporary fix (ie. it will need to be re-done after a router reboot).

Stick this in the address bar, and then give it a few seconds before closing it (it will keep running every 10 seconds on the router automantically:


Code:192.168.0.1/setup.cgi?todo=ping_test&c4_IPAddr=%26/bin/echo+\%23\!/bin/sh+%3E+/tmp/b;/bin/echo+while+/usr/bin/[+1+]\;+do+%3E%3E+/tmp/b;/bin/echo+/usr/sbin/brctl+addif+br0+nas0+%3E%3E+/tmp/b;/bin/echo+/bin/sleep+10+%3E%3E+/tmp/b;/bin/echo+done+%3E%3E+/tmp/b;/bin/chmod+a%2Bx+/tmp/b;/bin/sh+/tmp/b

*You're LAN IP addressing scheme may well be different, so just substitute the first bit accordingly*

You may wish to stick this into a desktop shortcut/favourite/bookmark, so you can repeat it when necessary.

Half-bridge is PPPoE-relay, and on the 'G' series this could be easily done by going into WAN Setup pages of the router's web interface. As far as I know, the GT will not do this in a more 'permanent' way unfortunately. I don't tend to flash unless necessary, so i'm not sure what possibilities the DGTeam firmware will open up for you. From what I can see around the web though, it can't be done with it.

The nearest I found to using the modem only mode for this purpose on this exact model, was a poster on the australian ISP Whirlpool's forum. And he seemed to have no luck with that mode. I don't believe that works for it
 
Last edited:
Found a combined DG team solution here if anyone is brave enough to try it.

http://modernadmin.com/2009/06/12/h...vice-behind-modemrouter-with-netgear-dg834gt/

**HOW-TO** Half-Bridge for Public IP on firewall/router device behind Modem/Router with Netgear DG834GT
Want to use your own router/firewall device on an ADSL service with just 1 public IP? Can’t do this because you are forced to use PPPoA?

Here is the solution to this problem for Netgear DG834GT users though it should work fine with mostly any DG834 based router.

This is the Half bridge mode .img file

You can download our pre-made image here.

The credit for this cannot go entirely to myself – it is compiled from various sources and is based on the half-bridge script from RouterTech firmware. Thanks to both DGTeam and RouterTech for the nice firmwares they release.

This is the Source code if You want to edit/change the .img file yourself.

As always, if you can add to or improve on this your comments are welcome!

Note: We have mirrored the sources in our downloads section for convenience but please download the latest copy from DGTeam!

First, download and untar DGTeam firmware:

wget http://modernadmin.com/downloads/fi.../DG834GT_V1.02.16_DGTeam_0848_sources.tar.bz2
tar xjf DG834GT_V1.02.16_DGTeam_0848_sources.tar.bz2
cd DG834GT_V1.02.16_DGTeam_0848_sources
tar xjf target_dgteam.tar.bz2

Add our half-bridge script:

mkdir target_dgteam/usr/etc/ppp

cat <<EOF > target_dgteam/usr/etc/ppp/ip-up
#!/bin/sh
/bin/cp /proc/uptime /tmp/wan_uptime
/usr/sbin/rc service restart
#/bin/cp /proc/uptime /tmp/wan_uptime
/bin/cp /usr/etc/ppp/ip-down /etc/ppp/
/bin/echo g5on > /proc/led
/usr/sbin/hbStart.sh
EOF

cat <<EOF > target_dgteam/usr/etc/ppp/ip-up-demand
#!/bin/sh
/bin/cp /proc/uptime /tmp/wan_uptime
/usr/sbin/rc service restart
/bin/cp /usr/etc/ppp/ip-down /etc/ppp/
/bin/echo “/usr/sbin/atm_monitor” >>/etc/ppp/ip-down
/bin/echo g5on > /proc/led
/usr/sbin/hbStart.sh
EOF

add to target_dgteam/usr/sbin/hbStart.sh:

cat <<EOF > target_dgteam/usr/sbin/hbStart.sh
#!/bin/sh

IFC=/sbin/ifconfig
IPT=/usr/sbin/iptables
RTE=/sbin/route

WIF=ppp0
LIF=br0

iKx=$($IFC $WIF|grep inet)
iKMK=${iKx#*k:}
iKx=${iKx#*r:};WIP=${iKx%% *}
iKx=${iKx#*P:};GW=${iKx%% *}

$IFC ${WIF:=ppp0} 0.0.0.0
$RTE add -host $WIP dev $LIF
$RTE add -host $GW dev $WIF
$RTE add default gw $GW

/bin/echo “1″ >/proc/sys/net/ipv4/conf/$WIF/proxy_arp
/bin/echo “1″ >/proc/sys/net/ipv4/conf/$LIF/proxy_arp
EOF

Set permissions:

chmod +x target_dgteam/usr/sbin/hbStart.sh

Lastly, Pack firmware image:

./create_target.sh 1.02.16 GT
./build_dgteam.sh 1.02.16 GT

You should now find the .img file in the current folder like follows: DG834GT_V1.02.16_DGTeam_0921.img

Enjoy
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X