Debugging PPPOE Problems

From DD-WRT Wiki

Revision as of 20:52, 28 February 2006 by 84.166.179.42 (Talk)
Jump to: navigation, search

Debugging PPPOE Problems

PPPOE is used mainly for handling connections via Digital Subscriber Lines (DSL). Remember: The WRT54G / WRT54GS doesn't have an integrated DSL modem, so you need an external one.

Cabling

To debug problems regarding PPPOE, connect the WRT54G(S) router to the DSL modem on the port labeled Internet. Make sure that the Internet LED at the front panel is lit. If not, check cabling.

Reboot your DSL modem after you connected the router to it.

Uplink

To check the DSL connection we use the command line version of rp-pppoe that comes with DD-WRT. Thus you have to login to the router to get access to a console for entering commands.

Important: Enable the DSL connection in your WRT54G's setup menues otherwise the network interfacec are not set up properly for this test.

Use telnet or ssh to login. Then, enable syslog on the shell prompt:

syslogd -O $(tty)

This should give you at least one line of output saying that syslog is now enabled.


Kill all running PPPOE clients

kill $(ps | grep pppoe)


Now try to get the name of your DSL peer:

pppoe -I vlan1 -D$(tty) -A
       |        |       |
       |        |       +-- Find Access Concentrator
       |        +---------- Output Debug Messages
       +------------------- Set Network Interface

This should print some network packets and the name of your DSL access concentrator.

If this works out, try to initiate the discovery procedure:

pppoe -I vlan1 -D$(tty) -d

Apart from a bunch of network packets representing the dialogue between the WRT54G and the peer, the last line should display a session number and the hardware address of your peer (separated by colons).

If your uplink does not work properly or your DSL modem does not work correctly, these commands may fail with one of the following messages:

  • Timeout waiting for PADO packets.
  • Timeout waiting for PADS packets.

In this case, ... more help to come... have to sort out first!

There is a German page where you can find more information: http://www.adsl4linux.de/howtos/