Three Internet Unlimited dengan Modem Huawei E156G di Mandriva 2010.0
Karena ga bisa konfigurasi dengan GUI dan selalu diminta PIN seperti gambar diatas, akhirnya terpaksa kembali ke mode teks menggunakan wvdial. Ok, langsung saja…
1. Buka Konsole (Terminal). Login sebagai administrator (root)
[dikman@localhost ~]$ su -
Password:
[root@localhost ~]#
2. Cek modem Huawei:
[root@localhost ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 12d1:140c Huawei Technologies Co., Ltd.
Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 003: ID 0461:0010 Primax Electronics, Ltd
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
3. Jalankan perintah berikut:
[root@localhost ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf’.Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 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: huawei
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 — failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 — OK
ttyUSB3<*1>: ATQ0 V1 E1 Z — OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB3<*1>: Modem Identifier: ATI — Manufacturer: huawei
ttyUSB3<*1>: Speed 9600: AT — OK
ttyUSB3<*1>: Max speed is 9600; that should be safe.
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OKFound 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″
ttyUSB3<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
Nah dari perintah diatas telah menemukan modem Huawei di /dev/ttyUSB0
4. Konfigurasi modem dengan provider Three di /etc/wvdial.conf (inputkan username, password dan phone sesuai provider yang digunakan. Kebetulan saat ini saya menggunakan Three. Apapun Modem-mu, Internet sepuasnya cuma Rp.99rb/bln *belum pajak 10%) :
[root@localhost ~]# vi /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = *99***1#
New PPPD = yes
Modem Type = Analog Modem
Stupid Mode = 1
Baud = 9600
Auto DNS = 1
Modem = /dev/ttyUSB0
ISDN = 0
Username = 3data
Auto Reconnect = on
5. Jalankan
[root@localhost ~]# 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*99***1#
–> Waiting for carrier.
ATDT*99***1#
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Wed May 12 15:21:55 2010
–> Pid of pppd: 8067
–> Using interface ppp0
–> pppd: Connect: ppp0 <–> /dev/ttyUSB0
–> pppd: CHAP authentication succeeded
–> pppd: CHAP authentication succeeded
–> pppd: Could not determine remote IP address: defaulting to 10.64.64.64
–> pppd: not replacing existing default route via 10.21.210.1
–> local IP address 10.xx.xx.xxx
–> remote IP address 10.64.64.64
–> primary DNS address 10.0.18.38
–> secondary DNS address 10.0.18.42
6. Jangan lupa lakukan perintah dibawah ini, karena dari informasi diatas (yang saya bold):
[root@localhost ~]# route add default gw 10.64.64.64
7. Internet dengan Three Unlimitedpun telah berjalan. Selamat berinternet-ria
8. Sekian… Selamat Mencoba & Semoga Bermanfaat…










StaveSogpet 1:47 am on 18 May 2010 Permalink |
Just want to say what a great blog you got here!
I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!
Thumbs up, and keep it going!
Cheers
Christian, watch south park online
Yudi 3:37 pm on 23 June 2010 Permalink |
thanks mas atas sharing ilmunya. sangat bermanfaat
Yudi Bagus 5:05 pm on 23 June 2010 Permalink |
terimakasih bos infonya sangat bermanfaat sekali.
dikmansn 8:20 pm on 23 June 2010 Permalink |
Alhamdulillah… sama2, mas… terimakasih
Yusup Maolana 8:14 am on 16 August 2010 Permalink |
Boz mo tanya,,saya dah coba langkah2 di atas tp ketika di wvdial malah muncul
–> 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*99***1#
–> Waiting for carrier.
ATDT*99***1#
–> Timed out while dialing. Trying again.
–> Sending: ATDT*99***1#
–> Waiting for carrier.
–> Timed out while dialing. Trying again.
–> Sending: ATDT*99***1#
–> Waiting for carrier.
–> Timed out while dialing. Trying again.
kpn y boz
dery 12:26 am on 24 August 2010 Permalink |
tthankk broee atas ilmunya
raju 8:52 am on 30 August 2010 Permalink |
Tolong bagi share dong bgmana melakukan setting dengan mengunakan windows xp sp2 ?