Tiny Sharp Red Pointer

Friday, June 22, 2012

Cara instal modem smartfren CE682 di Ubuntu

Modem Smartfren CE682 di dus tertulis cuma support OS windows dan Mac, tp ternyata juga bisa di pakai OS Linux.

Saya juga newbie di linux berusaha mencari cara instal modem ini di ubuntu dan saya memakai ubuntu 10.04.4 ternyata dapat cara instal di ubuntu 12.04 di blog patenpisan.com dan saya coba di ubuntu 10.04.4 pun bisa..

Cara-caranya sebagai berikut:
>> buka terminal

>> ketik :
$ lsusb

Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 201e:1022
Bus 002 Device 004: ID 0951:1624 Kingston Technology
Bus 002 Device 003: ID 056e:0089 Elecom Co., Ltd
Bus 002 Device 002: ID 8087:0024
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:646f Microdia
Bus 001 Device 002: ID 8087:0024
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

>> lihat baris
Bus 002 Device 006: ID 201e:1022

>> Kemudian load modul tersebut:

$ sudo modprobe usbserial vendor=0x201e product=0x1022

>> Lakukan konfigurasi awal dengan perintah berikut:

$ sudo wvdialconf

>> Tambahkan atau ubah /etc/wvdial.conf

$ sudo gedit /etc/wvdial.conf

> menjadi seperti ini:

[Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carier Check = no
Modem = /dev/ttyUSB0
Command Line = ATDT
Phone = #777
Idle Seconds = 0
Password = smart
Modem Type = Analog Modem
Stupid Mode = yes
Baud = 460800
New PPPD = yes
Ask Password = 0
ISDN = 0
Username = smart

>> Buat file smart.sh isi nya sebagai berikut :

#!/bin/bash
sudo eject /dev/sr1
sleep 2
sudo modprobe usbserial vendor=0x201e product=0x1022
sleep 2
sudo wvdial smart

> Simpan di /home/user

>> untuk pengunakan nanti tinggal buka terminal

$ sh /home/user/smart.sh

> akan muncul seperti ini

--> WvDial: Internet dialer version 1.61
--> 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
T+GCAP
AT+GCAP
OK
--> Timed out while dialing. Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
CONNECT 3100000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Jun 22 16:22:26 2012
--> Pid of pppd: 4146
--> Using interface ppp0
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> local IP address 10.224.52.129
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> remote IP address 10.20.31.2
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> primary DNS address 10.17.3.252
--> pppd: ��h[08]��h[08]��h[08]@qh[08]
--> secondary DNS address 10.17.3.246
--> pppd: ��h[08]��h[08]��h[08]@qh[08]

>> Buka browser

Dan nikmati internetnya...

Jika tidak bisa coba ganti DNS nya saya pakai 8.8.8.8 dan 8.8.4.4

Bila ada pertanyaan silahkan komentar

sumber : patenpisan , groups di facebook , google

0 komentar:

Post a Comment