==HSDPA Huawei E160g==
'''Note:- If you intend to use this device with Intrepid Ibex Ubuntu Version 8.10 due to be released at the end of October 2008 you need not follow any of the steps below. The new version of the Network Manager supports Mobile dialup connections from the Network Manager icon itself on your desktop'''
For the most part if you can connect you may be able to browse the Internet, I say may be reservedly as this device has a tendency to misbehave at critical moments. We can only recommend that you do not rely on this device to service your connection whatever platform you are using, if the project or work is important enough for an internet connection and this is essential then this is not the device to hedge your bets on or get you out of a jam it may work but chances are it won't.
Although this howto is specifically with Ubuntu in mind there is no reason why this procedure will not work on other OS flavour.
'''Step 1'''
Your modem is supplied as a package, included in it is the USB modem itself the SIM card and the phone number to use. At the moment the USB Modem device has no credit associated with it which will be needed for continued Internet operation.
Remove the SIM card from the package the USB Modem came with and insert this into your own mobile phone, yes thats right your own mobile phone not the USB Modem (Not Yet at any rate).
'''Step 2'''
Go to the following web page [https://my3.three.co.uk/mysecurity/register.do https://my3.three.co.uk/mysecurity/register.do]. You need to do this first with the SIM card in the Mobile phone, at present you do not have a password to validate a voucher or login to your "my3" account. Filling the details on this page will send a text message to the SIM card in the phone this will be your login password for your USB Mobile phone Number, be certain to write this down when you receive it, this is very IMPORTANT.
'''Step 3'''
Now go to the following page [http://three.co.uk/my3 three.co.uk/my3] armed with your password enter the digits that correspond to the USB Modem device '''BUT with the SIM card still in your own phone''', enter into the relevant box the password emailed to the USB Modem Phone No via your own mobile phone.
'''Step 4'''
At this point we recommend you purchase a '''three mobile voucher''' at the moment it is not suitable for use with USB Modem, the voucher itself needs to be converted however the process is well documented through your my3 page. The voucher can be obtained from many retail outlet's, we do not recommend credit purchase using a credit card as the voucher value does not get converted for use with broadband without additional steps.
'''Step 5'''
By now we hope that the voucher has been correctly accredited to your USB Modem device. If you have logged into your account and converted your voucher please check the '''My Account''' section of your my3 page.
'''Step 6'''
We have followed all the steps we need to to activate the account and the SIM card, remove the card from your own Mobile phone and place this now into the USB Modem device. We now need to prepare the Linux operating system, if you are running Ubuntu 8.04 or Hardy Heron wvdial should already be installed however you need to make some entries to detect and the modem device is attached and install a modem script called '''wvdial.conf'''. First lets deal with '''wvdial.conf''' as this is the easiest to deal with run one of the following commands to edit this file.
If you are familiar with '''vim''' and can edit with it use the following command:
#> sudo vim /etc/wvdial.conf
If '''vim''' is a problem for you use this command instead
#> sudo gedit /etc/wvdial.conf
Using either of these methods enter the correct phone number and the correct password for the USB Device. You can copy and paste the contents of '''wvdial.conf''' from the section below.
[Dialer Defaults for wvdial.conf]
Phone = *99#
#Phone = *99***1# #Not required
Username = 07723777777 #= Sample USB Mobile Phone No
Password = woiuFF #= Sample password as set by three
Stupid mode = 1
Dial Command = ATDT
[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATE0V1&D2&C1S0=0 +IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init3 = AT+CGDCONT=1,"IP","three.co.uk";