par MiniUser » 10 Fév 2004 11:27
Bonjour,
<BR>
<BR>Je n'arrive pas à faire fonctionner mon modem Sagem 908 sous OpenBSD 3.4 en ppoe.
<BR>
<BR>J'arrive à avoir une connexion sous Windows en USB (bons débits en up/down).
<BR>
<BR>Voici ma config :
<BR>
<BR> INTERNET --- xl0=tun0 ---| |--- xl1 --- INTRANET
<BR>
<BR><!-- BBCode Start --><B>/etc/hostname.xl0</B><!-- BBCode End -->
<BR># /etc/hostname.xl0
<BR>
<BR>up
<BR>
<BR><!-- BBCode Start --><B>/etc/hostname.xl1</B><!-- BBCode End -->
<BR># /etc/hostname.xl1
<BR>
<BR>inet 192.168.1.10 255.255.255.0 NONE
<BR>
<BR><!-- BBCode Start --><B>/etc/ppp/ppp.conf</B><!-- BBCode End -->
<BR># ppp.conf
<BR>
<BR>default:
<BR> set Log Phase Chat LCP IPCP CCP tun command
<BR> set redial 15 0
<BR> set reconnect 15 10000
<BR>
<BR>pppoe:
<BR> set device "!/usr/sbin/pppoe -v -v -v -i xl0"
<BR> disable acfcomp protocomp
<BR> deny acfcomp
<BR> set mtu max 1492
<BR> set speed sync
<BR> enable lqr
<BR> set lqrperiod 5
<BR> set cd 5
<BR> set dial
<BR> set login
<BR> set timeout 0
<BR> set authname <!-- BBcode auto-mailto start --><a href="mailto:xxxxxxxxxx@freeadsl">xxxxxxxxxx@freeadsl</a><!-- BBCode auto-mailto end -->
<BR> set authkey xxxxxxxx
<BR> add! default HISADDR
<BR> enable dns
<BR> enable mssfixup
<BR>
<BR>En lançant <!-- BBCode Start --><B>$> ppp -ddial pppoe</B><!-- BBCode End --> j'obtiens dans <!-- BBCode Start --><B>/var/log/daemon</B><!-- BBCode End --> :
<BR>
<BR>Jan 29 20:13:47 cristal ppp[20119]: Phase: Using interface: tun0
<BR>Jan 29 20:13:47 cristal ppp[20119]: Phase: deflink: Created in closed state
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: default: set redial 15 0
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: default: set reconnect 15 10000
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set device !/usr/sbin/pppoe -v -v -v -i xl0
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: disable acfcomp protocomp
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: deny acfcomp
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set mtu max 1492
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set speed sync
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: enable lqr
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set lqrperiod 5
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set cd 5
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set dial
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set login
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set timeout 0
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set authname **********@freeadsl
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: set authkey ********
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: add! default HISADDR
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: enable dns
<BR>Jan 29 20:13:47 cristal ppp[20119]: tun0: Command: pppoe: enable mssfixup
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: PPP Started (ddial mode).
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: bundle: Establish
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: closed -> opening
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Warning: Carrier settings ignored
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: Connected!
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: opening -> dial
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: dial -> carrier
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: carrier -> login
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: Phase: deflink: login -> lcp
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: LCP: FSM: Using "deflink" as a transport
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: LCP: deflink: State change Initial --> Closed
<BR>Jan 29 20:13:47 cristal ppp[15040]: tun0: LCP: deflink: State change Closed --> Stopped
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: deflink: LayerStart
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x47e2e182
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:13:48 cristal ppp[15040]: tun0: LCP: deflink: State change Stopped --> Req-Sent
<BR>Jan 29 20:13:51 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
<BR>Jan 29 20:13:51 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:13:51 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x47e2e182
<BR>Jan 29 20:13:51 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:13:54 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
<BR>Jan 29 20:13:54 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:13:54 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x47e2e182
<BR>Jan 29 20:13:54 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x47e2e182
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: Phase: deflink: read (0): Connection reset by peer
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: deflink: State change Req-Sent --> Starting
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: deflink: LayerFinish
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: LCP: deflink: State change Starting --> Initial
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: Phase: deflink: Disconnected!
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: Phase: deflink: lcp -> logout
<BR>Jan 29 20:13:57 cristal ppp[15040]: tun0: Phase: deflink: Disconnected!
<BR>Jan 29 20:15:34 cristal ppp[15040]: tun0: Phase: deflink: Enter pause (15) for redialing.
<BR>Jan 29 20:15:34 cristal ppp[15040]: tun0: Chat: deflink: Reconnect try 4 of 10000
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Chat: deflink: Redial timer expired.
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Warning: Carrier settings ignored
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Phase: deflink: Connected!
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Phase: deflink: opening -> dial
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Phase: deflink: dial -> carrier
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Phase: deflink: carrier -> login
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: Phase: deflink: login -> lcp
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: LCP: FSM: Using "deflink" as a transport
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: LCP: deflink: State change Initial --> Closed
<BR>Jan 29 20:15:49 cristal ppp[15040]: tun0: LCP: deflink: State change Closed --> Stopped
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: deflink: LayerStart
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(4) state = Stopped
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x7f733484
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:15:50 cristal ppp[15040]: tun0: LCP: deflink: State change Stopped --> Req-Sent
<BR>Jan 29 20:15:53 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(4) state = Req-Sent
<BR>Jan 29 20:15:53 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:15:53 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x7f733484
<BR>Jan 29 20:15:53 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:15:56 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(4) state = Req-Sent
<BR>Jan 29 20:15:56 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:15:56 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x7f733484
<BR>Jan 29 20:15:56 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: deflink: SendConfigReq(4) state = Req-Sent
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: MRU[4] 1500
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: MAGICNUM[6] 0x7f733484
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: read (0): Connection reset by peer
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: deflink: State change Req-Sent --> Starting
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: deflink: LayerFinish
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: LCP: deflink: State change Starting --> Initial
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: Disconnected!
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: lcp -> logout
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: Disconnected!
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: logout -> hangup
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: Connect time: 10 secs: 0 octets in, 104 octets out
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: 17 packets in, 43 packets out
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: total 10 bytes/sec, peak 10 bytes/sec on Wed Jan 29 20:15:53 2003
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: HUPing 19900
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: hangup -> opening
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Phase: deflink: Enter pause (15) for redialing.
<BR>Jan 29 20:15:59 cristal ppp[15040]: tun0: Chat: deflink: Reconnect try 5 of 10000
<BR>
<BR>
<BR>
<BR>Quelqu'un a-t-il eu ce genre de problèmes ?