Here I will be sharing on Linux software. One of them wvdial. Wvdial is needed, if we use the Internet connection, especially Modem. Sometimes there are modems that can only connect to a windows only, but can not connect via Linux. So, we have to download the wvdial through windows. Files that must be downloaded, among others:
For Linux x86
1. libwvstreams4.6-base_4.6-2_i386.deb
2. libwvstreams4.6-extras_4.6-2_i386.deb
3. libxplc0.3.13_0.3.13-2ubuntu2_i386.deb
4. usb-modeswitch_1.0.2-1_i386.deb
5. libuniconf4.6_4.6-2_i386.deb
6. libnss3-1d_3.12.6-0ubuntu0.8.04.1_i386.deb
7. wvdial_1.60.1 + nmu2ubuntu1_i386.deb
For Linux x64
1. libwvstreams4.6-base_4.6-2_amd64.deb
2. libwvstreams4.6-extras_4.6-2_amd64.deb
3. libxplc0.3.13_0.3.13-2ubuntu2_amd64.deb
4. usb-modeswitch_1.0.2-1_amd64.deb
5. libuniconf4.6_4.6-2_amd64.deb
6. libnss3-1d_3.12.6-0ubuntu0.8.04.1_amd64.deb
7. wvdial_1.60.1 + nmu2ubuntu1_amd64.deb
If all the files have been downloaded, let's install on Linux. First open a terminal, then type this command:
For Linux x86
$ Sudo dpkg-i libwvstreams4.6-base_4.6-2_i386.deb
$ Sudo dpkg-i libwvstreams4.6-extras_4.6-2_i386.deb
$ Sudo dpkg-i libxplc0.3.13_0.3.13-2ubuntu2_i386.deb
$ Sudo dpkg-i usb-modeswitch_1.0.2-1_i386.deb
$ Sudo dpkg-i libuniconf4.6_4.6-2_i386.deb
$ Sudo dpkg-i libnss3-1d_3.12.6-0ubuntu0.8.04.1_i386.deb
$ Sudo dpkg-i wvdial_1.60.1 + nmu2ubuntu1_i386.deb
For Linux x64
$ Sudo dpkg-i libwvstreams4.6-base_4.6-2_amd64.deb
$ Sudo dpkg-i libwvstreams4.6-extras_4.6-2_amd64.deb
$ Sudo dpkg-i libxplc0.3.13_0.3.13-2ubuntu2_amd64.deb
$ Sudo dpkg-i usb-modeswitch_1.0.2-1_amd64.deb
$ Sudo dpkg-i libuniconf4.6_4.6-2_amd64.deb
$ Sudo dpkg-i libnss3-1d_3.12.6-0ubuntu0.8.04.1_amd64.deb
$ Sudo dpkg-i wvdial_1.60.1 + nmu2ubuntu1_amd64.deb
After installing wvdial with the above, then continue with this command:
$ Lsusb
(Appear like this. Layout usb modem seek you)
Bus 002 Device 003: ID 1c9e: 9d00 --- modem to be here (Example)
Bus 002 Device 002: ID 8087:0020 Intel Corp.. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45: 641d Microdia
Bus 001 Device 002: ID 8087:0020 Intel Corp.. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
After that, type this command:
$ Modprobe usbserial vendor = 0x9d00 product = 0x1c9e
Then type this command:
$ Dmesg
[465.718011] USB Serial support registered for generic
[465.718025] usbserial_generic 2-1.1:1.0: generic converter detected
[465.718108] usb 2-1.1: generic converter now attached to ttyUSB0
[465.718116] usbserial_generic 2-1.1:1.1: generic converter detected
[465.718151] usb 2-1.1: generic converter now attached to ttyUSB1
[465.718157] usbserial_generic 2-1.1:1.2: generic converter detected
[465.718193] usb 2-1.1: generic converter now attached to ttyUSB2
[465.718202] usbserial_generic 2-1.1:1.3: generic converter detected
[465.718254] usb 2-1.1: generic converter now attached to ttyUSB3
[465.718264] usbserial_generic 2-1.1:1.4: generic converter detected
[465.718324] usb 2-1.1: generic converter now attached to ttyUSB4
[465.718338] usbcore: registered new interface driver usbserial_generic
[465.718339] usbserial: USB Serial Driver core
Kemduian, type the last command:
$ Sudo wvdialconf
Editing `/ etc / wvdial.conf '.
Scanning your serial ports for a modem.
Modem Port Scan <* 1>: S0 S1 S2 S3
<Info> ttyUSB0: Device or resource busy
Modem Port Scan <* 1>: usb0
WvModem <* 1>: Can not get information for serial port.
ttyUSB1 <* 1>: ATQ0 V1 E1 - failed with 2400 baud, next try: 9600 baud
ttyUSB1 <* 1>: ATQ0 V1 E1 - failed with 9600 baud, next try: 9600 baud
ttyUSB1 <* 1>: ATQ0 V1 E1 - and failed too at 115200, giving up.
WvModem <* 1>: Can not get information for serial port.
ttyUSB2 <* 1>: ATQ0 V1 E1 - failed with 2400 baud, next try: 9600 baud
ttyUSB2 <* 1>: ATQ0 V1 E1 - failed with 9600 baud, next try: 9600 baud
ttyUSB2 <* 1>: ATQ0 V1 E1 - and failed too at 115200, giving up.
WvModem <* 1>: Can not get information for serial port.
ttyUSB3 <* 1>: ATQ0 V1 E1 - OK
ttyUSB3 <* 1>: ATQ0 V1 E1 Z - OK
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 - OK
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 - failed with 2400 baud, next try: 9600 baud
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 - OK
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 & D2 - failed with 9600 baud, next try: 9600 baud
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 & D2 - ATQ0 V1 E1 S0 = 0 & C1 & D2
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 + FCLASS = 0 - failed with 9600 baud, next try: 9600 baud
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 + FCLASS = 0 - ATQ0 V1 E1 S0 = 0 & C1 + FCLASS = 0
ttyUSB3 <* 1>: Modem Identifier: ATI - Manufacturer: Manufacturer
ttyUSB3 <* 1>: Max speed is 9600; that should be safe.
ttyUSB3 <* 1>: ATQ0 V1 E1 S0 = 0 & C1 - OK
WvModem <* 1>: Can not get information for serial port.
ttyUSB4 <* 1>: ATQ0 V1 E1 - failed with 2400 baud, next try: 9600 baud
ttyUSB4 <* 1>: ATQ0 V1 E1 - failed with 9600 baud, next try: 9600 baud
ttyUSB4 <* 1>: ATQ0 V1 E1 - and failed too at 115200, giving up.
Found a modem on / dev/ttyUSB3.
Modem configuration written to / etc / wvdial.conf. --- Modem meet
* To change the setting wvdial, type this command in the terminal.
$ Sudo gedit / etc / wvdial.conf
[Dialer defaults]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Stupid Mode = yes
Modem Type = Analog Modem
Phone = # 777
Modem = / dev/ttyUSB3
Username = smart
Dial Command = ATDT
Password = smart
Baud = 460800
* Here I use a smart, to flexi, live aja changed, the process is the same anyway.
* After the save and quit
To connect the modem, type the command.
$ Sudo wvdial
Note: If you still can not connect to the Internet, try to check on the internet through Windows, how do you have a modem that can be connected in Linux. Do not forget to include the name of the provider that you use. (Flexi, Smart, and others).
Good Luck. :)
No comments:
Post a Comment