ADSL in SuSE 7.0 or Later Version, Dial on Demand

Support knowledgebase (hoe_adsl_dod)
Applies to

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

Situation:

You want to automate the process of setting up an ADSL connection to the Internet instead of having to do it manually every time.

From SuSE Linux 7.0 on, you can install a dial-on-demand connection for ADSL.
This means that the connection will be established automatically as soon as a user sends a request to the Internet. After a preset time during which the connection remains unused (idletime), it will disconnect automatically.
Since the dial-in with PPPoE, the protocol for ADSL, is very fast, you could almost think that you have a dedicated line to the Internet.

However, this only makes real sense if you have the so-called flat rate. If your Internet access is billed on a time basis, you have to make sure that no periodical process (e.g. cronjob) establishes a connection over and over again, since this might become very expensive.

Note for SuSE 7.1 users

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

Procedure:

This new feature cannot be configured with YaST yet and must be manually installed.

Configuration step by step:

From now on, a connection to the Internet will be established whenever an IP address not accessible within the local domain is requested. That is, every IP address that is to be routed through a standard gateway will trigger a connection setup. Test it with:
ping -c5 213.95.15.200
and
ping -c5 www.suse.de

Tips:

If it does not work at once, it is quite possible that a default route (standard gateway) is already set before the access to the Internet. In this case execute:
route -n
The line for the standard gateway (column Gateway) starts with 0.0.0.0.
If a default gateway is set here, repeat the network configuration as described in the articles --> hoe_adsl_arcor.html of --> hoe_adsl_pppoe.html.

Furthermore, a DNS entry (name server) should be available. Check it with:

cat /etc/resolv.conf
The output must include a line beginning with:
nameserver

If this line is missing, repeat the network configuration as described in the articles --> hoe_adsl_arcor.html or --> hoe_adsl_pppoe.html.

If there are any problems please contact our installation support.
Please find here some hints regarding the information your support request should contain, so that we can help you in a faster and more effective way --> hoe_adsl_isupp.html

You can also try to make a diagnosis of the problem by yourself. For this purpose, please refer to the article --> hoe_adsl_diag.html


See also:
o ADSL with Linux and PPP over Ethernet(PPPoE)
o ADSL since SuSE 7.1, configuration
o ADSL from SuSE 7.0, Diagnosis
o T-DSL and ADSL with SuSE Linux 7.1 and kernel 2.4

Keywords: TDSL, XDSL, ADSL, PPP_OVER_ETHERNET, PPPOE, TISDNDSL, DIALONDEMAND, DEMAND, DIAL-ON-DEMA ND, DOD, AUTOMATIC

Categories: Network

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