[FUGSPBR] "o modem" (parte 2)
Pabro Diaz
pablo em grafia.com.br
Dom Out 27 18:57:07 BRT 2002
ae caras
depois da peleia que passei aqui pra configurar aquele
probelma idiota do meu modem, me deparei com um outro problema..
estou usando ppp pra fazer a conexão..
mas logo ao efetuar a identificação (creio eu) ele desconecta.
creio q agora o problema seja mais uma coisa idiota... mas eu sou idiota
mesmo UEAH uiAHEha
talvez possa ser problema no meu ppp.conf
----------------- ppp.conf ---------------------------
default:
set device /dev/cuaa4
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
OK \\dATDT\\T TIMEOUT 40 CONNECT"
set redial 5 10
set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun
ibest:
set phone 32870909
set login "TIMEOUT 10 ogin:--ogin: pabro em ibest.com.br word: a_minha_senha"
set timeout 300
set openmode active
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
delete ALL
add 0 0 HISADDR
-------------------------------------------------------
entao, pra startá-lo eu uso:
ppp -auto ibest
p log eh o seguinte:
------------------ ppp.log ---------------------------
Oct 27 16:48:55 pabro ppp[142]: Phase: Using interface: tun0
Oct 27 16:48:55 pabro ppp[142]: Phase: deflink: Created in closed state
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: default: set device
/dev/cuaa4
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: default: set speed 115200
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT
40 CONNECT
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: set phone 32870909
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: set login ABORT
NO\sCARRIER TIMEOUT 5 ogin:--ogin: pabro em ibest.com.br word: minha_senha
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: set timeout 120
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: set openmode active
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: set ifaddr 10.0.0.1/0
10.0.0.2/0 255.255.255.0 0.0.0.0
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: delete ALL
Oct 27 16:48:55 pabro ppp[142]: tun0: Command: ibest: enable dns
Oct 27 16:48:55 pabro ppp[143]: tun0: Phase: PPP Started (auto mode).
Oct 27 16:48:55 pabro ppp[143]: tun0: Phase: bundle: Establish
Oct 27 16:48:55 pabro ppp[143]: tun0: Phase: deflink: closed -> opening
Oct 27 16:48:55 pabro ppp[143]: tun0: Phase: deflink: Connected!
Oct 27 16:48:55 pabro ppp[143]: tun0: Phase: deflink: opening -> dial
Oct 27 16:48:55 pabro ppp[143]: tun0: Chat: Phone: 32870909
Oct 27 16:48:55 pabro ppp[143]: tun0: Chat: deflink: Dial attempt 1 of 1
Oct 27 16:48:55 pabro ppp[143]: tun0: Chat: Send: AT^M
Oct 27 16:48:55 pabro ppp[143]: tun0: Chat: Expect(5): OK
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Expect timeout
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Send: AT^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Expect(5): OK
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Received: AT^M^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Received: OK^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Send: ATE1Q0^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Expect(5): OK
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Received: AT^M^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Received: OK^M
Oct 27 16:49:00 pabro ppp[143]: tun0: Chat: Send: ATDT32870909^M
Oct 27 16:49:02 pabro ppp[143]: tun0: Chat: Expect(40): CONNECT
Oct 27 16:49:02 pabro ppp[143]: tun0: Chat: Received: ATE1Q0^M^M
Oct 27 16:49:02 pabro ppp[143]: tun0: Chat: Received: OK^M
Oct 27 16:49:42 pabro ppp[143]: tun0: Chat: Expect timeout
Oct 27 16:49:42 pabro ppp[143]: tun0: Warning: Chat script failed
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: deflink: dial -> hangup
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: deflink: Disconnected!
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: deflink: Connect time: 47 secs:
0 octets in, 0 octets out
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: deflink: 0 packets in, 0
packets out
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: total 0 bytes/sec, peak 0
bytes/sec on Sun Oct 27 16:48:55 2002
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: deflink: hangup -> closed
Oct 27 16:49:42 pabro ppp[143]: tun0: Phase: bundle: Dead
----------------------------------------------------------------------------
-----
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd