Later versions of Ubuntu (>8.10) remove the need to add the blacklist, usb_modeswitch, and Network Manager upgrades.
The basics also work on Red Hat and Fedora (>9.0) or any system using Gnome, in particular, Network Manager version > 0.70, you'll bypass a lot of the extra work here as it is mostly automatic.
Firstly, "su" and become root, if you're lazy and have not given a root password, "sudo -i" and whilst you're there, issue passwd command to give root a password.
Yes I know it's a su V sudo thing, I prefere su, it's safer given sudo's default settings which nobody seems to change anyway, so su far more secure than sudo.
Secondly, do not use any DEB package of usb-modeswitch! if it exists, remove it!
Next, get the three usb_modeswitch files from http://www.draisberghof.de/usb_modeswitch
(these were current filenames when I got them, get the latest version off the download page)
If you have to run this manually, test with: usb_modeswitch -v 0x12d1 -p 0x1003 -H
Add to the end of /etc/modprobe.d/blacklist
# e169/220 conflict resolution
(As of 2.6.27 kernels, airprime has been removed, those using later kernels may not need this step either, I only use Ubuntu LTS's so when 10.4 is released I'll verifiy and ammend as needed)
Next, you'll need to remove Wicd if you use it and use Network Manager, if using hardy you need to upgrade Network Manager, this is painless (although I miss wicd's ability to use scripts on selective connections) but this is far easier than messing about with wvdial which has mixed success. So if you are on hardy do the following
The steps in blue are only required for Hardy 8.04, you do not need to add the PPA or update Network Manager if using 8.10 or higher as NM version 7+ comes with Mobile Broadband abilities already.
At this time we should be ready, poweroff yor PC, insert the HSPA modem, and powerup!
Now right click on Network Manager icon, select Edit Connections, Mobile Broadband. NM should then ask you for your country and carrier and everything should be ready to go!
If you have any comments, additions, updates, etc.. please let us all know