
So you just bought yourself a swanky new BSNL EV-DO broadband Internet device. It works happily on your Windows, fine, as they provide a Windows-friendly CD along with the device that installs the required software and drivers easily. But what about if you want to use your EV-DO in Linux, if you have it? Due to lack of official Linux support, setting up EV-DO in Linux can be quite tricky, but here is how to do it easily, without much fuss.
Linux comes in many flavors (from different vendors), like Ubuntu, openSuSE, Mandriva, Fedora, Mint. If you have one of these, or any modern Linux distro, proceed as follows.
In Linux, plug in the USB modem device. Now check if device nodes for it are created in your /dev folder. Usually, they are like /dev/ttyUSB0, /dev/ttyUSB1, /dev/usb/ttyUSB0, and so on. In most cases, this step should automatically happen. If it doesn't, then you'll have to manually create the device nodes for your USB modem by inserting its module in the kernel. To do it:
Check for the device ID of the USB modem. You do this using the following command. Run the command first with the modem unplugged, and then with modem plugged in. Compare the output in both the cases; whichever new entry appears in the list is of your modem.
lsusb
Within the output that you get, your modem (in most cases a ZTE device), will be listed something like:
Bus 002 Device 004: ID 19d2:fffe ZTE Corporation
orBus 002 Device 004: ID 19d2:fffe
Now using this device ID, you'll create its device nodes by using this command:
depmod
modprobe usbserial vendor=0x19d2 product=0xfffe
This should create the relevant device nodes for the modem in /dev folder. If not, try unplugging and then plugging in the modem. Now your work is half done.
Next, you'll need these packages installed to configure the modem:
wvdial
pppdkppp or kinternet (for KDE users)gnome-ppp (for GNOME users)
After making sure wvdial is installed, edit the file /etc/wvdial.conf to make it look similar to (note - you can use the command wvdialconf to setup the file automatically):
[Dialer Defaults]
Modem = /dev/ttyUSB0Baud = 115200Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Init3 =Area Code =Phone = #777Username = xxxxxxxxxxPassword = xxxxxxxxxxAsk Password = 0Dial Command = ATDTStupid Mode = 1Compuserve = 0Force Address =Idle Seconds = 0DialMessage1 =DialMessage2 =ISDN = 0Auto DNS = 1
Replace xxxxxxxxxx in case of username and password with the 10-digit phone number of your modem. Now, execute this command:
wvdial
No comments:
Post a Comment