informatica:linux:modem_usb_vodafone
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
informatica:linux:modem_usb_vodafone [2014/09/09 18:24] – [Configuracion] javi | informatica:linux:modem_usb_vodafone [2014/09/09 18:34] – [Configuracion] javi | ||
---|---|---|---|
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. | ||
- | Basicamente sigo las instrucciones de abajo, pero con otras configuraciones. Finalmente uso wvdial en lugar de network-manager para iniciar | + | Abajo dejo unas configuraciones por si las moscas, pero **NO** son necesarias. |
+ | |||
+ | 1. Instalar paquetes: | ||
+ | |||
+ | sudo aptitude update; sudo aptitude install | ||
+ | |||
+ | 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 | ||
+ | |||
+ | 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. | ||
Resumen de configuraciones: | Resumen de configuraciones: | ||
Line 184: | Line 280: | ||
/ | / | ||
+ | | ||
+ | e) Tengo a la vez arrancado wicd, aunque creo que no lo uso para nada | ||
Versiones de los paquetes relevantes: | Versiones de los paquetes relevantes: | ||
Line 193: | Line 291: | ||
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.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1