Hii guys,
I got the way how to Use usb modems with Linux...
Following is the step.
These are the steps to use the Wireless USB Modems provided by various
internet service providers like –
Tata Indicom and Reliance.
Target Distributions – Segment-1) RHEL 5,CentOS 5 ,Fedora 6 and varients
Segment-2) Fedora 9,10 and varients
Step-1
Making Sure that the USB Modem is detected by your system:-
For Fedora 6,RHEL 5,CentOS 5 etc, issue the command – # lsusb -v , it
lists all the USB devices available to the system, it you see a
listing like -
Bus 003 Device 010: ID 19d2:fffd [this is the detected USB Modem]
idVendor 0×19d2
idProduct 0xfffd
bcdDevice 0.00
iManufacturer 1 ZTE, Incorporated
iProduct 2 ZTE CDMA Tech
iSerial 3 Serial Number
bNumConfigurations 1
Then your USB modem is detected. Now you need to create ttyUSB or
ttyACM device under /dev.
Step-2
Making the USB device accessable:-
In case of Fedora 6,RHEL 5,CentOS 5 etc – load the usb serial module &
create the usb device using this command - #modprobe usbserial
vendor=0×19d2 product=0xfffd (the vendor id & product id can be seen
from the output of # lsusb -v command.
Now open /etc/rc.d/rc.local & enter the following line modprobe
usbserial vendor=0×19d2 product=0xfffd.
In case of Fedora 9,10 you can skip this step and move forword if you
can see any ttyUSB or ttyACM device entry in /dev.
Step-3
Setting up the connection:-
For both the scenarios we will setup the connection in
system>administratin>network (system-config-network) tool.
NEW>Modem Connection>Forward>
Enter Following Details:-
Phone Number-#777
Provider Name-Reliance [you can use anyting here]
Login Name-OR internet (if using Tata Indiocom)
Password-OR internet (if using Tata Indiocom)
Forward>Forward>Apply.
Edit the Hardware Property of the Generic Modem device.
Modem Device-/dev/ttyUSB0 or /dev/ttyACM0 [it depends on the USB port number]
Baud Rate-460800
Flow Control-Hardware (CRTSCTS)
add following lines to the /etc/resolv.conf-
nameserver 208.67.220.220
nameserver 208.67.222.222. Now you need to Activate the device to
start using the internet.
.................. Hopes this will help all
Thanks to all
Sanjay kumar sinha
[email protected]
B.E IT 2009