informatica:linux:modem_usb_vodafone
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:modem_usb_vodafone [2014/09/09 18:20] – [Configuracion] javi | informatica:linux:modem_usb_vodafone [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Modem USB Vodafone ===== | ===== Modem USB Vodafone ===== | ||
- | ==== Configuracion ==== | + | ==== Configuracion |
A partir del 9/9/2014 (un mes antes quiza) la receta enterior no me funciona. | A partir del 9/9/2014 (un mes antes quiza) la receta enterior no me funciona. | ||
+ | |||
+ | Abajo dejo unas configuraciones por si las moscas, pero **NO** son necesarias. | ||
+ | |||
+ | 1. Instalar paquetes: | ||
+ | |||
+ | sudo aptitude update; sudo aptitude install network-manager-gnome usb-modeswitch wvdial screen | ||
+ | |||
+ | 2. Crear archivo: | ||
+ | |||
+ | sudo vim / | ||
+ | | ||
+ | Con el siguiente contenido: | ||
+ | |||
+ | < | ||
+ | [Dialer Defaults] | ||
+ | Init1 = AT+CPIN=1234 | ||
+ | Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 | ||
+ | Modem Type = Analog Modem | ||
+ | Phone = *99# | ||
+ | ISDN = 0 | ||
+ | Password = vodafone | ||
+ | Username = vodafone | ||
+ | Modem = / | ||
+ | Baud = 9600 | ||
+ | </ | ||
+ | |||
+ | En este ejemplo el PIN es " | ||
+ | |||
+ | 3. Inicio screen para poder cerrar la consola sin cortar la conexion: | ||
+ | |||
+ | screen -S internet | ||
+ | |||
+ | 4. Me conecto: | ||
+ | |||
+ | < | ||
+ | sudo wvdial | ||
+ | | ||
+ | Salida: | ||
+ | |||
+ | < | ||
+ | --> Initializing modem. | ||
+ | --> Sending: ATZ | ||
+ | ATZ | ||
+ | OK | ||
+ | --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 | ||
+ | ATQ0 V1 E1 S0=0 &C1 &D2 | ||
+ | OK | ||
+ | --> Modem initialized. | ||
+ | --> Sending: ATDT*99# | ||
+ | --> Waiting for carrier. | ||
+ | ATDT*99# | ||
+ | +CME ERROR: 11 | ||
+ | --> Invalid dial command. | ||
+ | --> Disconnecting at Tue Sep 9 19:58:53 2014 | ||
+ | usuario@wheezy64: | ||
+ | usuario@wheezy64: | ||
+ | --> WvDial: Internet dialer version 1.61 | ||
+ | --> Initializing modem. | ||
+ | --> Sending: AT+CPIN=1234 | ||
+ | AT+CPIN=1234 | ||
+ | OK | ||
+ | --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 | ||
+ | ATQ0 V1 E1 S0=0 &C1 &D2 | ||
+ | OK | ||
+ | --> Modem initialized. | ||
+ | --> Sending: ATDT*99# | ||
+ | --> Waiting for carrier. | ||
+ | ATDT*99# | ||
+ | CONNECT | ||
+ | --> Carrier detected. | ||
+ | 1234 | ||
+ | --> Don't know what to do! Starting pppd and hoping for the best. | ||
+ | --> Starting pppd at Tue Sep 9 19:59:50 2014 | ||
+ | --> Pid of pppd: 3464 | ||
+ | --> Using interface ppp0 | ||
+ | --> pppd: 8[7f] | ||
+ | --> pppd: 8[7f] | ||
+ | --> pppd: 8[7f] | ||
+ | --> pppd: 8[7f] | ||
+ | --> pppd: 8[7f] | ||
+ | --> pppd: 8[7f] | ||
+ | --> local IP address 178.139.115.21 | ||
+ | --> pppd: 8[7f] | ||
+ | --> remote IP address 10.64.64.64 | ||
+ | --> pppd: 8[7f] | ||
+ | --> primary | ||
+ | --> pppd: 8[7f] | ||
+ | --> secondary DNS address 212.73.32.67 | ||
+ | --> pppd: 8[7f] | ||
+ | </ | ||
+ | |||
+ | 5. Salgo de screen: | ||
+ | |||
+ | CTRL + a + z | ||
+ | |||
+ | ===== Configuracion buena - comentarios ===== | ||
+ | |||
+ | Haciendo esto tambien me he conectado. Pero finalmente quitando los archivos de configuracion tambien lo he conseguido, pero los dejo aqui escritos por si Ascaso. | ||
+ | |||
+ | **OJO** estoy seguro de que cargar el modulo " | ||
Resumen de configuraciones: | Resumen de configuraciones: | ||
Line 167: | Line 267: | ||
**TODO** comprobar permisos dialout etc... | **TODO** comprobar permisos dialout etc... | ||
+ | |||
+ | c) Tengo cargado el modulo " | ||
+ | |||
+ | < | ||
+ | sudo lsmod | grep option | ||
+ | |||
+ | option | ||
+ | usb_wwan | ||
+ | usbserial | ||
+ | usbcore | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | sudo cat / | ||
+ | # / | ||
+ | # | ||
+ | # This file contains the names of kernel modules that should be loaded | ||
+ | # at boot time, one per line. Lines beginning with "#" | ||
+ | # Parameters can be specified after the module name. | ||
+ | |||
+ | loop | ||
+ | vboxdrv | ||
+ | tun | ||
+ | option | ||
+ | </ | ||
+ | |||
+ | d) El siguiente archivo esta vacio: | ||
+ | |||
+ | / | ||
+ | | ||
+ | e) Tengo a la vez arrancado wicd, aunque creo que no lo uso para nada. Lo he desinstalado y sigue funcionando. | ||
Versiones de los paquetes relevantes: | Versiones de los paquetes relevantes: | ||
Line 176: | Line 307: | ||
ii usb-modeswitch-data | ii usb-modeswitch-data | ||
ii wvdial | ii wvdial | ||
+ | ii python-wicd | ||
+ | ii wicd 1.7.2.4-4.1 | ||
+ | ii wicd-daemon | ||
+ | ii wicd-gtk | ||
</ | </ | ||
informatica/linux/modem_usb_vodafone.1410286846.txt.gz · Last modified: 2015/04/13 20:19 (external edit)