[FUG-BR] Configuar modem 3G ericsson md300

Giancarlo Rubio gianrubio em gmail.com
Segunda Abril 27 19:44:17 BRT 2009


2009/4/27 Vinicius Abrahao <vinnix.bsd em gmail.com>:
> Fala Giancarlo,
>
> Tente desabilitar o umass, tive um problema (com outro modelo) e só
> funcionou
> carregando o umass como módulo após a conexão. Pelo que me lembro usava
> o ubsa.
>

Boa noite Vinicius

Vc ja usou esse modem com sucesso no FreeBSD?

Ja fiz isso, recompilei o kernel, mais ainda nao funciona na hora da
conexao, meu problema agora é na conexao

Dmesg (sem umass)

ucom0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00,
addr 2> on uhub2
ucom0: iclass 2/2
ucom0: data interface 4, has CM over data, has break
ucom0: status change notification available
cdce0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00,
addr 2> on uhub2
cdce0: could not find data bulk in
device_attach: cdce0 attach returned 6

Pelo que eu li, nessa ultima linha  " cdce0 attach returned 6"
removendo e colocando ele de novo resolveria mais no meu caso não
resolveu e acho que é ai meu problema.

meu ppp.conf

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaU0
 set speed 236800
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

tim:

 set authname tim
 set authkey tima
 set phone *99***\#
 set timeout 1
 add default HISADDR
 enable dns

meu problema é que a conexao se perde apos eu conectar , a linha que
importa é essa

Apr 27 18:30:05 frw ppp[1747]: tun0: Phase: bundle: Terminate
Apr 27 18:30:06 frw ppp[1747]: tun0: Phase: deflink: Carrier lost
Apr 27 18:30:06 frw ppp[1747]: tun0: LCP: deflink: State change
Stopping --> Starting
Apr 27 18:30:06 frw ppp[1747]: tun0: LCP: deflink: LayerFinish



Meu ppp.log


Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: deflink: Redial timer expired.
Apr 27 18:30:26 frw ppp[1747]: tun0: Phase: deflink: Connected!
Apr 27 18:30:26 frw ppp[1747]: tun0: Phase: deflink: opening -> dial
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Phone: *99***#
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Send: AT^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Expect(5): OK
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Received: AT^M^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Received: OK^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Send: ATE1Q0^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Expect(5): OK
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Received: ATE1Q0^M^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Received: OK^M
Apr 27 18:30:26 frw ppp[1747]: tun0: Chat: Send: ATDT*99***#^M
Apr 27 18:30:28 frw ppp[1747]: tun0: Chat: Expect(40): CONNECT
Apr 27 18:30:28 frw ppp[1747]: tun0: Chat: Received:
ATDT*99***#^M~<FF>}#<C0>!}!}!} }9}#}%<C2>#}%}(}"}'}"}"}&} } } }
}%}&<BE><D5>M-^H}&<F9><C7>~^M
Apr 27 18:30:28 frw ppp[1747]: tun0: Chat: Received: CONNECT^M
Apr 27 18:30:28 frw ppp[1747]: tun0: Phase: deflink: dial -> carrier
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: /dev/cuaU0: CD detected
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: carrier -> login
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: login -> lcp
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: FSM: Using "deflink" as a transport
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: State change
Initial --> Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: State change Closed
--> Stopped
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: RecvConfigReq(2)
state = Stopped
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0xbed58806
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: SendConfigReq(9)
state = Stopped
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MRU[4] 1500
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0x78516bd6
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: SendConfigAck(2)
state = Stopped
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0xbed58806
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: LayerStart
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: State change
Stopped --> Ack-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: RecvConfigReq(3)
state = Ack-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0xbed58806
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: SendConfigAck(3)
state = Ack-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0xbed58806
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: RecvConfigAck(9)
state = Ack-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACFCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  PROTOCOMP[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  ACCMAP[6] 0x00000000
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MRU[4] 1500
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP:  MAGICNUM[6] 0x78516bd6
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: State change
Ack-Sent --> Opened
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: LayerUp
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: bundle: Authenticate
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: his = CHAP 0x05,
mine = none
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: Chap Input: CHALLENGE (63
bytes from Kermit)
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: Chap Output: RESPONSE (tim)
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: Chap Input: SUCCESS
(Congratulations!)
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: FSM: Using "deflink" as a transport
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: State change
Initial --> Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: LayerStart.
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: MPPE: Not usable without CHAP81
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: SendConfigReq(1)
state = Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP:  DEFLATE[4] win 15
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP:  PRED1[2]
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: State change Closed
--> Req-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: lcp -> open
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: bundle: Network
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: FSM: Using "deflink" as a transport
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: State change
Initial --> Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: LayerStart.
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: SendConfigReq(1)
state = Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP:  IPADDR[6] 127.0.0.1
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots
with slot compression
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP:  PRIDNS[6] 10.1.1.254
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: State change
Closed --> Req-Sent
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: RecvProtocolRej(1)
state = Opened
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: -- Protocol 0x80fd
(Compression Control Protocol) was rejected!
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: State change
Req-Sent --> Stopped
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: RecvTerminateReq(1)
state = Opened
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: LayerDown
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: SendTerminateAck(1)
state = Opened
Apr 27 18:30:29 frw ppp[1747]: tun0: LCP: deflink: State change Opened
--> Stopping
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: State change
Stopped --> Closed
Apr 27 18:30:29 frw ppp[1747]: tun0: CCP: deflink: State change Closed
--> Initial
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: deflink: open -> lcp
Apr 27 18:30:29 frw ppp[1747]: tun0: Warning: ff02:7::/32: Change
route failed: errno: Network is unreachable
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: State change
Req-Sent --> Starting
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: LayerFinish.
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: Connect time: 0 secs: 0
octets in, 0 octets out
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: 0 packets in, 0 packets out
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP:  total 0 bytes/sec, peak 0
bytes/sec on Mon Apr 27 18:30:29 2009
Apr 27 18:30:29 frw ppp[1747]: tun0: IPCP: deflink: State change
Starting --> Initial
Apr 27 18:30:29 frw ppp[1747]: tun0: Phase: bundle: Terminate
Apr 27 18:30:30 frw ppp[1747]: tun0: Phase: deflink: Carrier lost
Apr 27 18:30:30 frw ppp[1747]: tun0: LCP: deflink: State change
Stopping --> Starting
Apr 27 18:30:30 frw ppp[1747]: tun0: LCP: deflink: LayerFinish
Apr 27 18:30:30 frw ppp[1747]: tun0: LCP: deflink: State change
Starting --> Initial
Apr 27 18:30:30 frw ppp[1747]: tun0: Phase: deflink: Disconnected!
Apr 27 18:30:30 frw ppp[1747]: tun0: Phase: deflink: lcp -> logout
Apr 27 18:30:30 frw ppp[1747]: tun0: Phase: deflink: Disconnected!
Apr 27 18:30:30 frw ppp[1747]: tun0: Phase: deflink: logout -> hangup
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase: deflink: Connect time: 5
secs: 328 octets in, 280 octets out
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase: deflink: 81 packets in, 72
packets out
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase:  total 121 bytes/sec, peak
121 bytes/sec on Mon Apr 27 18:30:30 2009
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase: deflink: hangup -> opening
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase: bundle: Establish
Apr 27 18:30:31 frw ppp[1747]: tun0: Phase: deflink: Enter pause (3)
for redialing.
Apr 27 18:30:31 frw ppp[1747]: tun0: Chat: deflink: Reconnect try 9 of 0


> Sds,
> Vinícius
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
Giancarlo Rubio


Mais detalhes sobre a lista de discussão freebsd