Jump to content

How to Connect USB Modem Devices on Linux


geeteam

Recommended Posts

Solution 1: Create New Connection

In ubuntu systems, drivers for almost all the types of USB modem are present. You just need to create a new “mobile broadband connection” following the steps below:

Step One

Plug the USB net connecter to the system and check for the “new mobile broadband connection” in top right corner, under the item with network icon. In latest version of Ubuntu ( 12.04 onwards ) you will find “Edit Connections” option.

1-connections.png

Step Two

Select for the “new mobile broadband connection” or “Edit Connections” (in newer versions). Now, click on “Add” new connection and select “mobile broadband” in the options.

2-network-connections.png

3-choose-connection-type.png

Step Three

Select the detected device and Select the “country and region” and continue. It will show you the list of providers according to the country you have selected. Now here you can select the provider of internet connection.

4-new-connection.png

5-country.png

Step Four

Select your provider in the available options and continue. If provider is not present in the list, enter it manually as you wish and continue. On the next screen you can select your plan if you have selected your provider. According your plan the APN will be automatically set.
If you are doing manual setup of provider then put the number as *99#, give appropriate APN and leave username, password field blank.
6-provider.png
7-select-plan.png
Step Five
Save your connection and continue.
8-edit-connection.png
Step Six
Now you will see the newly created connection available in top right corner, under the item with network icon, which you can use to connect the dongle.
You have successfully connected to web now.
Solution 2: Execute Vendor’s Shell Script
For all linux flavour in general, most of the usb dongle vendors have the set up for it in form of “.sh” file, which is basically a shell script file. It can be executed in linux terminal using sh command. Follow the steps below to get it installed:
Step One
Find the “.sh” file in the inbuilt memory of the device.
For example in airtel 3g usb dongle you will find it in the folder named “Linux”. If there is no such file we cannot proceed.
Step Two
There is high probability that this “.sh” is invoking other files in the same folder.
So it will be a good approach to copy the complete folder in your system.
Step Three
For ensuring that the files are having full permissions, change the permission of the folder in your local system to 777 using the command “chmod”.
In ubuntu system use the following command to change the permission:
sudo chmod -R 777 /path/to/the/setup/folder

In other systems you can login as admin user to the terminal and use the following command:

chmod -R 777 path/to/the/setup/folder

Step Four

Now get into the folder and execute the “.sh” file present there as super user or with admin privilege. Use the following command to do so:

In ubuntu System:

sudo sh filename.sh

In other systems login as admin user in terminal and do:

sh filename.sh

Step Five

The application in now successfully installed on your linux system which you can use to connect to the web in a well managed way than the previous solution. It is well managed in the sense that you can track your datausage, use the phone dialer interface , edit the connection setting and many more.

Source : GeekStuffs

Credits : InnoCentGee

Link to comment
Share on other sites


  • Replies 2
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

  • geeteam

    2

  • dMog

    1

Popular Days

Top Posters In This Topic

and you wonder why most prefer windows over linux

hehehe ... @dMog its rather unfortunate but things are going to get better. :)

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...