Inicio > Ubuntu > Conectarse a Internet con el modem-usb de Vodafone

Conectarse a Internet con el modem-usb de Vodafone

Voy a explicar como lo hice yo, es sencillo y se hace con pocos pasos. Si no funciona mirad otros manuales en otras paginas pero en un principio os deberia funcionar.

1º: Creamos el archivo «huawei220» en /etc/modprobe.d. Abrimos un terminal (Aplicaciones/accesorios/terminal) y escribimos:

sudo gedit /etc/modprobe.d/huawei220

Te pedira la contraseña que tienes en Ubuntu. Tras ponerla se abrira un archivo de texto, escribimos lo siguiente dentro y guardamos:

#Huawei E220
alias huawei usbserial
options huawei vendor=0x12d1 product=0x1003

2º: Al conectar el modem lo detectara como un cd (si no saltate este paso). Para desmontarlo escribe:

sudo umount /media/cdrom-1

3º: Saca los usb que tengas (boton derecho y «desmontar el volumen») si tienes alguno, y despues escribe:

sudo rmmod usb_storage

4º: Escribe lo siguiente (este paso es para configurar el modem con el archivo que creamos antes):

sudo modprobe huawei220

5º: Ahora edita el fichero /etc/wvdial.conf. Para ello:

sudo gedit /etc/wvdial.conf Escribe en el lo siguiente:
[Dialer Defaults]
Phone = *99***1#

Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT

[Dialer reset]
Modem = /dev/ttyUSB0
Init1 = AT

[Dialer pin]
Modem = /dev/ttyUSB0
Init1 = AT+CPIN=XXXX <<<<Aqui debeis escribir vuestro PIN

[Dialer vodafone]
Phone = *99***1#
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,»IP»,»ac.vodafone.es»

6º: Escribis lo siguiente y poneis vuestro PIN, despues pulsais Intro:

sudo wvdial pin

*Re-Editado 7º: Creamos un lanzador nuevo en el menu Internet. Para ello vamos a Sistema/Preferencias/Menu Principal alli elegimos Internet/+Elemento nuevo le damos un nombre(Conectar , por ejemplo) e introducimos wvdial vodafone como comando, aceptamos y cerramos

Y voilá ya teneis Intenet con vuestro modem. Para conectaros unicamente vais a Aplicaciones/Internet/Conectar(o como se llame) y lo ejecutais. (Si con el lanzador no funciona conectaros desde el terminal para ello escribid: sudo wvdial vodafone cada vez que os querais conectar)

Muchas gracias a NeoDaVe que me ha dado la idea para crear el lanzador. Ubuntu es lo que tiene que siempre hay gente que sabe mas que tu y te puede ayudar.

