Vous êtes sur la page 1sur 3

NOTE OF CAUTION:

These steps are exactly applicable only to the following Data Card model:
o 3G USB Data Card 3.6Mbps - Teracom LW272
I will publish a more detailed and generic set of steps applicable for all similar devices, in a
later post.
IF YOU FACE ANY DIFFICULTIES USING THIS METHOD TO GET YOUR DEVICE
WORKING,
DO LET ME KNOW - use the 'comments' link below - I'LL TRY MY BEST TO HELP YOU
OUT.

STEPS:
(You may find it easier to 'copy-paste' the shell commands, to avoid typing mistakes).
STEP 01: Plug in the modem.
STEP 02: Verify that the device is exactly the same one as described here:
Issue the following command at the Terminal ('copy-paste'/type, press ENTER key):
echo $(lsusb | grep '19d2') | cut -c21-

You should see something like
this:
Bus 001 Device 004: ID 19d2:0108 ONDA Communication S.p.A.
or this:
Bus 001 Device 004: ID 19d2:2000 ONDA Communication S.p.A.
If not,
Your device seems to be different than what is described here. These settings might not work.
STOP.
If you see something similar,
You may proceed safely.
STEP 03: Install usb-modeswitch,
by issuing the following command at the Terminal:
sudo apt-get install usb-modeswitch
STEP 04: Add the modeswitch rules for the device in the rules configuration file as follows:
In Terminal, type
sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules
In the file that we now opened in gedit,
below the line that says
LABEL="modeswitch_rules_begin"
add the following:
#TERACOM LW272 USB 3G MODEM
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0108", RUN+="usb_modeswitch '%b/%k'"
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
Save and exit the text editor.
STEP 05: Add the modeswitch control configuration for the first device id, as follows:
First, make a copy of an existing control configuration.
sudo cp /etc/usb_modeswitch.d/1c9e\:9200 /etc/usb_modeswitch.d/19d2\:0108
Then, edit these to suit our device:
sudo gedit /etc/usb_modeswitch.d/19d2\:0108
In the file just opened, change the following:
1. Name of the device in the title comments.
Change to
# TERACOM LW272 USB 3G MODEM
2. DefaultVendor
Change to
DefaultVendor= 0x19d2
3. DefaultProduct
Change to
DefaultProduct=0x0108
4. TargetVendor
Change to
TargetVendor= 0x19d2
5. TargetProduct
Change to
TargetProduct= 0x0108
Save and exit.
STEP 06: Next, create the modeswitch control configuration for the second device id:
Make a copy of the first device's control configuration file
sudo cp /etc/usb_modeswitch.d/19d2\:0108 /etc/usb_modeswitch.d/19d2\:2000
Edit the file
sudo gedit /etc/usb_modeswitch.d/19d2\:2000
and make the following changes:
1. DefaultProduct
Change to
DefaultProduct=0x2000
2. TargetProduct
Change to
TargetProduct= 0x2000
Save and exit.

STEP 07: Insert the usbserial module as follows:
Open up the following file:
sudo gedit /etc/modules
and add the following lines at the end of the file:
usbserial vendor=0x19d2 product=0x0108
usbserial vendor=0x19d2 product=0x2000
Save, exit.
STEP 08: Remove device from USB port.
STEP 09: Restart the PC.
The DEVICE CONFIGURATION IS OVER.
Now, to set up the new connection for BSNL 3G Service, follow these additional steps:
STEP 10: After logging in, Plug in the device in the USB port, and WAIT for some time (around 10 to
20 seconds).
STEP 11: Now click the NetworkManager Applet on the top panel.
A list of available connections will appear.
Among these, there should be something like this:
New Mobile Broadband (GSM) connection...
Click on that.
The New Mobile Broadband Connection Wizard will appear.
Click the "Forward" button.
Select "India" from the list of countries.
Click "Forward".
Select "BSNL/Cellone" from the list of providers.
Click "Forward".
From the "Select your Plan" dropdown, select your plan from the list.
If not present,
Select the last option "My plan is not listed...".
Now in the "Selected Plan APN (Access Point Name)" textbox, enter your APN.
Note: If unsure about your plan's APN,
Please confirm the correct APN, for your plan and area, with BSNL Customer Care.
For me, (at Thiruvananthapuram, Kerala), the APN was
bsnlnet
Click "Forward".
Click "Apply".
Wait and behold, you should see the long awaited "Connected" notification! :-)

REFERENCES:
http://www.draisberghof.de/usb_modeswitch
http://sakis.tel4u.gr/blog/sakis3g/
http://duopetalflower.blogspot.com/2010/05/configuring-bsnl-evdo-capitel-3g-usb.html

Vous aimerez peut-être aussi