Newsgroup: it.comp.os.openbsd
Titolo: Problemi con ppp e linea adsl

Ciao a tutti! E' la prima volta che posto su questo ng e faccio subito una
domanda:
Ho installato OpenBSD da cd, ho editato il file ppp.conf in questo modo:
default:
 set log Phase Chat LCP IPCP CCP tun command
 set redial 15 0
 set reconnect 15 10000
pppoe:
 set device "!/usr/sbin/pppoe -i rl0"
 disable acfcomp protocomp
 deny acfcomp
 set mtu max 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set timeout 0
 set authname ****
 set authkey ****
 add! default HISADDR
 enable dns
 enable mssfixup
ma quando vado a connettermi col comando 
# ppp -auto pppoe
non si connette.
Ecco il log:
Jan 23 21:02:25 amonamarth ppp[10941]: Phase: Using interface: tun0 
Jan 23 21:02:25 amonamarth ppp[10941]: Phase: deflink: Created in closed state 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: default: set redial 15 0 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: default: set reconnect 15 10000 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set device !/usr/sbin/pppoe -i rl0 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: disable acfcomp protocomp 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: deny acfcomp 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set mtu max 1492 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set speed sync 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: enable lqr 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set lqrperiod 5 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set cd 5 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set dial 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set login 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set timeout 0 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set authname aliceadsl 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: set authkey ******** 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: add! default HISADDR 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: enable dns 
Jan 23 21:02:25 amonamarth ppp[10941]: tun0: Command: pppoe: enable mssfixup 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: PPP Started (auto mode). 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: bundle: Establish 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: closed -> opening 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Warning: Carrier settings ignored 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: Connected! 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: opening -> dial 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: dial -> carrier 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: carrier -> login 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: login -> lcp 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: LCP: FSM: Using "deflink" as a transport 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: LCP: deflink: State change Initial --> Closed 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: LCP: deflink: State change Closed --> Stopped 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: read (0): Connection reset by peer 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: LCP: deflink: State change Stopped --> Closed 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: LCP: deflink: State change Closed --> Initial 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: Disconnected! 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: lcp -> logout 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: logout -> hangup 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: Disconnected! 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: Connect time: 0 secs: 0 octets in, 0 octets out 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: 0 packets in, 0 packets out 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sun Jan 23 21:02:25 2005 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: HUPing 2217 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: hangup -> opening 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Phase: deflink: Enter pause (15) for redialing. 
Jan 23 21:02:25 amonamarth ppp[5753]: tun0: Chat: deflink: Reconnect try 1 of 10000 
Jan 23 21:02:40 amonamarth ppp[5753]: tun0: Chat: deflink: Redial timer expired. 
Ho cercato su internet, sembra un problema abbastanza diffuso, ma tutte le
soluzioni proposte a me non funzionano. 
Le soluzioni consistono spesso nel cambiare alcune righe del file di
configurazione, in particolare:
set mtu max 1492 ---> set mtu 1492
add! default HISADDR --> add default HISADDR
ma, come ho detto non hanno funzionato.
Sapete aiutarmi?
Grazie in anticipo
Lorenzo
-- 
pub  1024D/0EC8A3D4
Key fingerprint = C066 409C 9986 351A 0DE3  43F5 FFFD 3FD8 0EC8 A3D4

Ho risolto da solo (e per caso). 
Si trattava di un errore nel file ppp.conf
in particolare la riga:
set device "!/usr/sbin/pppoe -i rl0"
va sostituita con:
set device !/usr/sbin/pppoe -i rl0
a questo modo funziona tutto perfettamente. 
ciao
