configuration:
1. Plugin the modem
2. go to terminal and switch to super user
3. Enter lsusb, which shows the list of connected usb devices. Output will be similar to
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:1412 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 4. Note down the Device ID for the modem ie. here it is 12d1:1412
5.Next Enter modprobe usbserial vendor=0×12d1 product=0×1412 in the terminal
enter the vendor and product number noted
6. open wvdial to configure the modem properties
gedit /etc/wvdial.conf
if wvdial is not installed, follow the following steps according to the linux version
i. for debian based linux run "sudo apt-get install wvdial " in the terminal
ii. For suse linux got to url :http://software.opensuse.org/search/ and search for wvdial
and install it using yast.
7. After opening wvdial.conf paste the following code in the window
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0 (This may also be dev/ttyUSB2 depending on where you plugged in your device)
Username = 9xxxxxxxxxx (your username, should be a number )
Password = 9xxxxxxxxxx (Your password , should be the same number)
CBaud = 460800
8. save the file and close it .
9. To connect to internet open new terminal and dial sudo wvdial
10. To close the connection press ctrl+c key
No comments:
Post a Comment