Bug 117850 - Configure auto-reconnect for DSL
Summary: Configure auto-reconnect for DSL
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 1
Hardware: Other All
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 18:58 UTC by Juergen Mell
Modified: 2006-02-13 10:02 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
modified t-online provider script from /etc/sysconfig/network/providers (537 bytes, text/plain)
2005-09-20 19:55 UTC, Juergen Mell
Details
Patch for ifup-ppp (905 bytes, patch)
2005-09-20 20:01 UTC, Juergen Mell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.