Bug 117850

Summary: Configure auto-reconnect for DSL
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Juergen Mell <juergen.mell>
Component: NetworkAssignee: Christian Zoz <zoz>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: modified t-online provider script from /etc/sysconfig/network/providers
Patch for ifup-ppp

Description Juergen Mell 2005-09-19 18:58:33 UTC
It would *very* nice to have the possibilty to configure an auto-reconnect for
DSL devices. As most DSL connections in Germany are terminated after 24 hours a
reconnect without manual intervention is mandatory for server applications. The
necessary parameters for SMPPPD are available (AUTO_RECONNECT,
AUTO_RECONNECT_DELAY, AUTO_RECONNECT_EXITS) although I could not find any
documentation. The only missing thing is a feature to prevent shutting down of
the interface in /etc/sysconfig/network/scripts/ifup-ppp.
Comment 1 Arvin Schnell 2005-09-20 13:11:46 UTC
The auto-reconnect feature of smpppd is not exactly what you are looking
for since it does not try to keep the connection up (by keeping it busy).

I have proposed a 24h modus like every good DSL router has by now some
time ago as a usecase.
Comment 2 Juergen Mell 2005-09-20 19:55:54 UTC
Created attachment 50470 [details]
modified t-online provider script from /etc/sysconfig/network/providers

With this modified file from the providers directory and a little patch to the
ipup-ppp script (cf. next attachment) it works as it should: It is not
necessary to generate traffic as long as you have a standard DSL modem and not
a router (which may have an auto-reconnect feature). The DSL connection will
stay up as long as you tell YaST not to terminate it. After the connection is
shut down from T-COM's side the smpppd will restart the connection after 5
seconds.
Our company is using this on a SUSE 9.2 system for our mail and web services. I
believe some other small companies like ours will use a cheap DSL connection
from T-COM and might be interested in such a solution but not everyone wants to
dig into smpppd's source to find the necessary parameters. So it would be nice
if YaST could do that for them.
Comment 3 Juergen Mell 2005-09-20 20:01:21 UTC
Created attachment 50471 [details]
Patch for ifup-ppp

This patch will prevent the shutting down of the DSL interface, as it
interferes with the reconnection feature in smpppd. It will have side  effects
which should be ironed out before this is let out to the public. It works
correctly only if the DSL connection is the only interface handled by ifup-ppp
and it will clash with stopping the interface by means of kinternet /
cinternet.
Comment 4 Christian Zoz 2006-02-13 10:02:16 UTC
This pacth needs quite some work. It is not so simple.

I added this as feature 300482. So it will not get lost.