Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installation Procedure for Linux
- Before Proceeding further make sure you have wvdial installed on your laptop/desktop ,if not then install it by writing apt-get install wvdial in terminal .(you need internet connection for it)
- Now Plug in your modem in usb port , on inserting you will notice icon on your desktop screen , right click on it and eject it.
- 1. In terminal write the following command:
- $sudo lsusb
- Sometimes it need to input the password for sudo, such as
- [sudo] password for ***:
- Please input it, then it should has similar information as follows:
- Bus 002 Device 002: ID 05c6:6000
- Here the 201e:2009 is very important; it corresponds to the VID&PID of the data card. 2. Now it should load the proper module to let the kernel know the device. Do as follows:
- $sudo modprobe usbserial vendor=0x5c6 product=0x6000
- After that, using the command “dmesg” to check again, it will see the following informa tion:
- usbcore: registered new interface driver usbserial
- drivers/usb/serial/isb-serial.c: USB Serial support registered for generic usbserial_generic 2-2:1.0 generic converter detected
- usb 2-2: generic converter now attached to ttyUSB0 usbserial_generic 2-2:1.1 generic converter detected
- usb 2-2: generic converter now attached to ttyUSB1 usbserial_generic 2-2:1.2 generic converter detected
- usb 2-2: generic converter now attached to ttyUSB2 usbserial_generic 2-2:1.3 generic converter detected
- usb 2-2: generic converter now attached to ttyUSB3 usbserial_generic 2-2:1.4 generic converter detected
- usb 2-2: generic converter now attached to ttyUSB4 usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial: USB Serial Driver core
- It’s ok for loading the device, the next steps should introduce how to dial the data service. We use the wvdial command as example.
- 3. Edit the wvdial configure file by typing the following command:
- $sudo gedit /etc/wvdial.conf
- On entering the above line a new window will pop up , Fill in the details as given below and click save and close that window.
- Edit the wvdial.conf file as follows:
- [Dialer Defaults]
- Init = ATZ
- Init = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB Modem
- Baud = 115200
- Modem = /dev/ttyUSB0
- Phone = *99#
- Username =
- Password =
- Stupid Mode = 1
- 4. Do the wvdial to connect data service:
- $sudo wvdial
- This command will initialize the modem and connect you to internet .
- If connected successfully you will see this in terminal window ,see the image:
- Once you are connected press CTRL+C to disconnect from internet. From next time , :-
- 1) Plug in the device , eject it .
- 2) sudo modprobe usbserial vendor=0x5c6 product=0x6000
- 3) sudo wvdial .
- 4) ctrl+ c to disconnect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement