untuk lebih jelasnya langsung saja dibaca..
Setting modem di windows memang mudah tinggal kita
colokkan modem ke laptop atau pc sobat maka akan muncul plug and play
tetapi berberda dengan setting moddem di linux kita harus menyetingnya secara manual dengan terminal
1. device USB MODEM Bus 005 Device 003: ID 201e:1022 ( Jika punya anda 201e:1023 kita eject dahulu agar menjadi 201e:1022 . dgn mengetikkan
Kemudian load modul tersebut:
Lakukan konfigurasi awal dengan perintah berikut:
Jika sudah berhasil seperti diatas maka modem siap di sambungkan ke internet
tetapi berberda dengan setting moddem di linux kita harus menyetingnya secara manual dengan terminal
oke langsung
saja kita siapkan alat dan bahan sebagai berikut :
- Modem USB stick SmartFren CE682
- 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
- Paket wvdial Download in ZIP File
Selanjutnya
kita kumpulkan 4 file tersebut kedalam satu folder
masuk ke
terminal console
ichsan@ichsan
:~$ su
Password:
Password:
root@ichsan :~#
cd /home/ichsan/wvdial
#sudah masuk
ke folder lalu install
root@ichsan :
/home/ichsan/wvdial# dpkg -i *.deb
#jika sudah
di install maka kita hapus yang lama dan tambah script baru di file
wvdial.conf
root@ichsan :
/home/ichsan/wvdial# 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
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 punya anda 201e:1023 kita eject dahulu agar menjadi 201e:1022 . dgn mengetikkan
root@ichsan :~#eject
/dev/sr1
root@ichsan :~#
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
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=0×1022
root@ichsan:~# modprobe usbserial vendor=0x201e product=0×1022
Lakukan konfigurasi awal dengan perintah berikut:
root@ichsan:~#
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.
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″
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″
Jika sudah berhasil seperti diatas maka modem siap di sambungkan ke internet
root@ichsan :~#
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]
–> 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
sekian dari saya semoga bermanfaat untuk para sahabat blogasik, sampai jumpa dipostingan selanjutnya..
0 komentar:
Posting Komentar
Terima kasih sudah berkunjung, jangan bosan-bosan untuk mengunjungi blogasik yaa ;)