On Sun, Dec 5, 2010 at 8:37 AM, Shino Jacob <[email protected]> wrote:

> I am using ubuntu 9.1 . The evdo is not working in it.
> I did everything for wvdial, but still no response,
> is it due to any bug in 9.1?
>
> Pls try this solun.
(source:  http://bsnlevdoclub.com/forum)

The new USB Modem from "Capitel" has inbuilt driver for windows. When you
plug in the device in your computer it is shown as a virtual CD ROM. Hence
the Linux (Ubuntu 9.10) can not figure out how to use it as a modem. So, to
overcome this problem we you have to flip the device from virtual CD ROM
mode to USB Modem mode. To do that, you need to have
usb_modeswitchinstalled on your system.
Download u8sb_mode switch from here
USB_MODESWITCH<http://www.draisberghof.de/usb_modeswitch/#download>and
install it on your system [First install "usb-modeswitch-data" and
then
"usb_modeswitch-x.x.x"].

Also before doing anything further I would suggest you to configure Network
Manager for your device.
Open Network Manager, go to edit connections and then click on tab of Mobile
Broadband. Here, click on "Add". You will get a window saying "Set up a
Mobile Broadband Connection". Click Forward. Select Country. When You reach
"Select Your Provider" DO NOT SELECT BSNL FROM THE LIST. Click on radio
button below that list which says "I can't find my provider and I wish to
enter manually". Enter some name e.g. BSNL and select second option "My
provider uses CDMA Technology (1xRTT, EVDO)" from the list. Now in next
window enter your "Username" and "Password" (your telephone number for
both). Keep "Number" as #777. Select "Connect Automatically". click on
"Apply" and "Close" the Network Manager.

Now again let's get back to flipping the USB Modem from Virtual CD ROM to
USB Modem. Do the following.
Attach USB Modem to the computer.
Open the Terminal.
Type command lsusb and enter.
You will get the Vendor and Product ID fo your device.
Something like this: "Bus 005 Device 003: ID 1c9e:9e00" (First one is vendor
id [1c9e] and second is product id [9e00]).
Note it down.

Now type following command in terminal
sudo gedit /usr/sbin/initmodem.sh
Copy following in it and replace your Vendor and Product ID where ever
required.
##################################################
#!/bin/sh
sudo usb_modeswitch -v 0x<YOUR_VENDOR_ID> -p 0x<YOUR_PRODUCT_ID> -V 0x1c9e
-P 0x9e00 -M 55534243123456780000000000000606f50402527000000000000000000000
sleep 10
sudo modprobe usbserial vendor=0x<YOUR_VENDOR_ID> product=0x<YOUR_VENDOR_ID>
#######################END#########################

Save it and close it.
Do a chmod +x /usr/sbin/initmodem.sh to make it executable.

Run the following command.
sudo /usr/sbin/initmodem.sh

After successful run wait for some time and you will see that your BSNL
Modem will appear in Network Manager's Wireless Broadband list.
It should automatically get connected or else try to connect to it by
clicking on it in the list.

I hope it will work for you.
The only drawback is that you have to run the command "sudo
/usr/sbin/initmodem.sh" every time you insert the USB Modem in your
computer. [image: Neutral]
If anyone knows how to make it automatically please share.

-- 
Regards
..............
Rijoy V

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

Reply via email to