ADSL from SuSE 7.0, Diagnosis

Support knowledgebase (hoe_adsl_diag)
Applies to

SuSE Linux: Versions since 7.0
Kernel: Version 2.2.x

Situation:

Your ADSL connection does not work and you would like to analyze the problem.

Note for SuSE 7.1 users

These instructions only apply to 2.2.x series kernels. In case you use a 2.4 series kernel, please read --> jsmeix_adsl-71-kernel24.html.

Procedure:

  1. The command ifconfig informs you whether the Ethernet adapter is ready. The output must contain the sections lo and eth0.
    If this is not the case, the network configuration must be repeated.

  2. Before you start, the output of route -n should only contain the value 0.0.0.0 in the column Gateway.
    If a default gateway is set here, the error is usually caused by one of the following situations:

    Alternatively, the default gateway problem can be circumvented by entering the option

    replacedefaultroute
    
    in the file /etc/ppp/peers/pppoe.

  3. Start pppoed with the debug option:
    pppoed -C pppoe -D -d 9

  4. When a connection is established, pppoed sends messages to the terminal window and writes them to the syslog file (/var/log/messages).

  5. pppd only sends its messages to the syslog file.
    Start
    tail -f /var/log/messages before you establish a connection, in order to view the messages in the syslog file. The following stages should be achieved:
    1. Dec 24 00:00:00 Earth pppd[11205]: pppd 2.3.10 started by hoe, uid 0
      => our pppd started
    2. Dec 24 00:00:00 Earth pppd[11205]: sent [LCP ConfReq id=0x1 ]
      => our pppd sends packets
    3. Dec 24 00:00:00 Earth pppd[11205]: rcvd [LCP ConfReq id=0x1 ]
      => the other side sends packets
    4. Dec 24 00:00:00 Earth pppd[11205]: rcvd [IPCP ConfAck id=0x1 ]
      => the authentication was successful
    5. Dec 24 00:00:00 Earth pppd[11205]: local IP address 192.168.1.1
      => the IP addresses were assigned dynamically
    6. Dec 24 00:00:00 Earth pppd[999]: Script /etc/ppp/ip-up started (pid1010)

  6. By now, pppd should have appended a gateway entry to the routing table. You can check this with route -n.

  7. If your provider supports dynamic IP assignment, the file /etc/resolv.conf should contain valid name server entries.
    Example:
    nameserver 194.25.2.129 (for T-Online in Germany; replace with your provider's name server)

  8. Test your access with
    ping -c10 213.95.15.204
    and subsequently
    ping -c10 www.suse.de
    If this works, you are connected to the Internet.

If you should experience problems with the configuration, there are additional analysis and troubleshooting methods you can make use of: See also:
o ADSL with Linux and PPP over Ethernet(PPPoE)
o T-DSL and ADSL with SuSE Linux 7.1 and kernel 2.4

Keywords: TDSL, XDSL, ADSL, PPP_OVER_ETHERNET, PPPOE, TISDNDSL, KINTERNET

Categories: Network

SDB-hoe_adsl_diag, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 13. Feb 2002
SuSE Linux AG - Last generated: 15. Feb 2002 by ip (sdb_gen 1.40.0)