The modem returns … UPDATED

It’s been a while since I was actually upset by something in GNU/Linux, but the last few days are making up for all that sane time. It’s not even a funny problem to work with anymore.

Since the installation of Ubuntu 8.04 I can’t use my 3G UMTS Modem, a Huawei e220.

I’ve tried pretty much everything I can remember, and I ran out of options to search for on Google (I even found, and tested, my own instructions for 6.06). Apparently there are a few miracle drivers developed for this modem, but that didn’t work either. What pisses me off the most is that I need this to work, and I’ve been ignoring it for some time … Not anymore. This modem has to work.

Anyone having a similar issue? Any ideas/tips you may want to share?

Update: People were kind enough to help me out solving this issue. I know have my modem properly working. Please check the comments for more information. Thanks!

I decided to go with Vodafone Mobile Connect Card, and screenshots are available here: files.goukihq.org/images/vodafone

Comments

13 Responses to “The modem returns … UPDATED”

  1. Hasse Johansen on June 7th, 2008 3:29 pm

    I am using the exact same modem on Ubuntu Hardy 64 bit.

    I am using the driver from vodafone https://forge.vodafonebetavine.net/

    There is some wellknown issues with the driver. I have to but the adapter in the usb…wait a little…pull it out…put it in wait a little…start the vodafone program…and normally it will then work

  2. Juhani on June 7th, 2008 3:34 pm

    I don’t have a usb modem, but I also use wvdial with my Nokia phone to connect to ‘net when I’m on the move.

    Two things I needed to do after upgrading to 8.04:
    For some reason 8.04 starts to wait for dial tone - and it’s not going to come. So I added to /etc/wvdial.conf

    Init4 = ATX0

    to stop wvdial from waiting. Naturally, the sequence number could be anything..

    Also after upgrade permissions of /etc/ppp/pap-secrets and /etc/ppp/chap-secrets were changed, and they’re only writable to root. Therefore wvdial couldn’t get things working regardless of getting an IP address. Being a lazy bastard I didn’t care to create a PPP group, change those two files’ permissions and add myself to the group, I just brutally run wvdial as root.

    Hope this at least gives a couple of tips where to go from here.

  3. Zak B. Elep on June 7th, 2008 4:47 pm

    Hmm I have an E220 myself but I never had any issues with it on my newly-upgraded Hardy laptop. I just use the kernel’s built-in `option’ driver, and just reload the `uhci_hcd’ module with modprobe every time I plug in the modem (as the Huawei comes with an embedded filesystem that `usb-storage’ recognizes and blocks `option’ from recognizing ttyUSB{0,1}.)

  4. Tomas Krag on June 7th, 2008 4:53 pm

    It seems to work for me after blacklisting the airprime module by adding the line

    blacklist airprime

    to /etc/modprobe.d/blacklist

    (according to instructions found here: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/105545)

    After a reboot i was able to use my normal wvdial config from 7.04

  5. Gouki on June 7th, 2008 6:26 pm

    Thank you for all the comments. I’m gonna try what you guys suggested and report back.

    Once again, thank you.

  6. Gouki on June 7th, 2008 9:16 pm

    Ok, I’m getting closer. Following the suggestion here (I still need to try Vodafone software) I was able to get a different output.

    For some reason, PPP is dying. /var/log/messages tells my the authentication succeeded, and after that I get a ‘Modem Hangup’.

    Removing airprime was definitely good.

    Zak, care to elaborate? It’s recognizing ttyUSB*, but still doesn’t work. I also tried loading uhci-hcd; nothing.

  7. Pip on June 8th, 2008 8:11 am

    It works for me alright. Although it does seem to work better on one specific usb port than it does on the others (?!). I’ve written down the wvdial configuration I use here: http://pipinlondon.blogspot.com/2008/03/getting-huawei-e220-to-work-with-ubuntu.html
    Maybe they’re of any use to you, although they’re probably provider specific.

  8. RainCT on June 8th, 2008 9:19 am

    I have the same modem and for me on Hardy (final, it didn’t work with the beta) it works out of the box, just configuring network-admin.

    You have probably already tried it, but if not:
    System -> Administration -> Network; (Unlock); Enable the modem connection and press “Properties”; Enable “Enable this connection”, choose “GPRS/UMTS”, fill in access point and account data (in my case it’s access point ac.vodafone.es, user vodafone and password vodafone); go to the “Modem” tab and write “/dev/ttyUSB0″ (leave the other fields as Tones and Off). It takes *some* time until it connects after configuring it but after restart it’s on before I can login and it’s rock stable (when I used a script back with Edgy it disconnected from time to time).

  9. speckdackel on June 8th, 2008 9:57 am

    ever tried gcom?
    i need to start
    gcom -d /dev/ttyUSB0
    [or whatever devicenode the modem is]
    and enter the PIN of the SIM card before i can use wvdial successfully…
    hth, chris

  10. phillip rivers on June 8th, 2008 11:26 am

    go ubuntu!

  11. empa on June 8th, 2008 12:46 pm

    Take out the sim-card out of the modem and remove the pin-code by using a mobile-phone.

    Download this file.
    http://hem.passagen.se/emilvieweg/E220.tar.gz
    restart the computer. Make sure the modem is plugged in when you restart.

    Uncompress the file you downloaded and click and run the file INSTALL in the folder E220. Wait 5 seconds and then open a terminal and write:
    sudo wvdial

    If the text looks something like this you are connected:
    WvDial Modem: ATDT*99#
    WvDial Modem: CONNECT
    WvDial: Carrier detected. Starting PPP immediately.
    WvDial: Starting pppd at Sun Jun 8 14:15:13 2008
    WvDial: Pid of pppd: 6097
    WvDial: Using interface ppp0
    WvDial: local IP address 79.138.175.181
    WvDial: remote IP address 10.64.64.64
    WvDial: primary DNS address 80.251.192.244
    WvDial: secondary DNS address 80.251.192.245

    Good luck!

  12. Stoffe on June 8th, 2008 1:05 pm

    I’m using the application from the link in the first post and it works mostly fine. Like that poster said, sometimes I have to unplu/replug the modem, but mostly not.

    The only thing that does not work is that there is no NM intergration, meaning that FF, Pigdin (and Epiphany if I ever would want to use that) thinks I’m offline and no real way to fix that automatically. Really really annoying when reopening a whole session, and also that I have to go to the menus to fix it every time.

  13. Gouki on June 9th, 2008 11:04 am

    Hi everyone! Vodafone Mobile Connect Card DID work marvelously! Thank you all for the comments.

    Screenshots: http://files.goukihq.org/images/vodafone

Leave a Reply




Site last updated: August 19, 2008 | Page last updated:  July 6, 2008