cara ini menggunakan cara mode teks, dengan menggunakan aplikasi wvdial, hampir semua modem deteksi dan konfigurasinya menggunakan wvdial jika menggunakan interface console/terminal, beda apabila menggunakan interface GUI/Desktop kita bisa menggunakan gnome-ppp atau kppp...
silahkan dicoba...!!!!
# apt-get install wvdial
buat/edit file /etc/wvdial.conf, berisi
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Modem = /dev/ttyUSB0
Baud = 3600000
Area Code =
Phone = *99#
Username = namauser
Password = password
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
--> konek dengan cara
# 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
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","indosatm2"
AT+CGDCONT=1,"IP","indosatm2"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Feb 11 19:28:51 2009
--> Pid of pppd: 19991
--> pppd: [18][08]+[08]
--> Using interface ppp0
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> pppd: [18][08]+[08]
--> local IP address 114.58.77.150
--> pppd: [18][08]+[08]
--> remote IP address 10.64.64.64
--> pppd: [18][08]+[08]
--> primary DNS address 10.11.12.13
--> pppd: [18][08]+[08]
--> secondary DNS address 10.11.12.14
--> pppd: [18][08]+[08]
cara disconect-nya dengan tombol control+C (^C)
# apt-get install gnome-ppp
==> Isikan "Username" dan "Password" dengan yang Anda miliki.
* Untuk deteksi modem yang terpasang, klik tombol "Detect"
Klik "Connect" kalau berhasil akan muncul kotak:
Lagi kangen 5N
14 years ago
No comments:
Post a Comment