DD-WRT and PPPOA BT ADSL using a ST510 v6
This is something I did a while ago, but I thought I should write it up properly.
DD-WRT does not support PPPoA ADSL.
For my old PPPOE ADSL internet connection I had a WRT610n v2 running DD-WRT and a separate simple ADSL2+ modem (ST510 v6) which I have running in bridged mode to avoid double NAT. This worked great as DD-WRT supports PPPOE, however I moved house and had to set up a new connection with British Telecom who use PPPOA.
Phoning BT tech support was as pointless as I thought it would be. DD-WRT does not appear on their scripted responses and they all think that the BT Home Hub is the best thing since boobs despite the fact that it is quite clearly crap – a single gigabit ethernet port! Really? WTF?
Basically I had to set up the st510 v6 modem into half bridging mode. From what I understand of it, this involves getting the modem to handle the PPPoA connection, then enabling PPTP on it for the DD-WRT router to be able to connect to it and supply the credentials.
To configure the modem:
- Use the standard wizard in the web interface and choose any configuration you like (I picked a PPPoA template) but make sure that you choose a VPI/VCI that is NOT 0.38. Complete the wizard and let the thing settle.
- Use the web interface to configure the modem how you like. Things you probably want to do include:
- Disabling the firewall (the DD-WRT router has a better one)
- Setting the password to something decent
- Turning off DHCP (again we’ll let DD-WRT handle that)
- Simplifying the network interfaces. My modem defaults to have an IP of 10.0.0.138 which is fine, but it also creates a vlan in the 192.168.1.x range. I removed this. N.B this is why you have to assign your local IP statically for this part.
- Restart the modem just to help it settle.
- Telnet into the modem (Google it if you’re not sure what telnet is)
- Issue the following commands:
(You can ignore any messages about things being in use and unable to be deleted)
ppp relay flush eth flush atm flush ppp flush atm phonebook flush saveall atm phonebook add name=BrPPPoA_ph addr=0.38 service system modify name=PPTP state=enabled saveall exit
- Use the modem’s web interface to restart the modem.
- Hook the modem up to the wan port of the DD-WRT modem and log into DD-WRT.
- In the wan settings of DD-WRT use settings like mine:
(Don’t worry about the subnet mask and gateway, they will set itself when your connection is established).
That’s it! Good luck 🙂
Originally posted on the BT forums here: http://community.bt.com/t5/BB-Speed-Connection-Issues/Alternative-Modem-Router-using-DD-WRT/td-p/295165