How to Install Vodafone 3G USB Modem on Ubuntu

Configure Vodafone 3G Modem on Linux

Vodafone offers HUWEI K3570-Z USB Stick for their 3G wireless broadband plans. If you've purchased this 3G USB Modem from vodafone then it's very easy to surf on windows. The real challenge is in connecting the modem to linux operating system and get it working. In this hub you'll learn how to connect this modem to linux distro - ubuntu. The Information presented on this hub applies to any other linux distro but you have to find respective files from repository on your own as i can't cover installation instruction for every distro out there.

As per my testing current tutorial works for :

  • Ubuntu 10.04/10.10/11.04/11.10
  • Kubuntu
  • Fedora
  • Eee PC


There are two ways to connect USB Modem to ubuntu. First method involves installing usb-modeswitch library and manually mounting the USB drive. Second method involves usage of sakis3g library that makes connecting to the internet very easy. So it's up to you to choose any one of these methods and get yourself connected to the internet.

Vodafone 3G USB Mounted on Ubuntu
Vodafone 3G USB Mounted on Ubuntu

Method 1: Installing 3G USB Modem on Linux

In case of ubuntu you need to open synaptic package manager and download these two libraries.

usb-modeswitch
usb-modeswitch-data

If you're downloading these libraries via terminal then don't forget to install them. Once you get these two packages installed, you need to set your file manager for manual mount and run for CD and USB devices. So you have to disable the automount and autorun.

You can do that by following these instructions.

Press ALT+ F2 and type ' gconf-editor' (Without the quotes)

You'll find new window with configuration settings. Click on apps folder and then navigate to nautilus, double click on preferences directory. You'll see some options of right hand side panel.

Uncheck the following options:

  • media_automount
  • media_automount_open


Check this option

media_autorun_never

This step will stop ubuntu to open 3G USB modem device as a folder and it just mounts the device when you connect to it. Now that you have everything setup, you can create configuration for this USB modem in network connections. You can connect to the internet by browsing this new configured profile from here. If you don't find the modem in the list of profiles, you can reboot the machine again by keeping USB stick connected. This way you'll find the profile in the list and you can connect easily.

Method 2: Sakis3g Script to Connect USB Modem

In comparison to previous method connecting your modem using sakis3g is relatively easy. It has usb-modeswitch library built-in and it also supports many vodafone and other network regions around the world. Sakis3g has many ubuntu python developers that are maintaining vodafone support on this script.

Following 3G USB Modems are tested and found working with sakis3g:

  • ZTE K3570-Z
  • K3565
  • K3765


For ubuntu follow these steps to install sakis3g.

sudo apt-get install ppp
cd /usr/bin
wget 'http://www.sakis3g.org/versions/latest/sakis3g.gz'

sudo gunzip sakis3g.gz
sudo chmod +x sakis3g

Here i'm using sudo before every bash command because ubuntu requires sudo permissions to do anything on bin directory. Once you get it installed just run the following command on terminal.

sakis3g status

If it's installed successfully you can proceed to running the script with command 'sakis3g'. If not then you have to clear all the dependencies issue or any other issue.

Entering the sakis3g command in terminal will open a small window that asks you to choose options. First option is 'connect to 3g'. Select this option and click OK. Next option will ask you to choose between interface 3 or 4. Choose interface 3 and click on OK button. Next option wil ask you to choose generic driver or kernel driver. Choose generic driver and see if installation proceeds. Don't worry if it throws errors. Just keep on changing the options until it works. Then finally when you get option for APN_username and APN_Password. You have to consult with your vodafone operator for help. Or just ask in regional forums for help. In my case vodafone india has www as username and blank password. It worked for me but it may not work for you.

Sakis3g quits while entering the pin in some cases but I simply restarted the script every time and randomly it worked. Once it works, Just create an desktop shortcut to save your future hassles of entering the details. At the end, you have to keep testing.

Once you get the sakis3g running, it'll tell you that it's connected. Don't forget to have desktop shortcut for sakis settings as it makes it easy for you to run the connection script every time you boot or whenever you want.

Hope this helps to those who are searching for a way to connect their vodafone usb modem to the internet.

More by this Author

  • Patiala Shahi Gosht
    1

    Patiala's Non-veg food is quite famous across dhaba chains in India. You’ll find patiala’s non-veg dishes in almost every north indian dhaba’s and restaurant chains. Patiala shahi gosht is famous...

  • Meteor Facts - All about Meteors
    27

    Observing meteors in the sky is one of the fun experience for beginner astronomer. You’ll be able to view meteor showers without using any telescope. But If you want to get more details then you can use small...

  • The Most Dangerous Fish of the Sea
    15

    There are lots of hazardous fishes in the sea. If you managed to get hit by any of them then chances are there that you’ll get serious injuries or temporary damage to your body because of toxic or bite. If you get...


Comments 5 comments

khmohsin profile image

khmohsin 5 years ago from London,UK

Great hub on configuring and the Installing Vodafone 3G Modem on Linux with step by step.Easy to understand and helps to those who are searching for a way to connect their vodafone usb modem to the internet.Voted up


Vilma 4 years ago

Thank you very very much :)


govind 4 years ago

hi i having 3.75G HSUPA USB ADAPTOR HOW CAN CONNECT PC AND ADAPTOR AND ABOT SETTING OF PC


N3ptun3 4 years ago

Thank you for this!


prathap 4 years ago

SAKIS3G, It works like a breeze!

Thanks

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working