konfigurasi Modem USB SmartFren CE682 Di Debian Linux

assalamualaikum wr. wb

kali ini saya akan memberikan tutorial tentang cara install modem usb khususnya ( smartfreen ) Di Debian Linux

oke langsung saja kita siapkan alat dan bahan sebagai berikut :

  • Modem USB stick SmartFren CE682
  • Driver  silahkan download libuniconf4.6_4.6.1-1_i386.deb , libwvstreams4.6-base_4.6.1-1_i386.deb , libwvstreams4.6-extras_4.6.1-1_i386.deb , wvdial_1.60.4_i386.deb
  • Download in ZIP File

Selanjutnya kita kumpulkan 4 file tersebut kedalam satu folder dan cukup letakkan di desktop saja

masuk ke terminal console

rahman@gifari:~$ su
Password:

root@gifari:~# cd /home/rahman/Desktop/wvdial\ on\ debian/

#sudah masuk ke folder lalu install

root@gifari:/home/rahman/Desktop/wvdial on debian# dpkg -i *.deb

#jika sudah di install maka kita hapus yang lama dan tambah script baru  di file wvdial.conf

root@gifari:/home/rahman/Desktop/wvdial on debian# nano  /etc/wvdial.conf

isi Script seperti berikut

[Dialer Defaults]
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

Selanjutnya simpan ctrl+x , Y , enter …

lihat device USB Modem nya ketik lsusb di terminal

  1. device USB MODEM  Bus 005 Device 003: ID 201e:1022 ( Jika 201e:1023 kita eject dahulu agar menjadi 201e:1022 . dgn mengetikkan

root@gifari:~#eject /dev/sr1

root@gifari:~# lsusb
Bus 005 Device 003: ID 201e:1022
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 002: ID 1c4f:0002 SiGma Micro
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


Kemudian 
load modul tersebut:

modprobe usbserial vendor=0x201e product=0x1022

root@gifari:~# modprobe usbserial vendor=0x201e product=0x1022


Lakukan konfigurasi awal dengan perintah berikut:

root@gifari:~# wvdialconf
Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
Modem Port Scan<*1>: 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: +GMI: China TeleCom
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.
ttyUSB2<*1>: ATQ0 V1 E1 — OK
ttyUSB2<*1>: ATQ0 V1 E1 Z — OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB2<*1>: Modem Identifier: ATI — Manufacturer: +GMI: China TeleCom
ttyUSB2<*1>: Speed 9600: AT — OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB3<*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<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”
ttyUSB2<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”

  1. Jika sudah berhasil seperti diatas maka modem siap di sambungkan ke internet

root@gifari:~# 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 3100000
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Wed Nov 21 21:55:58 2012
–> Pid of pppd: 2391
–> Using interface ppp0
–> pppd: 0Rm�8�. H�. [01]
–> pppd: 0Rm�8�. H�. [01]
–> pppd: 0Rm�8�. H�. [01]
–> pppd: 0Rm�8�. H�. [01]
–> local IP address 10.163.93.91
–> pppd: 0Rm�8�. H�. [01]
–> remote IP address 10.17.95.12
–> pppd: 0Rm�8�. H�. [01]
–> primary DNS address 10.17.125.228
–> pppd: 0Rm�8�. H�. [01]
–> secondary DNS address 10.17.125.229
–> pppd: 0Rm�8�. H�. [01]

Oke sudah berhasil terkoneksi ke internet . modem siap dipakai 🙂

NOTE : tambahan jika ingin memakai DNS lain cukup buat file resolv.conf . sebelum kita koneksikan (wvdial) seperti berikut

root@gifari:~# nano /etc/resolv.conf

isi dengan script berikut

nameserver 8.8.8.8

nameserver 8.8.4.4

Selanjutnya simpan ctrl+x , Y , enter …

Sekian tutorial kali ini semoga bermanfaat . terimakasih 🙂

Wassalam wr wb

Advertisements

8 thoughts on “konfigurasi Modem USB SmartFren CE682 Di Debian Linux

  1. Ade Malsasa Akbar

    Oya, saya telah menambahkan alamat tutorial akang ini ke modemlinux.wordpress.com. Jika nanti ada pemula yang bertanya soal modem, akang bisa merekomendasikan untuk langsung ke sana. Daripada pusing cari tutorial.

    Reply
  2. rahman Post author

    Mas Taryo : salam opensource :))
    Mas Ichsan : sudah dicoba lebih teliti mungkin ? atau bisa di berikan gimana proses gagal nya saat menginstall ? cukup copy paste saja command nya kesini

    Reply
  3. Pingback: Daftar Modem USB Per 2 April 2013 | Daftar Modem USB Kompatibel GNU/Linux

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