Debugging PPPOE Problems

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:18, 1 July 2007 (edit)
IgjZp3 (Talk | contribs)

← Previous diff
Current revision (13:39, 30 April 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
-[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 free wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 cheap xanax] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 cheap hydrocodone] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 buy didrex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 free real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 diazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 rivotril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 ativan online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 free sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 free verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 free sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 cheap ortho] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 wellbutrin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 cheap nexium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 free tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 free qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 celexa online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 free ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 free midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 cheap tenuate] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 cheap levitra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 cheap adipex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 free punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 albuterol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 alprazolam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 tramadol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 order ambien] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 free funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 hgh online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cheap cialis] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 but flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 online norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 ultracet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 clonazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 pharmacy online online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cheap cyclobenzaprine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 ultram online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 cheap xenical] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 cheap zyban] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 free mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 buy lorazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 cheap lipitor] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 cheap prozac] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 free music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 hoodia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 online vigrx] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 diethylpropion online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 vicodin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 free mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 free alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 cheap sildenafil] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 cheap clomid] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 free cingular ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic+== Debugging PPPoE Problems ==
 +'''[[Glossary#Point-to-Point Protocol over Ethernet (PPPoE)|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 ===
 +After connecting 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.
 + 
 +=== Enable Diagnostic Output ===
 +To debug problems regarding PPPoE
 +you have to login to the router to get access to a console for entering commands.
 + 
 +Use ''telnet'' or ''ssh'' to login to the router.
 +Then enable ''syslog'' on the shell prompt:
 +<pre>
 +syslogd -O $(tty)
 +</pre>
 +This will print
 +<pre>
 + Jan 1 00:00:35 syslog.info syslogd started: Now DD-WRT VeryBusyBox v1.01 (2006.02.22-10:40 0000)
 +</pre>
 +or something to this effect. From now on you'll see all syslog output on the
 +login window.
 + 
 +=== Uplink ===
 +To check the DSL connection we use the command line version of [http://www.roaringpenguin.com/products/pppoe rp-pppoe] that
 +comes with DD-WRT.
 + 
 +'''Important''': Enable the DSL connection in your WRT54G's setup otherwise the network interfaces are not set up properly for this test.
 + 
 +Kill all running PPPoE clients
 +<pre>
 +kill $(ps | grep pppoe)
 +</pre>
 + 
 + 
 +Now try to get the name of your DSL peer:
 +<pre>
 +pppoe -I vlan1 -D$(tty) -A
 + | | |
 + | | -- Find Access Concentrator
 + | ---------- Output Debug Messages
 + ------------------- Set Network Interface
 +</pre>
 + 
 +This should print some network packets and
 +the name of your DSL ''access concentrator''.
 + 
 +If this works out, try to initiate the discovery procedure:
 +<pre>
 +pppoe -I vlan1 -D$(tty) -d
 +</pre>
 +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:
 +* <tt>Timeout waiting for PADO packets.</tt>
 +* <tt>Timeout waiting for PADS packets.</tt>
 + 
 +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/
 + 
 + 
 +[[Category:PPPOE]]

Current revision

Contents

[edit] 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.

[edit] Cabling

After connecting 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.

[edit] Enable Diagnostic Output

To debug problems regarding PPPoE you have to login to the router to get access to a console for entering commands.

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

syslogd -O $(tty)

This will print

 Jan  1 00:00:35  syslog.info syslogd started: Now DD-WRT VeryBusyBox v1.01 (2006.02.22-10:40 0000)

or something to this effect. From now on you'll see all syslog output on the login window.

[edit] Uplink

To check the DSL connection we use the command line version of rp-pppoe that comes with DD-WRT.

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

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/