Sebenarnya ada cara yang cukup mudah, yaitu dengan menggunakan program antarmuka dial-up dari desktop Gnome, yaitu Gnome-PPP, atau KDE dengan KPPP, atau program-program antarmuka dial-up lainnya dari masing-masing distro.
Berikut cara dial-up dengan menggunakan program wvdial :
Buat berkas konfigurasi /etc/wvdial.conf yg baru dengan perintah "wvdialconf", login sebagai root ato pake perintah "sudo".
-------- MULAI - wvdialconf /etc/wvdial.conf --------
[root@localhost ~]# wvdialconf /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.
Port Scan<*1>: S1 S2 S3
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 -- 042
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- Speed 460800: AT -- Speed 460800: AT -- Max speed is 230400; that should be safe.
ttyUSB0<*1>: 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 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
-------- AKHIR - wvdialconf /etc/wvdial.conf --------
Berikut isi berkas /etc/wvdial.conf, hasil keluaran dari perintah "wvdialconf /etc/wvdial.conf" di atas, yang kemudian dapat diedit dengan teks editor favorit masing-masing.
---------- AWAL - Berkas /etc/wvdial.conf -----------
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone =
; Username =
; Password =
---------- AKHIR - Berkas /etc/wvdial.conf------------
Ini konfigurasi /etc/wvdial.conf yang saya edit buat macem2 operator.
------------ MULAI - /etc/wvdial.conf - EDIT -----------
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
ISDN = 0
Modem Type = Analog Modem
[Dialer instan]
Phone = 080989999
Username = telkomnet@instan
Password = telkom
[Dialer flexy]
Phone = #777
Username = telkomnet@flexy
Password = telkom
[Dialer starone]
Phone = #777
Username = starone
Password = indosat
[Dialer indosat]
Init3 = AT+CGDCONT=1,"IP","indosatgprs"
Phone = *99***1#
Username = ''
Password = ''
[Dialer indosat-m2]
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Phone = *99#
Username = 'usernamem2ku'
Password = 'passwordm2ku'
[Dialer telkomsel]
Init3 = AT+CGDCONT=1,"IP","telkomsel"
Phone = *99***1#
Username = ''
Password = ''
[Dialer telkomsel-flash]
Init3 = AT+CGDCONT=1,"IP","flash"
Phone = *99***1#
Username = ''
Password = ''
[Dialer telkomsel-internet]
Init3 = AT+CGDCONT=1,"IP","internet"
Phone = *99***1#
Username = ''
Password = ''
[Dialer axis]
Init3 = AT+CGDCONT=1,"IP","AXIS"
Phone = *99***1#
Username = AXIS
Password = 123456
[Dialer xl]
Phone = *99***1#
Username = xlgprs
Password = proxl
------------ AKHIR - /etc/wvdial.conf - EDIT -----------
Untuk mengkoneksikan modem anda, panggil pake nama "Dialer" yg diset di berkas /etc/wvdial.conf dengan program "wvdial" (Coba baca2 manual wvdial.conf - [me@localhost ~]# man wvdial.conf - ).
----------------- MULAI - wvdial axis -----------------
[root@localhost ~]# wvdial axis
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
OK
--> Sending: AT+CGDCONT=1,"IP","AXIS"
AT+CGDCONT=1,"IP","AXIS"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&d}2a6}#}%B#}%1A~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&d}2a6}#}%B#}%1A~
--> PPP negotiation detected.
--> Starting pppd at Mon Sep 15 02:19:59 2008
--> pid of pppd: 10830
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyUSB0
--> pppd: CHAP authentication succeeded
--> pppd: CHAP authentication succeeded
--> local IP address 10.81.236.147
--> remote IP address 192.168.254.254
--> primary DNS address 203.78.115.215
--> secondary DNS address 203.78.115.222
----------------- AKHIR - wvdial axis -----------------
Btw kalau pake program KPPP, buat koneksi GPRS ke Indosat (Mentari/IM3), AXIS, saya harus set default gateway-nya secara statik melalui konfigurasi accounts-nya.
Berikut beberapa alamat gateway dapat dicoba :
192.168.254.254, 192.168.0.1, 192.168.1.1, 192.168.111.111
Cara lain dengan perintah "route" buat setting default gateway :
[root@localhost ~]# /sbin/route add default gw 192.168.111.111
Tips Konfigurasi Accounts KPPP :
Buat account yg tidak membutuhkan username/password seperti Indosat GPRS/3G, atau Telkomsel GPRS/3G pilih tipe autentikasinya yg berbasis Script, defaultnya PAP/CHAP. Untuk mengubah default gateway secara statik ada di tab Gateway dalam konfigurasi Accounts KPPP.
Tips Konfigurasi Modem di KPPP/Gnome-PPP :
Buat account yg membutuhkan masukan nama Access Point (Indosat GPRS, Telkomsel GPRS/3G, AXIS GPRS/3G) bisa menambahkan string inisialisasi AT+CGDCONT=1,"IP","NAMA_APN" dalam jendela konfigurasi Modem Commands, Init Strings / Initialization string.
Access Point (APN) beberapa operator :
Indosat GPRS/3G : indosatgprs, indosatm2
Telkomsel GPRS/3G : internet, telkomsel, flash
AXIS GPRS/3G : AXIS
Semoga dapat membantu
Berikut cara dial-up dengan menggunakan program wvdial :
Buat berkas konfigurasi /etc/wvdial.conf yg baru dengan perintah "wvdialconf", login sebagai root ato pake perintah "sudo".
-------- MULAI - wvdialconf /etc/wvdial.conf --------
[root@localhost ~]# wvdialconf /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.
Port Scan<*1>: S1 S2 S3
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 -- 042
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- Speed 460800: AT -- Speed 460800: AT -- Max speed is 230400; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0
-------- AKHIR - wvdialconf /etc/wvdial.conf --------
Berikut isi berkas /etc/wvdial.conf, hasil keluaran dari perintah "wvdialconf /etc/wvdial.conf" di atas, yang kemudian dapat diedit dengan teks editor favorit masing-masing.
---------- AWAL - Berkas /etc/wvdial.conf -----------
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone =
; Username =
; Password =
---------- AKHIR - Berkas /etc/wvdial.conf------------
Ini konfigurasi /etc/wvdial.conf yang saya edit buat macem2 operator.
------------ MULAI - /etc/wvdial.conf - EDIT -----------
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
ISDN = 0
Modem Type = Analog Modem
[Dialer instan]
Phone = 080989999
Username = telkomnet@instan
Password = telkom
[Dialer flexy]
Phone = #777
Username = telkomnet@flexy
Password = telkom
[Dialer starone]
Phone = #777
Username = starone
Password = indosat
[Dialer indosat]
Init3 = AT+CGDCONT=1,"IP","indosatgprs"
Phone = *99***1#
Username = ''
Password = ''
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Phone = *99#
Username = 'usernamem2ku'
Password = 'passwordm2ku'
[Dialer telkomsel]
Init3 = AT+CGDCONT=1,"IP","telkomsel"
Phone = *99***1#
Username = ''
Password = ''
[Dialer telkomsel-flash]
Init3 = AT+CGDCONT=1,"IP","flash"
Phone = *99***1#
Username = ''
Password = ''
[Dialer telkomsel-internet]
Init3 = AT+CGDCONT=1,"IP","internet"
Phone = *99***1#
Username = ''
Password = ''
[Dialer axis]
Init3 = AT+CGDCONT=1,"IP","AXIS"
Phone = *99***1#
Username = AXIS
Password = 123456
[Dialer xl]
Phone = *99***1#
Username = xlgprs
Password = proxl
------------ AKHIR - /etc/wvdial.conf - EDIT -----------
Untuk mengkoneksikan modem anda, panggil pake nama "Dialer" yg diset di berkas /etc/wvdial.conf dengan program "wvdial" (Coba baca2 manual wvdial.conf - [me@localhost ~]# man wvdial.conf - ).
----------------- MULAI - wvdial axis -----------------
[root@localhost ~]# wvdial axis
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
ATQ0 V1 E1 S0=0 &C1 &D2 S2=255
OK
--> Sending: AT+CGDCONT=1,"IP","AXIS"
AT+CGDCONT=1,"IP","AXIS"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&d}2a6}#}%B#}%1A~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&d}2a6}#}%B#}%1A~
--> PPP negotiation detected.
--> Starting pppd at Mon Sep 15 02:19:59 2008
--> pid of pppd: 10830
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyUSB0
--> pppd: CHAP authentication succeeded
--> pppd: CHAP authentication succeeded
--> local IP address 10.81.236.147
--> remote IP address 192.168.254.254
--> primary DNS address 203.78.115.215
--> secondary DNS address 203.78.115.222
----------------- AKHIR - wvdial axis -----------------
Btw kalau pake program KPPP, buat koneksi GPRS ke Indosat (Mentari/IM3), AXIS, saya harus set default gateway-nya secara statik melalui konfigurasi accounts-nya.
Berikut beberapa alamat gateway dapat dicoba :
Cara lain dengan perintah "route" buat setting default gateway :
[root@localhost ~]# /sbin/route add default gw 192.168.111.111
Tips Konfigurasi Accounts KPPP :
Buat account yg tidak membutuhkan username/password seperti Indosat GPRS/3G, atau Telkomsel GPRS/3G pilih tipe autentikasinya yg berbasis Script, defaultnya PAP/CHAP. Untuk mengubah default gateway secara statik ada di tab Gateway dalam konfigurasi Accounts KPPP.
Tips Konfigurasi Modem di KPPP/Gnome-PPP :
Buat account yg membutuhkan masukan nama Access Point (Indosat GPRS, Telkomsel GPRS/3G, AXIS GPRS/3G) bisa menambahkan string inisialisasi AT+CGDCONT=1,"IP","NAMA_APN" dalam jendela konfigurasi Modem Commands, Init Strings / Initialization string.
Access Point (APN) beberapa operator :
Indosat GPRS/3G : indosatgprs, indosatm2
Telkomsel GPRS/3G : internet, telkomsel, flash
AXIS GPRS/3G : AXIS
Semoga dapat membantu
0 komentar:
Posting Komentar