![](https://seccdn.libravatar.org/avatar/1a6c29ce1b0d6ecb5ebe741642119874.jpg?s=120&d=mm&r=g)
Thanks for all answers. After reading your posts, the section "More Advanced PPP Configurations" in "Linux Network Administrators Guide" (see http://www.tldp.org/LDP/nag2/x7297.html) and the manual page of pppd(8), I think that I need the following pppd options maxfail 0 persist holdoff 3 "persist" should do what I want from ppp(8) persist Do not exit after a connection is terminated; instead try to reopen the connection. The maxfail option still has an effect on persistent connections. "demand" and "idle" options are probably counterproductive, if I want an "always on" PPP connection. Unfortunately I do not know how to configure my DSL Internet connection with YaST or directly with a configuration file /etc/sysconfig/network/providers/provider* so that "pppd" starts with my options and not with the "demand" option. Probably this is a missing function in openSUSE's network setup tools. Until now, I haven't tested my options. Thanks also for the "ping" and "DHCP" hints. I think, it's OK to ping a private IP address which is not part of my LAN, but routing thinks, that the address can be reached with default route. With something like "ping 10.1.2.3" (if 10.0.0.0/8 is not part of my network) the PPP connection comes up and my provider drops the useless ICMP packets. By the way, "pppd" can easily detect broken connections. The detection is done with PPP echo-requests. A broken connection looks like this in /var/log/messages: 2015-01-08T23:12:01.312736+01:00 mybox pppd[2143]: No response to 4 echo-requests 2015-01-08T23:12:01.313875+01:00 mybox pppd[2143]: Serial link appears to be disconnected. 2015-01-08T23:12:01.331279+01:00 mybox pppd[2143]: Connect time 112.6 minutes. 2015-01-08T23:12:01.332208+01:00 mybox pppd[2143]: Sent 31680069 bytes, received 958993900 bytes. 2015-01-08T23:12:05.468567+01:00 mybox pppd[2143]: Connection terminated. 2015-01-08T23:12:05.492789+01:00 mybox pppd[2143]: Sent PADT 2015-01-08T23:12:06.483599+01:00 mybox pppd[2143]: Script /etc/ppp/ip-down finished (pid 23628), status = 0x0 2015-01-08T23:12:46.107025+01:00 mybox pppd[2143]: Starting link 2015-01-08T23:13:21.162423+01:00 mybox pppd[2143]: Timeout waiting for PADO packets 2015-01-08T23:13:21.163602+01:00 mybox pppd[2143]: Unable to complete PPPoE Discovery Greetings, Björn Carlos E. R. wrote:
On 2015-01-09 14:12, James Knott wrote:
Is there a recommended way to start DSL without any network request, so that it's nearly always on? In openSUSE documentation I only found two alternatives: always-on and manually. Both are not ideal. (I know, that the provider breaks the connection every 24 hours. The router should reconnect then.) It sounds like you will have to generate traffic occasionally. If the ISP is killing the connection, there's nothing else that will work. I'd say a ping every hour or so should do the trick. That won't cost much
On 01/09/2015 08:01 AM, Bjoern Voigt wrote: performance. It should be possible to configure the network for always on, and reconnect automatically when it does, instantly. Routers do.
Maybe IDLETIME 0 or -1, just a very wild guess.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org