Berikut adalah penjelasan singkat mengenai cara setting Telpon Modem ETS2055 di Ubuntu 9.10 (Karmic Koala), jujur aja sebelumnya mumet cari-cari ke mbah gugel gx dapet2, pi akhirnya dengan bantuan tmn2 komunitas ubuntu akhirnya telpon modem ku gx sia2 belinya…..
Baiklah gak perlu banyak bla… bla… bla… ni langsung aku kasih tau caranya…..
Pastikan peket yang dibutuhin sudah diinstal dengan baik di Ubuntu, kalo belum bisa langsung download (libwvstream4.6-base, libwvstreams4.6-extra, libuniconf4.6) install juga program untuk dial nya ya, aku pake wvdial, dan juga install usb_modeswitch
kalo semua paket yang dibutuhkan sdh terpenuhi sekarang saatnya beraksi….
sebelumnya apabila telpon modem ETS 2055 sudah pernah digunakan di windows sebaiknya modem tersebut direstart terlebih dahulu….
Sekarang buka terminal/xterm lalu ketikkan perintah
sebelumnya apabila telpon modem ETS 2055 sudah pernah digunakan di windows sebaiknya modem tersebut direstart terlebih dahulu….
Sekarang buka terminal/xterm lalu ketikkan perintah
#lsusb
perintah tersebut untuk melihat apakah telpon modem sudah teridentifikasi oleh ubuntu
output dari lsusb di PC aku
output dari lsusb di PC aku
Bus 005 Device 003: ID 12d1:1803 Huawei Technologies Co., Ltd.
berikutnya edit file /etc/modules, caranaya:
$sudo nano /etc/modules
tambahkan baris berikut
usbserial vendor=0x12d1 product=0×1803
simpan dan keluar, edit file /etc/usb_modeswitch.conf
$sudo nano /etc/usb_modeswitch.conf
tambahkan baris berikut:
########################################################
# Huawei ETS 2055
# Huawei ETS 2055
DefaultVendor= 0x12d1
DefaultProduct= 0×1803
DefaultProduct= 0×1803
HuaweiMode=1
########################################################
########################################################
Ok…… setelah melakukan pengeditan 2 file di atas, sekarang masih di terminal dan ketikkan perintah berikut:
$sudo usb_modeswitch (setelah perintah ini maka akan terdeteksi modem CDMA di network manager applet)
$sudo killall modem-manager
$sudo modem-manager restart
$sudo wvdialconf
$sudo wvdial
$sudo killall modem-manager
$sudo modem-manager restart
$sudo wvdialconf
$sudo wvdial
berikut adalah output dari perintah-perintah diatas:
edi@laptop-linux:~$ sudo usb_modeswitch
* usb_modeswitch: tool for controlling “flip flop” mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for default devices …
Found default devices (1)
Accessing device 002 on bus 005 …
Using endpoints 0×01 (out) and 0×81 (in)
Inquiring device details; driver will be detached …
Looking for active driver …
No driver found. Either detached before or never attached
Found default devices (1)
Accessing device 002 on bus 005 …
Using endpoints 0×01 (out) and 0×81 (in)
Inquiring device details; driver will be detached …
Looking for active driver …
No driver found. Either detached before or never attached
Received inquiry data (detailed identification)
————————-
Vendor String: HUAWEI
Product String: Mass Storage
Revision String: 2.31
————————-
————————-
Vendor String: HUAWEI
Product String: Mass Storage
Revision String: 2.31
————————-
Device description data (identification)
————————-
Manufacturer: Huawei, Incorporated
Product: Huawei CDMA Technologies MSM
Serial No.: not provided
————————-
Sending Huawei control message …
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.
————————-
Manufacturer: Huawei, Incorporated
Product: Huawei CDMA Technologies MSM
Serial No.: not provided
————————-
Sending Huawei control message …
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.
edi@laptop-linux:~$ sudo killall modem-manager
edi@laptop-linux:~$ sudo modem-manager restart
edi@laptop-linux:~$ sudo wvdialconf
Editing `/etc/wvdial.conf’.
edi@laptop-linux:~$ sudo modem-manager restart
edi@laptop-linux:~$ sudo wvdialconf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 Z — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0<*1>: Modem Identifier: ATI — Manufacturer: QUALCOMM INCORPORATED
ttyUSB0<*1>: Speed 9600: AT — OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem<*1>: Cannot 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>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 Z — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0<*1>: Modem Identifier: ATI — Manufacturer: QUALCOMM INCORPORATED
ttyUSB0<*1>: Speed 9600: AT — OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem<*1>: Cannot 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.
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″
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
sudah hampir selesai…. tinggal satu file lagi yg perlu di edit….
untuk menyesuaikan username dan passwordnya
untuk menyesuaikan username dan passwordnya
sudo nano /etc/wvdial.conf
ini adalah isi dari file wvdial.conf:
[Dialer defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = internet
Dial Command = ATDT
PPPD Options = crtcts multilink usespeerdns lock defaultroute
Password = ceria
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = internet
Dial Command = ATDT
PPPD Options = crtcts multilink usespeerdns lock defaultroute
Password = ceria
Baud = 230400
yang terakhir keluar dan simpan file tersebut dan sekarang kita coba dial dengan perintah wvdial, dan outputnya adalah:
edi@laptop-linux:~$ sudo wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
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 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Tue Jul 20 17:36:02 2010
–> Pid of pppd: 2283
–> Using interface ppp0
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> local IP address 10.128.13.90
–> pppd: @?? `??
–> remote IP address 10.81.0.5
–> pppd: @?? `??
–> primary DNS address 202.43.178.244
–> pppd: @?? `??
–> secondary DNS address 202.43.176.13
–> pppd: @?? `??
edi@laptop-linux:~$ sudo wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
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 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Tue Jul 20 17:36:02 2010
–> Pid of pppd: 2283
–> Using interface ppp0
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> pppd: @?? `??
–> local IP address 10.128.13.90
–> pppd: @?? `??
–> remote IP address 10.81.0.5
–> pppd: @?? `??
–> primary DNS address 202.43.178.244
–> pppd: @?? `??
–> secondary DNS address 202.43.176.13
–> pppd: @?? `??
Ow iya ni bukan promosi internet ceria lho…….. karena emang telpon modem ETS2055 emang paket dari internet ceria dan aku kebetulan dan sengaja emang beli ceria
Selamat mencoba dan bereksperimen…..
ditunggu saran2nya….
ditunggu saran2nya….