[FUG-BR] claro 3g - huawei e226 e freebsd

Nenhum_de_Nos matheus em eternamente.info
Quarta Outubro 15 16:09:17 BRT 2008


On Wed, October 15, 2008 10:53 am, Vinícius Abrahão wrote:
> Olá Matheus,
>
> Checa como está o seu ppp.conf
> aqui meu modem reconhecem em ucom0, mas tenho que usar:
>         set device /dev/cuaU0
> Qualquer coisa posta o seu ppp.conf pra gente ver oque pode ser.
>
>
> Abs,
> Vinícius Schmidt

xxx# cat ppp.conf ppp.link*
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself em cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
#################################################################

# Re writted by JavaNunes for MODEM HUAWEI E226 TIM

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

claro:
 set authname claro
 set authkey claro
 set phone *99***1\#
 set login "TIMEOUT 10 \"\" \"\" \ CAUSE ERROR PLEASE NO CHANGE!
      gin:--gin: \\U word: \\P"
 set timeout 1
 set ifaddr 10.0.0.1/0 127.0.0.1/0 255.255.255.0 0.0.0.0
 #set ifaddr 10.0.0.1/0
# add default HISADDR
 enable dns
default:
 shell logger "LABEL down (up UPTIME): OCTETSIN received, OCTETSOUT sent"

claro:
 shell route delete default
claro:
 shell route delete default
 shell route add default -interface INTERFACE

ainad, nada funca :(

matheus

> On 10/14/08, Nenhum_de_Nos <matheus em eternamente.info> wrote:
>> hail,
>>
>> li http://sites.google.com/site/javanunes/huawei-e226-no-bsd e consegui
>> colocar para funcionar em um notebook com 7-STABLE. mas tento repetir o
>> feito em um pentium II que seria um roteador e nada:
>>
>> ucom0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00,
>> addr
>> 2> on uhub0
>> ucom0: Could not find interrupt in
>> device_attach: ucom0 attach returned 6
>> ucom0: at uhub0 port 2 (addr 2) disconnected
>> ucom0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00,
>> addr
>> 2> on uhub0
>> ucom0: ubsa_request: STALLED
>> ucom0: ubsa_request: STALLED
>> (repete muito)
>> ucom0: ubsa_request: STALLED
>> ucom0: at uhub0 port 2 (addr 2) disconnected
>> ucom0: detached
>>
>> estou usando o mesmo ppp.conf e ppp.link(up e down)
>>
>> vez por outra ele reclada do disp serial:
>>
>> Oct 14 13:15:54 xxx ppp[3722]: tun0: Warning: deflink: Unable to set
>> physical to speed 0
>> Oct 14 13:15:54 xxx ppp[3722]: tun0: Phase: deflink: Disconnected!
>> Oct 14 13:15:54 xxx ppp[3722]: tun0: Warning: deflink: Unable to set
>> physical to speed 0
>>
>> alguém sabe se ele não gosta de usb antigo ? testarei num pc mais novo
>> qd
>> puder desligá-lo. mas já até pensei em comprar uma placa usb 2.0 só para
>> isso, mas queria ter certeza antes.
>>
>> se alguém tiver alguma luz :)
>>
>> obrigado ;)
>>
>> matheus
>> --
>> We will call you cygnus,
>> The God of balance you shall be
>>
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
We will call you cygnus,
The God of balance you shall be



Mais detalhes sobre a lista de discussão freebsd