Belajar dan berbagi

Smart ZTE AC2726 di Ubuntu

Cek USB ID:
$ lsusb
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 1058:1003 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 009: ID 19d2:fff1
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Catatan:

19d2:fff1 ini artinya modem sudah terdeteksi
Jika yang keluar itu id 19d2:fff5 artinya usb storage yang terdeteksi dan perlu diubah dengan menggunakan bantuan USB_ModeSwitch.

Edit config /etc/usb_modeswitch.conf:
################################################## ######
# /etc/usb_modeswitch.conf
#
# Smart ZTE AC2726 (EVDO)
#

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xfff1

MessageContent=”5553424312345678c00000008000069f03 0000000000000000000000000000″

Buatlah berkas baru etc/udev/rules.d/99-zte-ac2726.rules:
################################################## ######
# /etc/udev/rules.d/99-zte-ac2726.rules
#
# Smart ZTE AC2726 (EVDO)
#
SUBSYSTEM==”usb”, SYSFS{idVendor}==”19d2″, SYSFS{idProduct}==”fff5″, RUN+=”/usr/sbin/usb_modeswitch –default-vendor 0x19d2 –default-product 0xfff1 –message-content 5553424312345678c00000008000069f030000000000000000 000000000000″

Cabut Modem kemudian pasang kembali modem tersebut kemudian ketik perintah lsusb, harus dapat 19d2:fff1, kemudian jalankan modprobe:

$ sudo modprobe usbserial vendor=0x15eb product=0x0001

Catatan:
Untuk Ubuntu Jaunty agar bisa modprobe usbserial perlu upgrade ke kernel terbaru (2.6.28-13).

Buatlah berkas baru /etc/ppp/peers/evdo untuk koneksi menggunakan pon:
#
# /etc/ppp/peers/evdo
#
hide-password
noauth
connect “/usr/sbin/chat -v -f /etc/chatscripts/evdo”
debug
ttyUSB0
921600
defaultroute
noipdefault
user “smart”
remotename smart
ipparam smart
crtscts
lock
usepeerdns

Tambah password:
#
# /etc/ppp/chap-secrets
#
smart * smart

Buatlah berkas baru /etc/chatscripts/evdo:
#
# /etc/chatscripts/evdo
#
ABORT BUSY ABORT ‘NO CARRIER’ ABORT VOICE ABORT ‘NO DIALTONE’ ABORT ‘NO DIAL TONE’ ABORT ‘NO ANSWER’ ABORT DELAYED
” “AT”
‘OK’ “ATQ0V1E0”
‘OK’ “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”
OK-AT-OK “ATDT#777”
CONNECT \d\c

Untuk Melakukan Koneksi
$ sudo pon evdo

Untuk Diskonek
$ sudo poff -a

Semoga Bermanfaat

NB:
Jika memerlukan installer usb_modeswitch bisa di download DISINI

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: