HuaWei E220 and is unknow!?

Bug #212980 reported by Sia Neriman
6
Affects Status Importance Assigned to Milestone
gnome-ppp (Ubuntu)
Invalid
Low
Unassigned

Bug Description

hi
i test today the last alpha versiom Hardy Heron, and try to install my USB modem(HuaWe e220).
but i can't with ppp+wvdial connect to internert. and i install the gnome-ppp package but the MODEM does not show itself. and i try the Vodafone Mobile
Connect Card driver for Linux to.
functioned also nothing

Best regards

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for your bug report. Were you able to use this modem with ubuntu in the past? There is a lot of 56k modem drivers that don't have any drivers for linux and I really suspect that it's actually the real problem you get.

Revision history for this message
Sia Neriman (sia-neriman) wrote :

i tr this to but not worked
in a terminal:
cd ~ && wget http://utils.eurion.net/hosted/huaweiAktBbo-i386.out && sudo mv ~/Desktop/huaweiAktBbo-i386.out /usr/local/etc/huaweiAktBbo-i386.out && sudo chmod +x /usr/local/etc/huaweiAktBbo-i386.out

:(

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Here is a workaround to at least get it working:

1. Open a terminal and run: cd ~ && wget http://utils.eurion.net/hosted/huaweiAktBbo-i386.out && sudo mv huaweiAktBbo-i386.out /usr/local/etc/huaweiAktBbo-i386.out && sudo chmod +x /usr/local/etc/huaweiAktBbo-i386.out && sudo cp /etc/wvdial.conf /etc/wvdial.conf.backup

2. Run gksudo gedit /etc/wvdial.conf (either in a terminal or in the window that pops up when you press Alt + F2; if you are on KDE replace "gedit" with "kate") and write there the following text (without the -------- lines):

---------------------------------------------------------------------------------------------------------------------
[Dialer Defaults]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT

[Dialer hsdpa]
Modem = /dev/ttyUSB0
BAUD = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 = AT+CGDCONT=1, “IP”, “ac.vodafone.es”
---------------------------------------------------------------------------------------------------------------------

You will have to change the value of Username, Password, Init5 (and perhaps Phone, too), depending on what provider you use. For example, if you are with Movistar you will find the necessary stuff in the first comment in http://bloc.eurion.net/archives/2007/vodafone-mobile-connect-3g-ubuntu/.

3. Again in the terminal, run: sudo touch /usr/local/bin/connect && sudo chmod +x /usr/local/bin/connect && sudo gedit /usr/local/bin/connect and write the following code into the file:

#/bin/sh
echo ""
sudo modprobe usbserial vendor=0x12d1 product=0x1003
echo "Executed modprobe..."
sleep 5
echo ""
sudo /usr/local/etc/huaweiAktBbo-i386.out
sleep 5
echo ""
sudo wvdial hsdpa

4. That's it. Now, running connect each time you want to go online should be enough (remember that some times if it doesn't work it might be necessary to pull the modem out, wait for 10 seconds, put it back in, wait 10 seconds more, and try again running "connect" once or twice).

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Saïvann: The modem works with the workaround I explain above (tested in Feisty, Gutsy and Hardy) and in Gutsy it even worked fine without it, just configuring it in network-admin as if it was a normal modem.

Revision history for this message
Sia Neriman (sia-neriman) wrote :

Saivann, what you talking about my friend?
http://en.wikipedia.org/wiki/Huawei_E220
that is not 56k modem is most popular usb modem actually in Sweden, Denmark, Norway. because you have more power and more speed as normal ADSL.

Best regards

Revision history for this message
Sia Neriman (sia-neriman) wrote :

thanx (RainCT)
, but is worked on 7.4.710 gutsy perfect. but not worked on Hady!
because the can't find the /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 device.
best regards

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Siyamend : Sorry, gnome-ppp + wvdial generally = 56k modems. I didn't know that you could use gnome-ppp with ADSL, I thought pppoeconf what the only alternative. /dev/ttyUSB* might be replaced by something else with Hardy kernel. RainCT already successfully tested his modem in Hardy so he might know what's the missing part of the puzzle.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Is this related to bug 105545?
Please test if a patch proposed there for hal-info fixes this. It's available in my PPA:
https://edge.launchpad.net/~blueyed/+archive/+index?field.name_filter=hal-info&field.status_filter=published (20080317+git20080318-1ubuntu4~blueyedppa1)

Revision history for this message
Sia Neriman (sia-neriman) wrote :

thanx, but the problem is another :)
this command in terminal found nothing about USB modem
tail -f /var/log/messages
but in gutsy and feisty find the following usb
/dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2
----
i create chatscript udev.
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/sbin/huaweiAktBbo"
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/bin/sleep 5"
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x1003"
and this found anything :(
i hope the problem be fixed before Hardy Final publishing.

** this chatscript with compile the huaweiAktBbo worked on debian Etch to. and the software Vodafone Mobile Connect Card driver for Linux https://forge.vodafonebetavine.net/frs/?group_id=12&release_id=26 must automatically everything know without compile and create chatscript.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I've tried it again and it seems like some update fixed it for me (so I'd say my problem was related to #213456) :).

Revision history for this message
Sia Neriman (sia-neriman) wrote :

RainCT,
for this
cd ~ && wget http://utils.eurion.net/hosted/huaweiAktBbo-i386.out
you need internet connection, but our discussion is how connect to internet :)

thanx

Revision history for this message
Siegfried Gevatter (rainct) wrote :

True, hadn't though about this when I wrote the instructions (I already have that file...) :P. Well, just download that file from somewhere else, drop it into your home directory (with a pendrive or whatever) and do everything explained above except for the wget. Hope that helps :).

Revision history for this message
Sia Neriman (sia-neriman) wrote :

perfect ;)
 i test it under Debian Lenny and Etch worked perfect. but change this line:
Init5 = AT+CGDCONT=1, “IP”, “ac.vodafone.es”
to
Init4 = AT+CGDCONT=1,"IP","*APN"

*APN= which apn have your ISP?

Best regards

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in gnome-ppp:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in gnome-ppp (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.