Bonjour,
ma connexion avec mon FAI a tendance à “tomber” de temps en temps et mon modem
n’a pas de fonction pour la rétablir automatiquement donc je souhaite le passer en mode bridge et établir la connection depuis un PC.
D’après les logs, la connexion s’établit.
Je peux pinguer la “passerelle” de mon FAI mais rien d’autre
La résolution de nom ne fonctionne pas.
N’ayant jamais utilisé ppp auparavant, je loupe probablement une évidence …
Le fichier de conf de ppp et quelques logs :
default:
set log Phase Chat LCP IPCP CCP tun command
pppoe:
set device "!/usr/sbin/pppoe -i msk0"
set mtu max 1492
set mru max 1492
set speed sync
disable acfcomp protocomp
deny acfcomp
set authname "numero@FAI"
set authkey "secret"
enable dns # avec ou sans ça ne change pas mon problème
tun0 est une interface virtuelle, msk0 une interface ethernet.
Phase: Using interface: tun0
Phase: deflink: Created in closed state
tun0: Command: pppoe: set device !/usr/sbin/pppoe -i msk0
tun0: Command: pppoe: set mtu max 1492
tun0: Command: pppoe: set mru max 1492
tun0: Command: pppoe: set speed sync
tun0: Command: pppoe: disable acfcomp protocomp
tun0: Command: pppoe: deny acfcomp
tun0: Command: pppoe: set authname numero@FAI
tun0: Command: pppoe: set authkey ********
tun0: Phase: PPP Started (ddial mode).
tun0: Phase: bundle: Establish
tun0: Phase: deflink: closed -> opening
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening -> dial
tun0: Phase: deflink: dial -> carrier
tun0: Phase: deflink: carrier -> login
tun0: Phase: deflink: login -> lcp
tun0: LCP: FSM: Using "deflink" as a transport
tun0: LCP: deflink: State change Initial --> Closed
tun0: LCP: deflink: State change Closed --> Stopped
tun0: LCP: deflink: RecvConfigReq(0) state = Stopped
tun0: LCP: MRU[4] 1492
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: MAGICNUM[6] 0xc4c99aaf
tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
tun0: LCP: deflink: SendConfigReq(1) state = Stopped
tun0: LCP: MRU[4] 1492
tun0: LCP: MAGICNUM[6] 0x29d34d12
tun0: LCP: deflink: SendConfigAck(0) state = Stopped
tun0: LCP: MRU[4] 1492
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: MAGICNUM[6] 0xc4c99aaf
tun0: LCP: deflink: LayerStart
tun0: LCP: deflink: State change Stopped --> Ack-Sent
tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
tun0: LCP: MRU[4] 1492
tun0: LCP: MAGICNUM[6] 0x29d34d12
tun0: LCP: deflink: State change Ack-Sent --> Opened
tun0: LCP: deflink: LayerUp
tun0: Phase: bundle: Authenticate
tun0: Phase: deflink: his = CHAP 0x05, mine = none
tun0: Phase: Chap Input: CHALLENGE (16 bytes)
tun0: Phase: Chap Output: RESPONSE (numero@FAI)
tun0: LCP: deflink: RecvConfigReq(171) state = Opened
tun0: LCP: deflink: LayerDown
tun0: LCP: MRU[4] 1492
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: MAGICNUM[6] 0xc4c99aaf
tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
tun0: LCP: deflink: SendConfigReq(2) state = Opened
tun0: LCP: MRU[4] 1492
tun0: LCP: MAGICNUM[6] 0x2bae9e81
tun0: LCP: deflink: SendConfigAck(171) state = Opened
tun0: LCP: MRU[4] 1492
tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
tun0: LCP: MAGICNUM[6] 0xc4c99aaf
tun0: LCP: deflink: State change Opened --> Ack-Sent
tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
tun0: LCP: MRU[4] 1492
tun0: LCP: MAGICNUM[6] 0x2bae9e81
tun0: LCP: deflink: State change Ack-Sent --> Opened
tun0: LCP: deflink: LayerUp
tun0: Phase: deflink: his = CHAP 0x05, mine = none
tun0: Phase: Chap Input: CHALLENGE (16 bytes from SE800-MIT-2)
tun0: Phase: Chap Output: RESPONSE (numero@FAI)
tun0: Phase: Chap Input: SUCCESS
tun0: CCP: FSM: Using "deflink" as a transport
tun0: CCP: deflink: State change Initial --> Closed
tun0: CCP: deflink: LayerStart.
tun0: CCP: MPPE: Not usable without CHAP81
tun0: CCP: deflink: SendConfigReq(1) state = Closed
tun0: CCP: DEFLATE[4] win 15
tun0: CCP: PRED1[2]
tun0: CCP: deflink: State change Closed --> Req-Sent
tun0: Phase: deflink: lcp -> open
tun0: Phase: bundle: Network
tun0: IPCP: FSM: Using "deflink" as a transport
tun0: IPCP: deflink: State change Initial --> Closed
tun0: IPCP: deflink: LayerStart.
tun0: IPCP: deflink: SendConfigReq(1) state = Closed
tun0: IPCP: IPADDR[6] 127.0.0.1
tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP: deflink: State change Closed --> Req-Sent
tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
tun0: IPCP: IPADDR[6] 178.32.37.13
tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
tun0: IPCP: IPADDR[6] 178.32.37.13
tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
tun0: LCP: deflink: RecvProtocolRej(1) state = Opened
tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
tun0: CCP: deflink: State change Req-Sent --> Stopped
tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
tun0: IPCP: IPADDR[6] 127.0.0.1
tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
tun0: IPCP: IPADDR[6] XX.XX.XX.XX
tun0: IPCP: IPADDR[6] changing address: 127.0.0.1 --> X.X.X.X
tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
tun0: IPCP: IPADDR[6] X.X.X.X
tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
tun0: IPCP: IPADDR[6] X.X.X.X
tun0: IPCP: deflink: State change Ack-Sent --> Opened
tun0: IPCP: deflink: LayerUp.
tun0: IPCP: myaddr X.X.X.X hisaddr = 178.32.37.13
tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
tun0: LCP: deflink: SendEchoReply(1) state = Opened
puis les deux dernières lignes se répètent plein de fois …
Des idées de commandes pour faire un bon diagnostic ?
Je precise que sur la machine depuis laquelle j’essaie la connexion ppp se trouve un serveur de nom fonctionnel en temps normal ( quand mon modem s’occupe lui-même de la liaison ppp )
