13 May 2010

Ubuntu and Vodafone Mobile Broadband (Huawei K3765)


To get Vodafone Mobile Broadband with Huawei K3765 3G modem working on Ubuntu Lucid all you have to do is this:
1. Open up a terminal and enter this: (working internet connection required)
     $ sudo apt-get install usb-modeswitch usb-modeswitch-data
    Now you can close the terminal window.
    Note: You don't have to do this step with Ubuntu 11.10 and after.
2. Insert USB modem.
3. Open up from menu: System-Preferences-Network Connections. Select "Mobile Broadband" tab and click add. Select your device (if not already done). Next choose your country, provider and data plan. On next screen you have all the settings set up. All you have to do is to enter your pin and check "Connect automatically".

That it, now you have a working internet connection (max ~700KB/s).  :-)

Update: I have tested the stick in Raring 13.04 and it is working out of the box!
Update 2 : In 13.10 (saucy) i ran into troubles. I could saw the adapter with lsusb but network manager did not see it. I hat to install mdem-manager-gui and enable it from there.
  $ sudo apt-get install modem-manager-gui
Update 3 : In 14.04, again, i had some troubles. From lsusb command output i have got the vendor and product code (Bus 003 Device 003: ID 12d1:1520 Huawei Technologies Co., Ltd. K3765 HSPA)  for the following command:
  $ sudo usb_modeswitch -c /etc/usb_modeswitch.conf -v 12d1 -p 1520
Then i had to re-plug the modem and everything worked.