[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: md300 modem 3g en lenny



2008/8/23 javier barcena <javierbuilder@gmail.com>:
> buen dia disculpen la demora y  aqui tengo las salidas.. del dmesg | tail
>
> Inicio debian
> remuevo el usb-core y el usbserial y el airprime
> agrego el modulo usbserial con el id y vendor del procucto.
> modprobe usbserial vendor=0x0fce product=0xd0cf
>
> dummies# dmesg | tail
> usbcore: deregistering interface driver usb-storage
> usbcore: deregistering interface driver airprime
> drivers/usb/serial/usb-serial.c: USB Serial deregistering driver airprime
> usbcore: deregistering interface driver usbserial_generic
> drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
> usbcore: deregistering interface driver usbserial
> usbcore: registered new interface driver usbserial
> drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
> usbcore: registered new interface driver usbserial_generic
> drivers/usb/serial/usb-serial.c: USB Serial Driver core
>
> Conecto el modem MD300 y hago dmesg|tail
> dummies# dmesg | tail
> sd 1:0:0:0: [sda] Mode Sense: 00 c0 00 00
> sd 1:0:0:0: [sda] Assuming drive cache: write through
> sd 1:0:0:0: [sda] 503521 512-byte hardware sectors (258 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 00 c0 00 00
> sd 1:0:0:0: [sda] Assuming drive cache: write through
> sda: sda1
> sd 1:0:0:0: [sda] Attached SCSI removable disk
> UDF-fs: No VRS found
> ISOFS: Unable to identify CD-ROM format.
>
> dummies#
>
> remuevo el usb-core y el usbserial
> agrego el id y vendor del producto
> modprobe usbserial vendor=0x0fce product=0xd0cf
>  y el dmesg em dice :
>
> usbcore: registered new interface driver usbserial
>
> drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
>
> usbserial_generic 1-2:1.0: generic converter detected
>
> usb 1-2: generic converter now attached to ttyUSB0
>
> usbcore: registered new interface driver usbserial_generic
>
> drivers/usb/serial/usb-serial.c: USB Serial Driver core
>
>
> y me genera el ttyUSB0  .  Lei en una rticulo que para que s e conecte debe
> crear al menos tres dispositivos  ttyUSB0 ttyUSB1 ttyUSB2 pero no se. si es
> verdad. Espero que estos datos sean suficientes.
>
> Ejecuto gnome-ppp como root y esta es la salida
>
> gnome-ppp
>
> WVCONF: /root/.wvdial.conf
> GNOME PPP: Connecting...
> GNOME PPP: STDERR: --> Ignoring malformed input line: ";Do NOT edit this
> file by hand!"
> GNOME PPP: STDERR: --> WvDial: Internet dialer version 1.56
> GNOME PPP: STDERR: --> Cannot get information for serial port.
> GNOME PPP: STDERR: --> Initializing modem.
> GNOME PPP: STDERR: --> Sending: ATZ
> GNOME PPP: STDERR: --> Sending: ATQ0
> GNOME PPP: STDERR: --> Re-Sending: ATZ
> GNOME PPP: STDERR: --> Modem not responding.
> GNOME PPP: Unable to KILL wvdial process!
>
> --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
> --> WvDial: Internet dialer version 1.56
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: ATZ
> --> Sending: ATQ0
> --> Re-Sending: ATZ
> --> Modem not responding.
>
> Ejecuto como user normal y esta es la salida
>
> dummies:~$ gnome-ppp
>
> WVCONF: /home/javier/.wvdial.conf
> GNOME PPP: STDOUT: Editing `/dev/null'.
> GNOME PPP: STDERR: WvModem<*1>: Cannot set information for serial port.
> GNOME PPP: STDOUT:
> GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try:
> 9600 baud
> GNOME PPP: STDOUT: Scanning your serial ports for a modem.
> GNOME PPP: STDOUT:
> GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try:
> 115200 baud
> GNOME PPP: STDERR: ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving
> up.
> GNOME PPP: STDERR: Modem Port Scan<*1>: S1 S2 S3
> GNOME PPP: STDERR: WvModem<*1>: Cannot get information for serial port.
> GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next
> try: 9600 baud
> GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next
> try: 9600 baud
> GNOME PPP: STDERR: ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200,
> giving up.
> GNOME PPP: STDOUT:
> GNOME PPP: STDOUT:
> GNOME PPP: STDOUT: Sorry, no modem was detected! Is it in use by another
> program?
> GNOME PPP: STDOUT: Did you configure it properly with setserial?
> GNOME PPP: STDOUT:
> GNOME PPP: STDOUT: Please read the FAQ at http://open.nit.ca/wiki/?WvDial
> GNOME PPP: STDOUT:
> GNOME PPP: STDOUT: If you still have problems, send mail to
> <wvdial-list@lists.nit.ca>.
>
> wvdial.conf
> ===========
> [Dialer Defaults]
> Modem = /dev/ttyUSB0
> ISDN = off
> Modem Type = USB Modem
> Baud = 115200
> Init = ATX3
> Init2 =
> Init3 =
> Init4 =
> Init5 =
> Init6 =
> Init7 =
> Init8 =
> Init9 =
> Phone = *99***1#
> Phone1 =
> Phone2 =
> Phone3 =
> Phone4 =
> Dial Prefix =
> Dial Attempts = 1
> Dial Command = ATM1L3DT
> Ask Password = off
> Password = 3616
> Username = ctigprs
> Auto Reconnect = off
> Abort on Busy = off
> Carrier Check = on
> Check Def Route = on
> Abort on No Dialtone = on
> Stupid Mode = off
> Idle Seconds = 0
> Auto DNS = on
> ;Minimize = off
> ;Dock = off
> ;Do NOT edit this file by hand!
>

Hola, te cuento mi experencia con un 3G en este caso un HUAWEI de
Claro para Argentina, busque tutoriales por todos lados, probe con
varios procesos hasta me baje un soft de vodafone y nada, al final,
encontre en google (perdon no acordarme donde) la solucion que a mi me
funciono, y es muy simple.

como root simplemente conecte el usb, efectivamente como vos decis me
creo el ttyUSB0, luego de ello simplemente hice correr el WVDIAL (sin
parametros), este se encargo de buscar en todos los puertos (com, usb,
etc) negocio con el equipo las velocidades y luego genero un
wvdial.conf, a este archivo de configuracion le agregue el usuario y
contraseña (provistos por el servicio) y salio funcionando.

        Un problema que tuve en lo que a IP se refiere es que el
equipo en mi caso no sabia como resolver nombres, para ello consulte
al proveedor las DNS y las agregue en mi archivo de configuracion, y
luego de ello a navegar.

       Luego probe cambiar las velocidades de conexion y al final
decante por la que me dejo el wvdial ya que era la mas efectiva.



-- 
"Esta es la tierra de GNU/Linux, en noches tranquilas puedes escuchar
el sonido de las PC con windows rearrancando"

Reply to: