Have WRT54GL as router and DG834PN as modem? will it work?

Associate
Joined
26 Mar 2004
Posts
1,199
Currently using a DG834PN to connect to a Be connection in the office. Problem is it doesn't have QOS, so when people are downloading it really brings thewhol network down.

Seeing people recommending the WRT54GL with Tomato I got that and have been trying to set it up so the DG834PN is the modem and the WRT54GL is the router. Haven't had any luck so far.
Is it possible to do?
If not what modem should i be getting?
 
I have a WRT54GL (Tomato 1.27) working with a Netgear DG834G (with DGTeam 0849) as modem, all I did was connect cable from 1st eternet port of DG834G to WAN port of WRT54GL, the WRT54GL "Connection Type" to DHCP, in DG834G DHCP is still enabled and have the WRT54GL setup with a reserved IP...

I did try a Linksys AM200 with the WRT54GL, but they really never worked well together, although most others report they work fine together...

EDIT: Got DG834G working with WRT54GL (with Tomato 1.27), put DG834G into "Modem" only mode (192.168.0.1), connected to WRT54GL (192.168.1.254) and selected "PPPoE" at Basic->Type, which allowed my to put my ISP login details in, leave Service Name blank...
 
Last edited:
Ditto. WRT54GL | Tomato RAF mod | bridged DG834GT dgteam 1007.

For Dg routers you just access a hidden page (read this) but idk if that will work with a the pn. Strictly speaking the Dgteams it probably the better implementation (particularly in the newest build) but you have to comfortable flashing it.

Edit: the above post is an example of how not to us it as a modem. If it's not bridged it's controlling the connection and lan which is what you want tomato to do. DHCP, NAT, Firewall etc should all be handled by the GL. The netgears only job should be translating phone signals into ethernet signals.
 
Last edited:
I've just tried that.
I accessed the hidden page and set it to modem only. still didn't connect. I can't even access the router web page settings if i plug it into the WAN port. I have to plug it back into an ethernet port to see whats going on.

Just finishing flashing it to dgteam firmware and status says connected but i can't access the net. I can't even access the router web page settings if i plug it into the WAN port.

I'm guessing settings in the tomato that i may have changed accidently.
I changed the IPaddress of the tomato router (netgear is 192.168.0.1).
put in opendns settings and enabled and set the DHCP.
and disabled wireless.

tomato.jpg
 
Last edited:
Ditto. WRT54GL | Tomato RAF mod | bridged DG834GT dgteam 1007.

For Dg routers you just access a hidden page (read this) but idk if that will work with a the pn. Strictly speaking the Dgteams it probably the better implementation (particularly in the newest build) but you have to comfortable flashing it.

Edit: the above post is an example of how not to us it as a modem. If it's not bridged it's controlling the connection and lan which is what you want tomato to do. DHCP, NAT, Firewall etc should all be handled by the GL. The netgears only job should be translating phone signals into ethernet signals.

How did you get your DG834GT to run in bridged mode, as when I did that with my DG834G, I was not able to enter my ISP login details?

According to the WRT54GL, it is doing the routing etc for my devices not the DG834G...
 
Last edited:
When it's bridged it's just a modem, you don't enter anything, all configuration is done via the router you connect to it.

@sswats That's just you ip settings. It depends which way you want you lan ips to be. I like my lan ips as 192.168.0.x so my modem is set to 192.168.1.254 however you can reverse that if you want.

If you want to use 192.168.0.x for the lan you need to connect your pc to modem (might need to renew dhcp/use static ip) and change it's ip to 192.168.1.254 then connect it to the router, connect the pc to the rotuer and set the routers ip to 192.168.0.1 and add this script to Admin>scripts>firewall:


ip addr add 192.168.1.1/24 dev vlan1 brd +
iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE

Or leave the modem as 192.168.0.1 and set the router to 192.168.1.254 and use the following script:


ip addr add 192.168.0.2/24 dev vlan1 brd +
iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.0.0/24 -j MASQUERADE

The first I know works, the second should work (feel free to correct me :)) but that should allow you to log into the netgear.
 
Last edited:
Nope. Continuously says "Connecting" or "renewing" depending on whether i put it on DHCP or PPPOE.

PPPoE there are login details. but Be doesn't have any.

Tried setting the netgear to modem only and giving it an ipaddress of 192.168.1.1 or 192.168.1.254. Neither worked.

Are there any other settings i should be looking at in either the tomato or the netgear?
 
On O2, Using a DG834N (With DGTeam Firmware), I set it to 'modem only', IP set to 192.168.0.1, plugged into the WAN port of the WRT.

The WRT54GL + Tomato (192.168.1.1) was set to DHCP, however, it took 30 mins to get an IP Address! but once it was assigned, it can reconnect instantly.

Not sure if O2's stuff is seperate to Be's (Even though it's the same network isn't it?)


I was messing around for ages, and tried everything, DHCP/PPPOE etc, but it was only when I went for something to eat, came back and it was connected.. looked on the web and saw that for O2 at least, the time issue was quite common.
 
If it's trying to renew it's ip just leave it, changing routers changes the mac but remember the dhcp can take almost an hour to renew. You should be able to log into the modem at least.

My personal setup is a DG834GT running DGteam (set to modem) on 192.168.1.254 (same as bebox connected) to a WRT54GL running the raf mod on 192.168.0.1 with

ip addr add 192.168.1.1/24 dev vlan1 brd +
iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE

as the firewall script. I do however, use a static ip, which solves so many problems on Be/O2. Their dhcp system has always been pants :) particularly for netgears. Unless your on value I'd recommend making use of, considering your paying for it whether you use it or not.

If you still can't make it work i.e. can't log into the modem once setup (remember to reboot) then head over here http://www.linksysinfo.org/forums/forumdisplay.php?f=160 where someone will probably be able to help. Some modems don't like responding to tomato, but netgears usually just work :(
 
I know its a bit late.
But finally got it working. IT was a stupid mistake on my part. I forgot we had static IP already, and just put those in and it worked instantly.

And the script you wrote works perfectly. thanks.
 
Hi,

I need some help with this as mine isnt working.

Just bought a WRT54GL and I want to use a netgear DGN2000 as the modem. (I also have a dg834gt and dg834g just lying around, I suspect both are faulty as the ADSL connection to them is very flakey but on this DGN2000 the connection is very stable).

Ive set the DGN2000 as modem only using DGTeam firmware. Set it to ip 192.168.1.254. The WRT54GL is set to 192.168.0.1.

My ISP is Nildram and they want PPPoA. Theres no PPPoA option in the WRT54GL, so what do I do?

If theres no way to properly do this then to hell with nildram and its time to move.
 
I tried that but it appears my ISP (Nildram) doesnt support PPPoE.

I phoned them up and asked them about it and the guy told me that PPPoE is only used in America. When he said that I ended the phone call, everywhere I read about this router everyone is using PPPoE and yet he says thats unusual for the UK.

Anyway I got it working but Im not sure if its the right setup, but it seems to work fine. I didnt set the netgear as modem only, I just turned off its wireless etc and it worked straight away with no problems. Tomato is telling me it is controlling the routing, firewall and everything to do with the network, but Im not so sure.

But the boost in wireless power that I needed and was the reason I got this router has worked very well, so Im happy!

Just looking at all this QoS stuff now seeing what I can and cant do.
 
Back
Top Bottom