Categorías: Ubuntu Etiquetas: , , , ,
  1. noviembre 2, 2007 a las 3:26 am

    ALT+F2

    Ejecuta desde allí:

    sudo wvdial vodafone

    Saludos 😀

  2. jgcp
    noviembre 2, 2007 a las 3:55 am

    Editado. Muchas gracias, no me habia dado por pensar como automatizar la ejecucion. Pero una cosa, si haces lo que tu dices te aparece un terminal igualmente no?

  3. noviembre 2, 2007 a las 4:12 am

    No te aparece un terminal, lo que no se si bastará con hacer lo que tu dices o tendrás que usar gksudo delante, en vez de sudo.

    Ya que no he usado esta aplicación no se la manera de usarlo. 😀

  4. FOX
    May 3, 2008 a las 7:25 am

    a mi me da error al ejecutar la linea «sudo rmmod usb_storage», me dice «ERROR: Module usb_storage does not exist in /proc/modules» ¿que hago?

  5. JL
    May 12, 2008 a las 12:29 am

    De donde has sacado la opción «Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0»?

    Tengo un Huawei E272 y necesito averiguar qué parametros tengo que utilizar.

    Gracias!

  6. Rocío
    noviembre 5, 2008 a las 7:05 pm

    Hola, tengo un huawei e220 y mi ordenador no lo reconoce, me han dicho que tengo q descargarme de internet unos codecs para q mi ordenador lo reconozca,alguien sabe cuales son y como puedo encontrarlos?????
    Gracias

  7. checho
    febrero 15, 2009 a las 6:50 am

    Hola porfavor ayuda tengo un modem huawei e160 necesita saber en phone = ??? que debo colocar con referencia al modelo de mi modem

    de antemano gracias

  8. julio 19, 2012 a las 6:21 pm

    certainly like your website but you have to check the spelling
    on quite a few of your posts. Several of them are rife with spelling problems and I find it very bothersome to tell
    the truth nevertheless I will surely come back
    again.

  9. febrero 6, 2013 a las 12:53 pm

    I’m really enjoying the design and layout of your website. It’s a very easy on the
    eyes which makes it much more enjoyable for me to come here and visit more often.

    Did you hire out a developer to create your theme? Great work!

  10. febrero 7, 2013 a las 9:02 am

    Piece of writing writing is also a excitement, if you know afterward you can write otherwise it is difficult to write.

  11. febrero 26, 2013 a las 10:30 pm

    I feel your angst. I never had any luck whatsoever with this kind of thing, either.
    So glad to find out I am not by myself!

  12. febrero 27, 2013 a las 4:27 am

    I need to to thank you for this great read!! I certainly loved every bit of it.
    I’ve got you book marked to look at new stuff you post…

  13. abril 9, 2013 a las 9:51 am

    If you are going for most excellent contents like myself, just
    pay a quick visit this web page everyday since it presents feature contents,
    thanks

  14. abril 19, 2013 a las 4:52 am

    If you wish for to grow your know-how just keep visiting this
    site and be updated with the most up-to-date gossip
    posted here.

  15. abril 24, 2013 a las 1:26 pm

    WOW just what I was searching for. Came here by searching for
    gaming

  16. May 6, 2013 a las 5:11 pm

    Excellent way of telling, and nice article to
    get information on the topic of my presentation subject, which i am going to deliver in college.

  17. May 11, 2013 a las 9:01 am

    Greetings! I’ve been following your weblog for a while now and finally got the bravery to go ahead and give you a shout out from Kingwood Tx! Just wanted to tell you keep up the great work!

  18. May 12, 2013 a las 4:01 pm

    If you wish for to improve your familiarity simply keep visiting
    this website and be updated with the most up-to-date news update
    posted here.

  19. junio 25, 2013 a las 6:34 am

    I do not even understand how I ended up here, however I
    assumed this post used to be good. I don’t recognize who you’re however definitely you’re going to a famous blogger if you happen to aren’t already.
    Cheers!

  20. junio 29, 2013 a las 9:38 pm

    I think this is one of the most important information for
    me. And i am glad reading your article. But should remark on few general
    things, The site style is ideal, the articles is really
    excellent : D. Good job, cheers

  21. marzo 13, 2018 a las 6:09 am

    Thank you for your site post. Thomas and I are saving for just a
    new e book on this theme and your post has made us to save the money.
    Your thinking really answered all our inquiries. In fact,
    a lot more than what we had acknowledged just before we ran into your excellent blog.

    I actually no longer nurture doubts including a troubled mind
    because you have clearly attended to the needs here.
    Thanks

  22. diciembre 27, 2018 a las 7:06 am

    I feel this is one of the so much important information for
    me. And i am glad studying your article. However wanna commentary on some basic issues, The website taste is wonderful, the articles
    is actually nice : D. Just right process, cheers

  23. noviembre 10, 2019 a las 9:03 am

    Magnificent beat ! I wish to apprentice whilst you amend your
    site, how can i subscribe for a weblog website?
    The account helped me a applicable deal. I have been tiny bit acquainted
    of this your broadcast provided vivid clear idea

  1. junio 13, 2014 a las 2:38 pm
  2. julio 6, 2014 a las 2:29 am
  3. septiembre 5, 2014 a las 4:34 am
  4. septiembre 5, 2014 a las 6:16 am
  5. enero 14, 2015 a las 10:38 pm
  6. febrero 14, 2015 a las 10:53 am
  7. junio 16, 2015 a las 10:39 am
  8. julio 24, 2015 a las 11:00 am
  9. septiembre 1, 2015 a las 6:18 am
  10. septiembre 23, 2015 a las 1:36 pm
  11. septiembre 30, 2015 a las 9:07 pm
  12. octubre 16, 2015 a las 3:20 am
  13. octubre 25, 2015 a las 2:09 pm
  14. octubre 26, 2015 a las 3:40 pm
  15. noviembre 4, 2015 a las 3:48 pm
  16. julio 2, 2018 a las 8:43 am

Replica a how to win the lottery fast Cancelar la respuesta