hugo a �crit, Le 14.06.2004 15:43 :
Jean-Luc Coulon (f5ibh) a dit :
Une liaison ppp par r�seau commut� est assez bavarde dans les logs.
Qu'avez-vous dans les logs ?
Rien d'int�ressant, je pense : la connexion s'�tablit correctement,
/var/log/messages m'affiche ensuite l'IP locale, l'IP distante et l'IP du
DNS.
Tout �a � l'air correct.
Peux-tu afficher <http://64.233.161.104> (Une adresse Google), si oui
c'est un probl�me de DNS.
Non, rien.
Pour �tre pr�cis, la connexion fonctionne souvent au d�marrage de la
machine (apr�s une extinction d'une trentaine de minutes mini), mais pas
pour tr�s longtemps (4-5 minutes en g�n�ral, quand tout va bien...).
Ce qui me rassure (et m'�nerve), c'est qu'en installant une nouvelle
fois la SID, la connexion est impecc (le m�me modem sur la m�me prise
tel, avec le m�me c�ble et le m�me port s�rie m'a t�l�charg� 70 MO cette
nuit sans aucun probl�me (je rappelle que je suis en RTC...).
Le probl�me vient donc bien de l'OS (et de sa config, notamment).
Peut-�tre faudrait-il que tu rajoute du logging, en mettant l'option
debug sur une ligne du /etc/ppp/options et que tu demande � logguer �a
La connexion est OK... Et le mode debug y est d�j� :
kernel: CSLIP: code copyright 1989 Regents of the University of California
kernel: PPP generic driver version 2.4.2
pppd[1813]: pppd 2.4.2 started by arnaud, uid 1000
chat[1814]: abort on (BUSY)
chat[1814]: abort on (NO CARRIER)
chat[1814]: abort on (VOICE)
chat[1814]: abort on (NO DIALTONE)
chat[1814]: abort on (NO DIAL TONE)
chat[1814]: abort on (NO ANSWER)
chat[1814]: abort on (DELAYED)
chat[1814]: send (ATZ^M)
chat[1814]: expect (OK)
pppd[1838]: pppd 2.4.2 started by arnaud, uid 1000
pppd[1838]: Removed stale lock on ttyS14 (pid 1813)
chat[1839]: abort on (BUSY)
chat[1839]: abort on (NO CARRIER)
chat[1839]: abort on (VOICE)
chat[1839]: abort on (NO DIALTONE)
chat[1839]: abort on (NO DIAL TONE)
chat[1839]: abort on (NO ANSWER)
chat[1839]: abort on (DELAYED)
chat[1839]: send (ATZ^M)
chat[1839]: expect (OK)
chat[1839]: ATZ^M^M
chat[1839]: OK
chat[1839]: -- got it
chat[1839]: send (ATL0M0DT0860165557^M)
chat[1839]: expect (CONNECT)
chat[1839]: ^M
chat[1839]: ATL0M0DT0860165557^M^M
chat[1839]: CONNECT
chat[1839]: -- got it
chat[1839]: send (\d)
pppd[1838]: Serial connection established.
pppd[1838]: Using interface ppp0
pppd[1838]: Connect: ppp0 <--> /dev/ttyS14
pppd[1838]: PAP authentication succeeded
kernel: PPP BSD Compression module registered
kernel: PPP Deflate Compression module registered
pppd[1838]: local IP address 213.36.4.43
pppd[1838]: remote IP address 213.36.82.198
pppd[1838]: primary DNS address 213.36.80.1
pppd[1971]: pppd 2.4.2 started by arnaud, uid 1000
pppd[1971]: Removed stale lock on ttyS14 (pid 1838)
chat[1972]: abort on (BUSY)
chat[1972]: abort on (NO CARRIER)
chat[1972]: abort on (VOICE)
chat[1972]: abort on (NO DIALTONE)
chat[1972]: abort on (NO DIAL TONE)
chat[1972]: abort on (NO ANSWER)
chat[1972]: abort on (DELAYED)
chat[1972]: send (ATZ^M)
chat[1972]: expect (OK)
chat[1972]: ATZ^M^M
chat[1972]: OK
chat[1972]: -- got it
chat[1972]: send (ATL0M0DT0860165557^M)
chat[1972]: expect (CONNECT)
chat[1972]: ^M
chat[1972]: ATL0M0DT0860165557^M^M
chat[1972]: CONNECT
chat[1972]: -- got it
chat[1972]: send (\d)
pppd[1971]: Serial connection established.
pppd[1971]: Using interface ppp0
pppd[1971]: Connect: ppp0 <--> /dev/ttyS14
pppd[1971]: PAP authentication succeeded
pppd[1971]: local IP address 213.36.5.29
pppd[1971]: remote IP address 213.36.82.198
pppd[1971]: primary DNS address 213.36.80.1
pppd[1971]: No response to 4 echo-requests
pppd[1971]: Serial link appears to be disconnected.
pppd[1971]: Connection terminated.
pppd[1971]: Connect time 2.6 minutes.
pppd[1971]: Sent 1579 bytes, received 64 bytes.
Alors l�, il y a les echo-requests qui coupent la connexion, mais sinon,
elle peut durer des heures sans aucun trafic possible...
J'esp�re que je vais r�ussir � envoyer ce message de ma machine...
--
La citation du jour :
L'alcool est un ennemi... Fuir l'ennemi, c'est l�che !
:::::::::::::::::::::::::::::: Arnaud ::::