Users online right now: 88 - Login  » search  » forum index  

How can i config ZTE MF626 3G usb modem by HSDPA?

ivandzl
wrote 3 years ago


reply
Hello, i got a ZTE MF626 3G usb modem working in HSDPA and my isp is COMCEL (i'm from Colombia), i love Slax but simply i can't work in internet because it doesn't recognize then; can somebody tell me how can i configure it in slax in order that this powerful o.s. see it like a modem and not like a usb mass media storage?, or there are some kind of module than can make this for me?

Meanwhile i have to continue downloading the slax's modules in the f@#$%ing windows vista.

Thanks...

Ivan Dario Zapata Lozano
Buga (Colombia)
 
forum
wrote 3 years ago


reply
Download wvdial and wvstreams module then run
# wvdialconf /etc/wvdial.conf
and if your modem is supported a message like found /dev/ttyACM0 or /dev/ttyUSB0 was found. Or otherwise do a dmesg when you plugin the modem via usb and see what output it gives and kppp may find your modem.
 
ivandzl
wrote 3 years ago


reply
hello,

sorry, but since long ago i can't connect; i just download wvdial and wvstreams and mount it in slax but they don't work, i can't find the /etc/wvdial.conf file to make any modification and when i run wvdial tells me that the default device don't exist it try to find the device but after a few it can't find it; can you give me a hand with this? i do a lsusb/dmesg and appears the vendor and product of the zte in modem state and not in usb, that's fine, so i try with kppp but it can't find the device a test with the ttyUSB0 try to connect but the kppp just stop and i have to terminate the procces, i also try with usb_modeswitch too but it can't activate or initilizate the usb modem. please can somewhone help me?!!!!!

thanks a lot for your help my friend

Att

Ivan Dario Zapata
 
the_greek
wrote 3 years ago


reply
try umts monitor program
http://www.slax.org/modules.php?action=detail&id=2202
http://www.slax.org/modules.php?action=detail&id=1053

before may be necessary to switch something off ,from usb device
(virtual cd rom partitition ) by using http://www.draisberghof.de/usb_modeswitch/

this depends on the device ,some modems work out of the box ,i think
 
ivandzl
wrote 3 years ago


reply
Thanks,

i tried it, umtsmon can detect the network and when i try to connect it, simply i can't. what can this be? do i do something wrong?

with the wvdial the same happens... detect the modem in /dev/ttyUSB1 and try to connect but just keep connecting and after a while it disconnect; now i don't now what else can i do. i think umts is a good program but what i'm doing wrong??????

kppp also get stuck in the dialing.... just keep dialing and nothing else, the modem is blocked and i have to disconnect and make a new usb_modeswitch (now i'm a expert in this... jajaja).

i'm getting sick with this...

Thank you all,

ivandzl
 
the_greek
wrote 3 years ago


reply
http://forum.mandriva.com/viewtopic.php?t=111323
try this thread to see if they managed to get it working on mandriva ;)
 
ivandzl
wrote 3 years ago


reply
root@slax:~# lsusb
Bus 002 Device 002: ID 0458:002e KYE Systems Corp. (Mouse Systems)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 017: ID 19d2:2000 ONDA Communication S.p.A.
Bus 001 Device 002: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 Flash drive controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@slax:~# /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf

* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.6 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions

DefaultVendor=0x19d2
DefaultProduct=0x2000
TargetVendor=0x19d2
TargetProduct=0x31
TargetClass=0x0
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
MessageEndpoint=0x1
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
Interface=0x0

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Found 003
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 017 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003

Looking for target devices
No target device found
Looking for default devices
Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
USB error: could not get bound driver: No data available
No driver found. Device probably not initialized. Trying to continue ...
Setting up communication with device
Trying to send the message
OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

root@slax:~# /sbin/modprobe usbserial vendor=0x19d2 product=0x0031
root@slax:~# lsusb
Bus 002 Device 002: ID 0458:002e KYE Systems Corp. (Mouse Systems)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 018: ID 19d2:0031 ONDA Communication S.p.A.
Bus 001 Device 002: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 Flash drive controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@slax:~# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan: S1 S2 S3
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 -- OK
ttyUSB1: ATQ0 V1 E1 Z -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1: Modem Identifier: ATI -- Manufacturer: ZTE INCORPORATED
ttyUSB1: Speed 9600: AT -- OK
ttyUSB1: Max speed is 9600; that should be safe.
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 -- OK
ttyUSB2: ATQ0 V1 E1 Z -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2: Modem Identifier: ATI -- Manufacturer: ZTE INCORPORATED
ttyUSB2: Speed 9600: AT -- OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB1.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root@slax:~# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
+ZUSIMR:2
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+cgdcont=1,"ip","internet.comcel.com.co"
AT+cgdcont=1,"ip","internet.comcel.com.co"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
--> Disconnecting at Thu Aug 20 00:29:28 2009
root@slax:~#


That's all that i can get from this modem... do i'm doing something wrong?
please help :(
 
ivandzl
wrote 3 years ago


reply
anyone????????? please help!!
 
Spice_Boy
wrote 3 years ago


reply
Give umtsmon a go. It's great.
 
jesusjavier07
wrote 3 years ago


reply
Para Ivan
hola, yo tambien no pude toavia conectar el modem tengo el mf636, lo que hice fue eleiminarle el autorun desde una terminal de windows ahora slax me lo reconce como un modem serial, el problema es que el kpp no lo registra en /dev/modem me parece que falta asigar algo la verdad no se mucho de linus recien estoy comenzando y cuando digo recienestoy comenzado es por que se me rompio un disco de una mauina de mi trabajo y me dijeron que con esta distro podia ver los xls y doc y la verdad que esta muy buena la distribucion slax, hice una copia para cada maquina de mi trabajo y la utilizamos me gustaria configurar lal red y la impresora pero ese es otro tema.
Bueno espero que sigas posteando por que gracias a vos etoy buscando sobre el tema. si se de algo lo pongo pen este medio. aguante slax.
 
ivandzl
wrote 3 years ago


reply
Hola, que gusto encontrar latinos tambien!

Aqui dejo una "recopilacion" de los pasos que he realizado para configurar mi modem producto de una intensiva busqueda y lectura en google, pueden ser utiles para quien tenga problemas similares.

Mucha suerte y que viva Slax!

#######################################################################################

Ir a esta pagina web http://www.draisberghof.de/usb_modeswitch/ y descargar el archivo "usb_modeswitch-0.9.6.tar.bz2" en la sección Downloads.

Abrir Terminal, ir al directorio en el que descomprimió todo y ejecutar "make install"... va a pedir password de root.

Editar el archivo de configuración "usb_modeswitch.conf". Para eso en terminal ejecutar "KWrite /etc/usb_modeswitch.conf" y se abrirá el editor de textos.

Buscar el nombre del módem "ZTE MF626" y sacar los comentarios, el ( # ) y el ( ; ), hasta que quede algo así (depende de tu hardware):

ZTE MF628+ (tested version from Telia / Sweden)
ZTE MF626

Contributor: Joakim Wennergren

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

MessageEndpoint=0x01
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

Guardar y Salir.

Enchufar el módem, esperar unos segundos y ejecutar en Terminal "lsusb". Aquí uno de los dispositivos debería tener el r ID 19d2:2000.

Ejecutar en Terminal "/usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf". Con esto le cambiaremos el modo y ahora el sistema lo va a ver como un módem. Si hacen "lsusb" de nuevo, debería haber cambiado a ID 19d2:0031

Ejecutamos en Terminal "/sbin/modprobe usbserial vendor=0x19d2 product=0x0031"

#######################################################################################

Ahora debería andar como módem... se puede definir un archivo para que lo reconozca el network manager, haciendo en la terminal "KWrite /usr/share/hal/fdi/information/20thirdparty/20-zte-mf626.fdi". Esto abrirá un archivo en blanco al que hay que escribirle esto dentro, después guardarlo y salir.








GSM-07.07
GSM-07.05
modem






Ahora debería verse en el Network Manager Applet como una nueva conexión...

#######################################################################################

activate wvstreams-4.6.lzm (debes activarlo de primero, para que el segundo cargue correctamente)
activate wvdial-1.60.lzm

Then try
wvdialconf /etc/wvdial.conf

Ahora solo falta la configuración del modem como tal, y los parámetros propios de comcel. Para lo cual debemos editar el archivo /etc/wvdial.conf, que en caso de no existir, significa que nuestro equipo no tiene instalado el programa wvdial, el cual necesitamos para conectarnos a Internet, de tal forma que debemos instalarlo.

Ahora modificamos el archivo de tal forma que quede igual a este (dependiendo de tu hardware):

[Dialer Defaults]
#Created by wvdialconf:
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init1 = ATZ
Modem = /dev/ttyUSB1
Phone = *99#
Idle Seconds = 300
Modem Type = USB Modem
Stupid Mode = 1
Compuserve = 0
Baud = 460800
Auto DNS = 1
Dial Command = ATDT
Ask Password = 0
ISDN = 0
Username = COMCELWEB
Password = COMCELWEB
New PPPD = yes

Una vez que hallamos modificado nuestro archivo de configuración, y hallamos seguido los anteriores pasos, solo es cuestión de ejecutar como root wvdial, obteniendo como resultado la siguiente linea:

root@maquina:~# wvdial
WvDial: Internet dialer version 1.60
Cannot get information for serial port.
Initializing modem.
Sending: ATZ
ATZ
OK
Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
Modem initialized.
Idle Seconds = 300, disabling automatic reconnect.
Sending: ATDT*99#
Waiting for carrier.
ATDT*99#
CONNECT
Carrier detected. Starting PPP immediately.
Starting pppd at Sat Jan 31 15:13:49 2009
Pid of pppd: 3776
Using interface ppp0
pppd: 0
pppd: 0
pppd: 0
pppd: 0
pppd: 0
local IP address 166.210.164.89
pppd: 0
remote IP address 10.64.64.64
pppd: 0
primary DNS address 198.228.90.211
pppd: 0
secondary DNS address 198.228.90.210
pppd: 0

Y con esto, se supone quedamos conectados a Internet.

#######################################################################################

tambien puedes probar con umtsmon o ndiswrapper a ver que pasa, casi no tengo conocimiento en el uso de estos programas.

#######################################################################################

Mi problema es que se queda marcando y no pasa nada mas hasta que despues de un rato se desconecta, no se que sera, de todos modos agradesco su colaboracion.

Muchas gracias y dejenme saber si les funciona, yo seguire buscando a ver que pasa..

Atte,

ivandzl
 
ivandzl
wrote 3 years ago


reply
Finalmente lo logre!

Por el wvdial es un poco complicado y no lo puedo desconectar para esto es necesario reiniciar la maquina y corres el riesgo de que la distro en la usb quede corrupta, por kppp solo necesitas hacer los pasos del modeswitch y lo puedes desconectar o conectar tal como sucede en windows, y es significativamente en un numero inferior de pasos; el truco esta en detectar correctamente el puerto que utiliza el modem; es decir, tienes que probar con ttyUSB0 - ttyUSB1 - ttyUSB2 - etc a ver cual de todos es, uno se da cuenta que no es cuando al tratar de marcar se queda esperando y no hace nada, debes desenchufar, volver a correr el modeswitch y probar con un puerto diferente.

De todos modos mil gracias a todos los que colaboraron en este post, se les agradece ayudarme a liberar del windows vista!

Atte

ivandzl
 
javier
wrote 3 years ago


reply
eh ivan en horabuena, que crees tambien estoy posteando desde slax. a mi me faltaba actuallizarme a la ultima version de slax. me parece que eso era todo.
para alguien que necesite la info, el truco esta en sacarle el autocdrun al modem y utilizar el modprobe para que instale algo asi como los driver en windows al modem en linux, y configurar el kppp. si alguien necesita una guia. pregunten por este medio. mil gracias ivan me ayudo mucho tus concejos. aguante linux ahora voy por la red y la configuracion de una impresora windows en la red.
 
pawanov
wrote 3 years ago


reply
soory,, can some one translate in english,,, because i still can not connect my modem zte 626 with my slack,, thanks,,
 
hegel.l
wrote 3 years ago


reply
Javier, podrias enviarme un manual para poder hacer esto?
 
BETEP
wrote 2 years ago


reply
hi, folks. finally i've got ZTE MF100 3G modem. not much info "HOW TO" :( lsusb and dmesg can detect modem, but thats all. "googling" didnt give much results. so, the question is - anyone got success with this or similar device???
thanks in advance
 
forum
wrote 2 years ago


reply
This page has all the info u needed
 
forum
wrote 2 years ago


reply
not much info
http://ubuntuforums.org/showthread.php?t=1359410
http://www.ubuntu-rs.org/forum/viewthread.php?tid=11258

in windows by using hyperterminal disable the cdrom
AT+ZCDRUN=8
 
BETEP
wrote 2 years ago


reply
by the way UMTSMON doesent working by itself.

i builded freshest libusb, usb_modeswitch and umtsmon. when i starting umtsmon, it trying to run usb_modeswitch and usb_modeswitch failed.

manually i can change product number (i can see this with lsusb), but after restart(or pull out/plug in) original product number appearing again. thats the first problem.

second problem - modem doesent appear on the list. i cant see any modems on any /dev/ dmegs detecting modem as ONDA usb storage device

thats all
 
BETEP
wrote 2 years ago


reply
and, yeah, i dont have any windows machine. at all. at moment im in the internet cafe :(
 
the_greek
wrote 2 years ago


reply
Hi
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=1462
ZTE MF100 19D2:2000 to 19d2:0031
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=1947

according to this thread we need also Tcl libraries&runtime
ONE of this several modules
http://www.slax.org/modules.php?action=detail&id=1775
http://www.slax.org/modules.php?action=detail&id=3477
http://www.slax.org/modules.php?action=detail&id=1153
http://www.slax.org/modules.php?action=detail&id=794


and after must be run manualy :

# modprobe -r -v usbserial
# modprobe -r -v cdc_acm
# modprobe -v option
# echo "19d2 0031" >/sys/bus/usb-serial/drivers/option1/new_id
 
BETEP
wrote 2 years ago


reply
hi, again. after hours of googling and trying i successfully changed vendor and product numbers. i also can see modem in the system and even send TXT to my cellphone via UMTSMON. but still no internet connection.
1)i can see signal - level is 6-8 bars
2)when i trying to connect, signal disappearing and UMTSMON starting scan devices
3)when i opened terminal window modem answering my commands well, but every 1minute or so modem printing out symbol string - i think its a feature of cellphone operator

is anyone have ideas how to make ZTE MF100 "clear"(unlock or however you'll call this procedure)?

thanks in advance
 
BETEP
wrote 2 years ago


reply
hi again. is anyone tried to upgrage firmware of MF100 with MF626 dump?
 
BETEP
wrote 2 years ago


reply
well well well... i found old HDD with win2k. all working "from box" except windows(???) updates ate a lot of traffic even i didnt asked to update at all(welcome back to the world of slaves)
still no suggestions for ZTE MF100?
thanks in advance
 
Facplay
wrote 1 year ago


reply
I from Colombia and I have a modem ZTE MF100, please, anyone know a clear method for that this modem can work in the Slax?.....

Thanks
 
witek_w11
wrote 1 year ago


reply
Hi.
First run console and execute command:
lsusb
If a console types a name of Your modem then system shoud to run with it. To execute an internet connection gsm modem run a KPPP application. Klik: Menu>Internet>KPPP.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH