Re: md300 modem 3g en lenny

2008-09-25 Por tema Odair Augusto Trujillo
Se nota que está bien crudo esto de los modems 3G en linux.

En otras noticias, para kde hay un buen monitor gráfico de tráfico que se
llama knemo, lo instalan y lo activan en el centro de control, apartado de
red.
-- 
"Al principio, el Hombre creó a Dios; y lo creó a su imagen y semejanza.
Y el Hombre dio a Dios multitud de nombres, y el poder de que fuera el Señor
de toda la tierra cuando al Hombre le conviniere."


Re: md300 modem 3g en lenny

2008-09-25 Por tema Ricardo Delgado
El día 21 de septiembre de 2008 13:08, Michelle Konzack
<[EMAIL PROTECTED]> escribió:
> Buenas Notche Javier,
>
> Am 2008-08-21 21:52:38, schrieb javier barcena:
>> buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
>> 3g de sony ericsson MD300 en debian lenny pero por distintos caminos llegoal
>> mismo resultado.. el dispositivo ttyUSB0 no es reconocido.
>

Procedimiento

  1. Arrancar la PC con el modem conectado # no funcionara si lo
conectan luego
  2. Abrir consola y escribir lo siguiente

 lsusb
 ls -l /dev/ttyUSB*
 sudo gedit /etc/wvdial.conf

  3. Ingresar los siguiente datos #los demás se ingresaran
automaticamente más adelante

 Phone = *99#
 Username = ctigprs
 Password = ctigprs999

  4. Guardar los cambios
  5. Ejecuta el comando

 sudo wvdialconf
 # con este comando se ingresan automaticamente los datos
correspondietes a su modem
 # si abren el archivo /etc/wvdial.conf verán que contiene más
datos de los ingresados

  6. Para conectarnos escribir

 wvdial

  7. Y por ultimo debemos cambiar los DNS

 sudo gedit /etc/resol.conf

  8. Colocamos los siguientes numeros de DNS

 nameserver 170.51.255.100
 nameserver 170.51.242.18

Con este procedimiento he podido configurar mi modem

Como sabrán el modem trae un panel de control que es únicamente para
windows, el cual permite la conexión y además trae un par de
Herramientas mas. Una de ellas es mostrar un histograma de la
conexión, o sea un gráfico que muestra como va variando la conexión

Por suerte me encontre con una herramienta en linux que hace algo parecido

Procedimiento

  1. Abrir consola y escribir lo siguiente

 sudo apt-get install netspeed

  2. Hacer clic con el botón derecho sobre cualquier panel y luego
presionar sobre "añadir al Panel".
  3. En la ventana que se abre buscar "Monitor de la red" y agregar
este elemento. Si no lo encuentras puedes colocar "netspeed" en el
cuadro de busqueda.

Como verán se nos ha agregado un icono el cual nos indica la velocidad
de subida y bajada que tiene nuestra conexión, si quisiéramos ver el
gráfico, hacemos clic con el botón derecho sobre este icono y
presionamos sobre "detalles de dispositivo".

Si todo ha salido bien podremos conectarnos con nuestro modem, en el
futuro si desearan conectarse solo deben ejecutar en una consola el
comando "wvdial", y volver a cambiar los DNS.


  Saludos

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


Re: md300 modem 3g en lenny

2008-09-24 Por tema Michelle Konzack
Buenas Notche Javier,

Am 2008-08-21 21:52:38, schrieb javier barcena:
> buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
> 3g de sony ericsson MD300 en debian lenny pero por distintos caminos llegoal
> mismo resultado.. el dispositivo ttyUSB0 no es reconocido.

The  MD300 is NOT a ttyUSB0 but a /dev/ttyACM0.

modprobe cdc-acm

If you have problems feel free to contact me per PM and send your
'lsusb -v' output.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: md300 modem 3g en lenny

2008-08-25 Por tema Ricardo Delgado
2008/8/23 javier barcena <[EMAIL PROTECTED]>:
> 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
> <[EMAIL PROTECTED]>.
>
> 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 = o

Re: md300 modem 3g en lenny

2008-08-23 Por tema javier barcena
 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 <
[EMAIL PROTECTED]>.

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!


  El día 22/08/08, Jorge Barreiro Gonzalez <[EMAIL PROTECTED]> escribió:
>
> O Xoves 21 Agosto 2008 21:52, javier barcena escribiu:
> > buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem
> usb
> > 3g de sony eri

Re: md300 modem 3g en lenny

2008-08-22 Por tema Jorge Barreiro Gonzalez
O Xoves 21 Agosto 2008 21:52, javier barcena escribiu:
> buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
> 3g de sony ericsson MD300 en debian lenny pero por distintos caminos
> llegoal mismo resultado.. el dispositivo ttyUSB0 no es reconocido.
>
> Entre las cosas que hice fue crear reglas udev,  agregar el id y vendor del
> modem al modulo usbserial y crear los dispositivos con .. mknod.. ttyUSB0,
> 1,2.
>
> Lei casi todos los tutoriales de las distintas distribuciones.. pero nodi
> con la solucion correcta..
>
> Mi kernel es 2.6.24-1  para  un  amd k7
> Saludos javier

No deberias tener que crear reglas udev, ni hacer nada con mknod (y mucho 
menos hacer las dos al mismo tiempo).

Si efectivamente el módulo usbserial hace funcionar tu modem y al enchufarlo 
no aparece automáticamente el dispositivo ttyUSB0, tienes que indicarle al 
módulo usbserial el id de vendedor y producto. Si ni con esas, igual tu 
dispositivo no se puede usar así.

Dices que ya agregado el id de vendedor y producto al modulo, pero no dices 
cómo. Yo lo hice para un MPX200 con los parámetros del módulo, de esta forma:

# rmmod usbserial
#modprobe usbserial vendor=0x product=0x

Enchufa ahora tu aparato  y comprueba si aparece el dispositivo ttyUSB0

Si sigues teniendo problemas danos más detalles: salida de dmesg, ids del 
dispositivo, etc...

Suerte.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: md300 modem 3g en lenny

2008-08-21 Por tema Cristian Mitchell
El día 21 de agosto de 2008 16:52, javier barcena
<[EMAIL PROTECTED]> escribió:
> buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
> 3g de sony ericsson MD300 en debian lenny pero por distintos caminos llegoal
> mismo resultado.. el dispositivo ttyUSB0 no es reconocido.
>
> Entre las cosas que hice fue crear reglas udev,  agregar el id y vendor del
> modem al modulo usbserial y crear los dispositivos con .. mknod.. ttyUSB0,
> 1,2.
>
> Lei casi todos los tutoriales de las distintas distribuciones.. pero nodi
> con la solucion correcta..
>
> Mi kernel es 2.6.24-1  para  un  amd k7
> Saludos javier

ya isiste el planteo, ahora supongo que hay otro mail??

que errores tira? lo reconoce el sistema? syslog que dice?
el lsusb como lo ve? el dmesg que dice?
como dicen en Harry Potter la adivinacion es muy impresisa

-- 
MrIX
Linux user number 412793.
http://counter.li.org/

las grandes obras,
las sueñan los santos locos,
las realizan los luchadores natos,
las aprovechan los felices cuerdo,
y las critican los inútiles crónicos,

yo no fui, seguro que es mas inteligente.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



md300 modem 3g en lenny

2008-08-21 Por tema javier barcena
buenas tardes.. hace casi 14 dias que intento hacer funcionar el modem usb
3g de sony ericsson MD300 en debian lenny pero por distintos caminos llegoal
mismo resultado.. el dispositivo ttyUSB0 no es reconocido.

Entre las cosas que hice fue crear reglas udev,  agregar el id y vendor del
modem al modulo usbserial y crear los dispositivos con .. mknod.. ttyUSB0,
1,2.

Lei casi todos los tutoriales de las distintas distribuciones.. pero nodi
con la solucion correcta..

Mi kernel es 2.6.24-1  para  un  amd k7
Saludos javier