Vous êtes sur la page 1sur 2

00-23-54-A4-F4-22 Rahul

00-21-00-4A-43-78 Vijay

1. Firstly we will have to find out modem vendor id and product id. Use the foll
owing command to find it.
sudo lsusb -v
You can see output like this...
Bus 005 Device 007: ID 19d2:fffd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x19d2
idProduct 0xfffd
bcdDevice 0.00
iManufacturer 1 ZTE, Incorporated
iProduct 2 ZTE CDMA Tech
iSerial 3 Serial Number
........
Note down id Vendor and id Product some where.
2. Loading kernal module with vendor id and product id.
sudo gedit /boot/grub/grub.cfg --->> for Ubuntu 9.04
In the grub.cfg file add the following lines at the end of kernal line (Not in t
he next line)
usbserial.vendor=0x19d2 usbserial.product=0xfffd (Replace the the values with yo
ur's)
### BEGIN /etc/grub.d/10_linux ### set root=(hd0,3)
search --fs-uuid --set 126317bd-2dd9-4016-8e65-df85fda33a34
menuentry "Ubuntu, linux 2.6.28-11-generic" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=126317bd-2dd9-4016-8e65-df85fda3
3a34 ro quiet splash usbserial.vendor=0x19d2 usbserial.product=0xfffd
initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=126317bd-2dd9-4016-8e65-df85fda3
3a34 ro single
initrd /boot/initrd.img-2.6.28-11-generic
}
3. Reboot/Restart your computer.
4. Close all terminal. Open new terminal and type
sudo pppconfig
in the new (below) window select Create and give ok...
Type provider name (say reliance) and give ok
Select Dynamic and give ok
Select PAP and give ok
Enter your Reliance Number and give ok
Password is same as your Reliance Number, enter it and give ok
Do not change Modem Speed
Select Tone and give ok
Enter #777 and give ok
Enter yes
Select Manual and give ok
Give your modem port. In my (most of the) case it is /dev/ttyUSB0
Now all set. Ensure Everything is fine. Select Finished then ok
Finally in the last wind select Quit and give ok
Now you have configured your modem successfully and all set to connect.
5. To establish internet connection type the following command in terminal...
sudo pon reliance
6. Ensuring connection is established use this command...
ifconfig
Now you should see entry like this...
ppp0 Link encap:Point-to-Point Protocol
inet addr:123.239.41.80 P-t-P:220.224.134.12 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3429 errors:23 dropped:0 overruns:0 frame:0
TX packets:3683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2309338 (2.3 MB) TX bytes:731534 (731.5 KB)
Once the connection is established you can close the terminal.
7. To disconnect...
sudo poff reliance
Extra
In case if you want to monitor internet speed then install pppstatus package (su
do apt-get install pppstatus) and type sudo pppstatus in the terminal.
That's all I have to do get Internet running on my laptop

Vous aimerez peut-être aussi