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.
ALT+F2
Ejecuta desde allí:
sudo wvdial vodafone
Saludos 😀
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?
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. 😀
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?
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!
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
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
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.
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!
Piece of writing writing is also a excitement, if you know afterward you can write otherwise it is difficult to write.
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!
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…
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
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.
WOW just what I was searching for. Came here by searching for
gaming
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.
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!
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.
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!
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
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
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
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