Advertisement
Guest User

Untitled

a guest
Aug 6th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. Installation Procedure for Linux
  2. 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)
  3. 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.
  4. 1. In terminal write the following command:
  5. $sudo lsusb
  6. Sometimes it need to input the password for sudo, such as
  7. [sudo] password for ***:
  8. Please input it, then it should has similar information as follows:
  9. Bus 002 Device 002: ID 05c6:6000
  10. 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:
  11. $sudo modprobe usbserial vendor=0x5c6 product=0x6000
  12. After that, using the command “dmesg” to check again, it will see the following informa tion:
  13. usbcore: registered new interface driver usbserial
  14. drivers/usb/serial/isb-serial.c: USB Serial support registered for generic usbserial_generic 2-2:1.0 generic converter detected
  15. usb 2-2: generic converter now attached to ttyUSB0 usbserial_generic 2-2:1.1 generic converter detected
  16. usb 2-2: generic converter now attached to ttyUSB1 usbserial_generic 2-2:1.2 generic converter detected
  17. usb 2-2: generic converter now attached to ttyUSB2 usbserial_generic 2-2:1.3 generic converter detected
  18. usb 2-2: generic converter now attached to ttyUSB3 usbserial_generic 2-2:1.4 generic converter detected
  19. 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
  20. 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.
  21. 3. Edit the wvdial configure file by typing the following command:
  22. $sudo gedit /etc/wvdial.conf
  23. 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.
  24. Edit the wvdial.conf file as follows:
  25. [Dialer Defaults]
  26. Init = ATZ
  27. Init = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB Modem
  28. Baud = 115200
  29. Modem = /dev/ttyUSB0
  30. Phone = *99#
  31. Username =
  32. Password =
  33. Stupid Mode = 1
  34. 4. Do the wvdial to connect data service:
  35. $sudo wvdial
  36. This command will initialize the modem and connect you to internet .
  37. If connected successfully you will see this in terminal window ,see the image:
  38. Once you are connected press CTRL+C to disconnect from internet. From next time , :-
  39. 1) Plug in the device , eject it .
  40. 2) sudo modprobe usbserial vendor=0x5c6 product=0x6000
  41. 3) sudo wvdial .
  42. 4) ctrl+ c to disconnect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement