OVH Cloud OVH Cloud

pb de reconnection adsl wanadoo

1 réponse
Avatar
Seb
Bonjour,
Je suis sous Debian GNU/Linux 3.0r1 et j'ai un problème pour me reconnecter
automatiquement toutes les 24h quand Wanadoo coupe la connexion : la
première fois ça reconnecte, et à la deuxième déconnexion plus rien, pppd
se termine et je dois le relancer à la main ! et je n'ai rien de
particulier dans le /var/log/messages.
J'utilise un modem Sagem fast800 avec les pilotes officiels et PPPoE, mais
je ne pense pas que le problème vienne de là.
Merci d'avance !
Voici le contenu de mon /etc/ppp/peers/dsl-provider (je n'ai pas touché au
/etc/ppp/options, c'est celui installé par défaut)

# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.

##
# Section 1
#
# Stuff to configure...

# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the
password.)
user fti/xxxxxxx@fti

# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
pty "/usr/sbin/pppoe -I ADIModem -T 80 -m 1452"

# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"

# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"


# The following two options should work fine for most DSL users.

# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Comment out if you already have the correct default route installed
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
holdoff 90
mtu 1492


--
Enlever ".nosp4m", "x" et "n0sp4m-" pour l'e-mail
Chat par Infrarouge sur votre calculette graphique http://irchat.free.fr/

1 réponse

Avatar
Seb
Seb a écrit:

je n'ai
rien de particulier dans le /var/log/messages.


Rectification (désolé, je n'avais pas fait attention :-S)

Reconnexion réussie :
Sep 22 17:42:30 subserver pppd[4358]: LCP terminated by peer
Sep 22 17:42:30 subserver pppd[4358]: Modem hangup
Sep 22 17:42:30 subserver pppd[4358]: Connection terminated.
Sep 22 17:42:30 subserver pppd[4358]: Connect time 1440.1 minutes.
Sep 22 17:42:30 subserver pppd[4358]: Sent 311694490 bytes, received
426906099 bytes.
Sep 22 17:44:01 subserver pppd[4358]: Serial connection established.
Sep 22 17:44:01 subserver pppd[4358]: Using interface ppp0
Sep 22 17:44:01 subserver pppd[4358]: Connect: ppp0 <--> /dev/pts/0
Sep 22 17:44:05 subserver pppd[4358]: kernel does not support PPP filtering
Sep 22 17:44:05 subserver pppd[4358]: local IP address 81.53.221.9
Sep 22 17:44:05 subserver pppd[4358]: remote IP address 193.253.160.3

Reconnexion ratée :
Sep 21 14:21:27 subserver pppd[373]: LCP terminated by peer
Sep 21 14:21:27 subserver pppd[373]: tcflush failed: Input/output error
Sep 21 14:21:27 subserver pppd[373]: Exit.

Après recherches sur Google à propos du "tcflush failed", j'ai ajouté
l'option maxfail 0 mais ça n'a rien changé...

--
Enlever ".nosp4m", "x" et "n0sp4m-" pour l'e-mail
Chat par Infrarouge sur votre calculette graphique http://irchat.free.fr/