Setting ZTE USB Modem Smartfren Connex AC-682 in Ubuntu 11.04
After browsing here and there looking up tutorial setting this modem, and I found also a practical way, the following steps ..
Step 1:
Turn on the computer, go to the ubuntu desktop, and input to plug the usb modem, open a terminal
Barrcuda @ ubuntu: ~ $ lsusb
Bus 003 Device 002: ID 09da: 000a A4 Tech Co.., Ltd. Port Mouse
Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 19d2: ffde Onda Communication SpA
Bus 002 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
From the results of TSB in getting the vendor id (19d2) and product id (ffde). Ffde code means the modem is detected as storoge device or CD-ROM.
Step 2:
Now we eject the CD-ROM drive TSB
Barrcuda @ ubuntu: ~ $ sudo eject / dev/sr1
Note: USB mode switch is not required for this modem. SR1 in clay from the results of dmesg
Step 3:
Type lsusb to find out the id of the product changes to ffdd ffde.
Barrcuda @ ubuntu: ~ $ lsusb
Bus 003 Device 002: ID 09da: 000a A4 Tech Co.., Ltd. Port Mouse
Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 19d2: ffdd Onda Communication SpA
Bus 002 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Note: if there is no change in the product, unplug the modem and then colokin again.
Step 4:
Input parameters to the kernel
Barrcuda @ ubuntu: ~ $ sudo modprobe usbserial vendor = 0x19d2 product = 0xffdd
Step 5:
Type wvdialconf to create the file / etc / wvdial.conf. (If there is no wvdial, download them first and dependenciesnya)
Barrcuda @ ubuntu: ~ $ sudo wvdialconf
Editing `/ etc / wvdial.conf '.
Scanning your serial ports for a modem.
... ... ... ... ... ... ... ... ....
... ... ... ... ... ... ... ... ... ..
ttyUSB0: ATQ0 V1 E1 - OK
ttyUSB0: ATQ0 V1 E1 Z - OK
ttyUSB0: ATQ0 V1 E1 S0 = 0 - OK
ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 - OK
ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 - OK
ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0 - OK
ttyUSB0: Modem Identifier: ATI - Manufacturer: QUALCOMM INCORPORATED
ttyUSB0: Speed 9600: AT - OK
ttyUSB0: Max speed is 9600; That Should Be safe.
ttyUSB0: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0 - OK
... ... ... ... ... ... ... ... ... .... Found a modem on / dev/ttyUSB0.
Modem configuration written to / etc / wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0"
Step 6:
Edit the file / etc / wvdial.conf
Barrcuda @ ubuntu: ~ $ sudo gedit / etc / wvdial.conf
[Dialer smart]
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Modem Type = Analog Modem
Phone = # 777
ISDN = 0
Username = smart
Init1 = ATZ
Password = smart
Modem = / dev/ttyUSB0
Baud = 460 800
Command Line = ATDT
Stupid Mode = 1
[Dialer mobi]
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Modem Type = Analog Modem
Phone = # 777
ISDN = 0
Username = m8
Init1 = ATZ
Password = m8
Modem = / dev/ttyUSB0
Baud = 460 800
Command Line = ATDT
Stupid Mode = 1
Step 7:
Run wvdial smart (if pake smart operator) wvdial mobi (if pake mobi
Barrcuda @ ubuntu: ~ $ sudo wvdial smart
-> WvDial: Internet dialer version 1.60
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: ATZ
OK
-> Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
OK
-> Modem initialized.
-> Sending: ATDT # 777
-> Waiting for carrier.
ATDT # 777
CONNECT
-> Carrier detected. Waiting for prompt.
~ [7f ]}#@!}!}} }=}!}$}% \ }"}&}}}}} #}% B #}%}%}& hk #>}'}"}(}" ~
-> PPP negotiation detected.
-> Starting pppd at Mon Dec 3 23:01:31 2010
-> Pid of pppd: 1647
-> Using interface ppp0
-> Pppd: [08] [08]
-> Pppd: [08] [08]
-> Pppd: [08] [08]
-> Pppd: [08] [08]
-> Pppd: [08] [08]
-> Local IP address 10.1.63.194
-> Pppd: [08] [08]
-> Remote IP address 2.2.2.2
-> Pppd: [08] [08]
-> Primary DNS address 117.18.224.146
-> Pppd: [08] [08]
-> Secondary DNS address 117.18.224.147
-> Pppd: [08] [08]
Let me not have to automatically perform repetitive langkah2 TSB, do the following:
Sign In terminal, type sudo gedit / etc / modules
paste in the following
usbserial vendor = 0x19d2 product = 0xffdd
save
plug in modem before the computer in startup
0 comments:
Post a Comment