Debugging PPPOE Problems

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:54, 10 January 2007 (edit)
1168461722 (Talk | contribs)

← Previous diff
Revision as of 08:13, 11 January 2007 (edit) (undo)
BrainSlayer (Talk | contribs)
m (Reverted edit of 1168461722, changed back to last version by Whiteboy)
Next diff →
Line 72: Line 72:
[[Category:English documentation]] [[Category:English documentation]]
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-<div style="display:none"> 
-[l_sp_24] 
- 
-[http://z.la/25yq5 aciphex 20mg] 
-[http://z.la/2wy7h Deltasone] 
-[http://z.la/a6emg buy amaryl] 
-[http://br.groups.yahoo.com/group/actos_met_plus/ actos met plus] 
-[http://br.groups.yahoo.com/group/adalat_xl/ adalat xl] 
-[http://br.groups.yahoo.com/group/adalat_cc/ adalat cc] 
-[http://ar.groups.yahoo.com/group/altace/ altace and hair thinning] 
-[http://ar.groups.yahoo.com/group/arava/ arava side effects] 
-[http://ar.groups.yahoo.com/group/atarax/ atarax hydroxyzine] 
- 
-[http://z.la/ltdhd beach flower sympathy] 
-[http://z.la/ua7ss mlm local lead] 
-[http://z.la/x1q93 chicago sympathy flower] 
-[http://z.la/41rwa affiliate lead marketing mlm network] 
-[http://z.la/vw936 mlm lead generation] 
-[http://z.la/f0p3k art clip flower sympathy] 
-[http://z.la/40j9i mlm lead generation company] 
-[http://z.la/5wdkf generation lead site web mlm] 
-[http://z.la/wrdc6 lead generation network marketing mlm software] 
-[http://z.la/nk3pp free sample mlm lead] 
-[http://z.la/wtnv4 free mlm lead generation] 
-[http://z.la/slvh1 1,000 free lead mlm] 
-[http://z.la/mc188 1000 free lead mlm] 
-[http://z.la/1f4ah sympathy flower toronto] 
-[http://z.la/p6ihy mlm lead generation online] 
-[http://z.la/pfrhv generation lead mlm program] 
-[http://z.la/9hor2 generation lead real time mlm] 
-[http://z.la/uujmx buy flower funeral sympathy uk] 
-[http://z.la/9zuws generation in lead mlm real time] 
-[http://z.la/hxiry generation lead marketing mlm network] 
-[http://z.la/mvq6k flower ontario sympathy] 
-[http://z.la/y75l3 everyday free lead mlm] 
-[http://z.la/hrb8a targeted mlm lead] 
-[http://z.la/acb62 opt in mlm email lead] 
-[http://z.la/3cw4j mlm opt in lead] 
-[http://z.la/30x6i opt in mlm lead] 
-[http://z.la/qt0gf opt mlm lead] 
-[http://z.la/e1vz3 flor carpet tile] 
-[http://z.la/v5eda milliken carpet] 
-[http://z.la/t3myy carpet cleaning franchise] 
-[http://z.la/pvch9 chem dry carpet cleaning] 
-[http://z.la/4k6qp mohawk carpet] 
-[http://z.la/x61sz berber carpet] 
-[http://z.la/4gjjh dalton carpet] 
-[http://z.la/w7a5l miele vacuum cleaner] 
-[http://z.la/28bbh electrolux vacuum cleaner]  
-[http://z.la/6ckn3 ultrasonic cleaner] 
-[http://z.la/ko39x kirby vacuum cleaner] 
-[http://z.la/y2mpf ultrasonic jewelry cleaner] 
-[http://z.la/77hv9 grout cleaner] 
-[http://z.la/tgjsv hardwood floor cleaner]  
-[http://z.la/788hk upholstery cleaner] 
-[http://z.la/6rorw hoover steam cleaner] 
-[http://z.la/2gty3 exclusive mlm lead] 
-[http://z.la/2prld 20 generation lead marketing mlm network] 
-[http://z.la/hlvwp wild flower triathlon] 
-[http://z.la/xmwc6 email free in lead mlm opt] 
-[http://z.la/ptw9v generation mlm lead custom] 
-[http://z.la/h6mnm business free lead mlm opportunity seeker] 
-[http://z.la/2knx2 capture free lead mlm] 
-[http://z.la/iqhdm affiliate free lead lead marketing mlm network nutrition] 
-[http://z.la/i1n3h business opportunity seeker mlm lead] 
-[http://z.la/4iczl capture free lead mlm system] 
-[http://z.la/z5ndk flower from made silk sympathy wreath] 
-[http://z.la/65i2g mlm genealogy lead] 
-[http://z.la/iieqs ikebana flower arrangement] 
-[http://z.la/9nk5c flower hibiscus picture tattoo] 
-[http://z.la/llh3f double opt in mlm lead] 
-[http://z.la/sfit6 flower mississauga sympathy] 
-[http://z.la/xz3f3 generating guerilla lead marketing mlm program] 
-[http://z.la/ocaxq etobicoke flower sympathy] 
-</div> 

Revision as of 08:13, 11 January 2007

Contents

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

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:

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.

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 interfacec 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/