Berikut ini
langkah-langkah menginstall modem Smartfren CE682 yang telah saya praktekkan
dan hasilnya menurut saya sangat memuaskan :
Pertama download paket
software disini.
Kemudian buatlah
sebuah folder di direktori home, misalnya dengan nama paket.
Kemudian ekstrak file yang telah di download tadi ke dalam folder paket tersebut.
Lalu masuk ke folder
paket yang telah di buat tadi dengan mengetikkan perintah seperti di bawah ini:
boody@blacknote:~$ cd paket
Kemudian install paket-paket tersebut dengan mengetikkan perintah di terminal seperti di bawah ini:
boody@blacknote:~$ cd paket
Kemudian install paket-paket tersebut dengan mengetikkan perintah di terminal seperti di bawah ini:
boody@blacknote:~/paket $ sudo dpkg -i –force-depends *.deb
Setelah proses selesai
kemudian cek dulu dmseg-nya dengan perintah "dmesg | tail" tanpa
tanda kutip, hasilnya akan keluar seperti di bawah ini:
boody@blacknote:~$ dmesg | tail
[ 16.435959] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 19.963390] EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro,commit=0
[ 19.966436] EXT4-fs (sda8): re-mounted. Opts: commit=0
[ 241.704054] usb 2-2: USB disconnect, address 3
[ 253.352033] usb 2-2: new full speed USB device using uhci_hcd and address 4
[ 253.522675] scsi5 : usb-storage 2-2:1.0
[ 254.524252] scsi 5:0:0:0: CD-ROM CDROM EVDO ReV A 7.00 PQ: 0 ANSI: 2
[ 254.536216] sr1: scsi-1 drive
[ 254.536454] sr 5:0:0:0: Attached scsi CD-ROM sr1
[ 254.536652] sr 5:0:0:0: Attached scsi generic sg2 type 5
[ 16.435959] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 19.963390] EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro,commit=0
[ 19.966436] EXT4-fs (sda8): re-mounted. Opts: commit=0
[ 241.704054] usb 2-2: USB disconnect, address 3
[ 253.352033] usb 2-2: new full speed USB device using uhci_hcd and address 4
[ 253.522675] scsi5 : usb-storage 2-2:1.0
[ 254.524252] scsi 5:0:0:0: CD-ROM CDROM EVDO ReV A 7.00 PQ: 0 ANSI: 2
[ 254.536216] sr1: scsi-1 drive
[ 254.536454] sr 5:0:0:0: Attached scsi CD-ROM sr1
[ 254.536652] sr 5:0:0:0: Attached scsi generic sg2 type 5
Kemudian ejeck dulu
CD-ROM-nya dengan perintah:
boody@blacknote:~$ sudo eject /dev/sr1
Setelah itu lihat lagi
dmesg-nya dengan perintah seperti di atas tadi, hasilnya akan menjadi:
boody@blacknote:~$ dmesg | tail
[ 254.524252] scsi
5:0:0:0: CD-ROM CDROM EVDO ReV A 7.00 PQ: 0 ANSI: 2
[ 254.536216] sr1: scsi-1 drive
[ 254.536454] sr 5:0:0:0: Attached scsi CD-ROM sr1
[ 254.536652] sr 5:0:0:0: Attached scsi generic sg2 type 5
[ 365.648085] usb 2-2: USB disconnect, address 4
[ 368.192038] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 368.375134] scsi6 : usb-storage 2-2:1.3
[ 369.380301] scsi 6:0:0:0: Direct-Access SDVDISK EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
[ 369.381257] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 369.473277] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 254.536216] sr1: scsi-1 drive
[ 254.536454] sr 5:0:0:0: Attached scsi CD-ROM sr1
[ 254.536652] sr 5:0:0:0: Attached scsi generic sg2 type 5
[ 365.648085] usb 2-2: USB disconnect, address 4
[ 368.192038] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 368.375134] scsi6 : usb-storage 2-2:1.3
[ 369.380301] scsi 6:0:0:0: Direct-Access SDVDISK EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
[ 369.381257] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 369.473277] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Kemudian cek modemnya
dengan perintah "lsusb" tanpa tanda kutip:
boody@blacknote:~$ lsusb
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 005: ID 201e:1022
Bus 002 Device 002: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 005: ID 201e:1022
Bus 002 Device 002: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Ternyata terdetect
dengan vendor dan product id-nya, Bus 002 Device 005: ID 201e:1022, tapi nama
vendornya ga muncul, tidak masalah tetep lanjut saja. Sekarang ke pengaturan,
masuk ke:
boody@blacknote:~$ sudo gedit /etc/usb_modeswitch.conf
Akan terbuka sebuah
file dengan gedit, silakan tambahkan kode dibawah ke baris yang paling akhir :
#
/etc/usb_modeswitch.conf
#
# Smart Haier CE682 (EVDO)
#
DefaultVendor = 0x201e
DefaultProduct = 0×1022
TargetVendor = 0x201e
TargetProduct = 0×1022
MessageContent=”5553424312345678c00000008000069f030000000000000000000000000000″
#
# Smart Haier CE682 (EVDO)
#
DefaultVendor = 0x201e
DefaultProduct = 0×1022
TargetVendor = 0x201e
TargetProduct = 0×1022
MessageContent=”5553424312345678c00000008000069f030000000000000000000000000000″
masuk lagi ke :
sudo gedit
/etc/udev/rules.d/99-haier-ce682.rules
isi dengan :
#
/etc/udev/rules.d/99-zte-ce682.rules
#
# Smart Haier CE682 (EVDO)
#
SUBSYSTEM==”usb”, SYSFS{idVendor}==”201e”,
SYSFS{idProduct}==”1022″, RUN+=”/usr/sbin/usb_modeswitch –default-vendor 0x201e –default-product 0×1022 –message-content 5553424312345678c00000008000069f030000000000000000000000000000″
#
# Smart Haier CE682 (EVDO)
#
SUBSYSTEM==”usb”, SYSFS{idVendor}==”201e”,
SYSFS{idProduct}==”1022″, RUN+=”/usr/sbin/usb_modeswitch –default-vendor 0x201e –default-product 0×1022 –message-content 5553424312345678c00000008000069f030000000000000000000000000000″
Lalu simpan. Sekarang
load beberapa parameter yang dibutuhkan ke kernel
boody@blacknote:~$ sudo modprobe usbserial vendor=0X201e
product=0X1022
Kemudian install
deteksi modemnya dengan perintah:
boody@blacknote:~$ sudo apt-get install wvdial
Kemudian ketikkan
perintah berikut:
boody@blacknote:~$ sudo wvdialconf
Editing
`/etc/wvdial.conf’.
Scanning your serial ports for a modem.
ttyS0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS0: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS0: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyS1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS1: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS1: ATQ0 V1 E1 — and failed too at 115200, giving up.
Modem Port Scan: S2 S3 S4 S5 S6 S7 S8 S9
Modem Port Scan: S10 S11 S12 S13 S14 S15 S16 S17
Modem Port Scan: S18 S19 S20 S21 S22 S23 S24 S25
Modem Port Scan: S26 S27 S28 S29 S30 S31
WvModem: Cannot get information for serial port.
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: +GMI: China TeleCom
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
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 — OK
ttyUSB2: ATQ0 V1 E1 Z — OK
ttyUSB2: ATQ0 V1 E1 S0=0 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB2: Modem Identifier: ATI — Manufacturer: +GMI: China TeleCom
ttyUSB2: Speed 9600: AT — OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: 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″
ttyUSB2: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
Scanning your serial ports for a modem.
ttyS0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS0: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS0: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyS1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS1: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS1: ATQ0 V1 E1 — and failed too at 115200, giving up.
Modem Port Scan: S2 S3 S4 S5 S6 S7 S8 S9
Modem Port Scan: S10 S11 S12 S13 S14 S15 S16 S17
Modem Port Scan: S18 S19 S20 S21 S22 S23 S24 S25
Modem Port Scan: S26 S27 S28 S29 S30 S31
WvModem: Cannot get information for serial port.
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: +GMI: China TeleCom
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
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 — OK
ttyUSB2: ATQ0 V1 E1 Z — OK
ttyUSB2: ATQ0 V1 E1 S0=0 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB2: Modem Identifier: ATI — Manufacturer: +GMI: China TeleCom
ttyUSB2: Speed 9600: AT — OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: 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″
ttyUSB2: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
Yups... modem
terdeteksi di /dev/ttyUSB0 lanjut ke pengaturan wvdial, masuk ke:
boody@blacknote:~$ sudo gedit /etc/wvdial.conf
Kemudian tambahkan
baris berikut:
[Dialer smart]Init1 =
ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
Command Line = ATDT
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = smart
Password = smart
Baud = 460800
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
Command Line = ATDT
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = smart
Password = smart
Baud = 460800
Langkah terakhir coba
koneksikan dengan perintah:
boody@blacknote:~$ sudo wvdial smart
Kalau sudah
mendapat ip addrees harusnya sudah bisa browsing internet.
Sekarang masalahnya
setiap ingin konek, modem kita colokkan, kita harus eject CD-ROM, load kernel
dll. Nah biar cepat kita buat launcher bash script, buat file baru
ekstensi .sh di letakkan di direktori Home,
misalnya smart.sh isi file tersebut dengan baris
perintahseperti di bawah ini :
#!/bin/bash
sudo eject /dev/sr1
sleep 2
sudo modprobe usbserial vendor=0X201e product=0X1022
sleep 2
sudo wvdial smart
sudo eject /dev/sr1
sleep 2
sudo modprobe usbserial vendor=0X201e product=0X1022
sleep 2
sudo wvdial smart
Lalu rubah
permissionnnya dulu agar bisa dijalankan :
boody@blacknote:~$ sudo chmod +x smart.sh
OK, untuk menjalankan
kita tinggal ketik di terminal:
boody@blacknote:~$ sudo ./smart.sh
Semoga suksesss...
Catatan: Jika belum
berhasil, silakan di ulang lagi langkah-langkah di atas dari awal sampai akhir.
Saya juga melakukan langkah-langkah tersebut lebih dari satu kali.
0 komentar:
Posting Komentar
Komentar Anda Mempacu Untuk Yang Lebih Baik Dan Jangan Menghina