Help: Connecting Linksys WRT54GL Router to ADSL Modem

Sarc

New Member
Joined
May 19, 2010
Messages
8
Reaction score
0
Hi

I have a Linksys WRT54GL (running latest DD-WRT beta) and an ADSL Modem. I wish to have the Linksys use PPPOE through the modem. The Linksys must do all the routing and be the DHCP server. The modem need not do anything else. I also want to be able to create a PPPOE connection from any computer connected to the Linksys- this is due to having multiple DSL accounts.

Here's what I have tried thusfar:

1. Connected an ethernet cable from the WAN port of the Linksys to a LAN port on the modem. This setup allows the Linksys to create a PPPOE connection. However my computer connected to the Linksys can not create a PPPOE connection, it can only use the existing one made by the Linksys.

2. Connected an ethernet cable from the LAN port of the Linksys to a LAN port on the modem. This setup does not allow the Linksys to create a PPPOE connection. However a computer connected to the Linksys can create a PPPOE connection.

Can somebody help me? I will appreciate it immensely.

Thank you
Anna
 
Hi Anna, you fail to mention the brand of the DSL modem - I would start there..
Need to set that to Half routed / bridge mode first - and then the WRT54 as PPOE.
WAN>LAN port of DSL.

Voila
-Anthro
 
Unfortunately the DD-WRT firmware doesn't support PPPoE Relaying natively. You might be able to find a PPPoE-Relaying mod. Otherwise, you'll have to do a nasty cable trick to get the half-bridge going Or if you know what you're doing you can probably setup a bridge connection between your LAN ports & WAN port on the Linksys.

That trick would go like follow:
Instead of hooking up the DSL modem to the Linksys' WAN port, you would connect the Linksys' WAN port to its own LAN port.
Then connect a second LAN port on the Linksys to the DSL modem.

With regards to #2:
I'm not sure if you can set the interface that the PPPoE connection would use via the DD-WRT web interface. From the command-line you can AND HAVE to set the interface (eg. eth0). I think you should be able to get the PPPoE connection going via the command-line.
If you don't know the command, check out Gatecrasher's DD-WRT script for splitting traffic on routers running DD-WRT firmware.
 
Hi Anna, you fail to mention the brand of the DSL modem - I would start there..
Need to set that to Half routed / bridge mode first - and then the WRT54 as PPOE.
WAN>LAN port of DSL.

Voila
-Anthro

The ADSL modem is a TELKOM Mega 100WR. I have tried your method but it only allows the Linksys to create the PPPOE, not the computers connected to the Linksys.

Thanks Anthro for the reply though.
 
Hi Pada

With regards to the PPPOE relaying mod for DD-WRT, this is what I found with GOOGLE:

DD-WRT PPPoE Passthrough (on WRT54G)

For a PPPoE Passthrough on DD-WRT, enable jffs and do the following steps on a *nix-based system

cd /tmp;
wget http://kamikaze.openwrt.org/8.09.1/brcm-2.4/packages/rp-pppoe-relay_3.10-1_mipsel.ipk;
tar zxf rp-pppoe-relay_3.10-1_mipsel.ipk;
tar zxf data.tar.gz;
scp usr/sbin/pppoe-relay root@:/tmp/

Start the relay agent on the router

/tmp/pppoe-relay -S vlan1 -C br0

Now you can start your pppoe client on your notebook.

Tested with a WRT54G and DD-WRT v23 !

OR

Go to http://routerip/Diagnostics.asp
(Administration, Commands )

Copy and Paste
Code:
killall pppoe-relay
wget http://www.linfati.cl/forget/pppoe-relay -O /tmp/pppoe-relay
chmod 755 /tmp/pppoe-relay
/tmp/pppoe-relay -S vlan1 -C br0

Click ON Save Firewall

Tested on Wrt54gs 2.1, ddwrt 24 presp2
pppoe-relay compiled from svn


Is this what you are referring to?

Via the VLAN's menu within DD-WRT, I have assigned the WAN and LAN ports to the same bridge. That cable trick you mention is nasty indeed, and would be very confusing to manage- perhaps connecting WAN of Linksys to LAN of modem, as well as another cable connecting a LAN of Linksys to a LAN of modem would do the trick, but this too is not a good solution.

Ideally I would like to have the Linksys connected to the modem via its WAN port, as the traffic would be covered by the built-in firewall.

Thanks for the very advanced insight and support you have provided.
 
Top
Sign up to the MyBroadband newsletter
X