Konfigurasi Modem USB Nokia CDMA 3105 di Ubuntu 9.10

Peralatan yang dibutuhkan:

– Komputer/Laptop yang ber-OS GNU/Linux Ubuntu 9.10 (saya pakai Ubuntu soalnya) (sudah saya coba di Fedora 12 dan CentOS 5.4 berjalan dengan lancar, Alhamdulillah)

– Modem USB Nokia CDMA 3105 + Kabel datanya

– Makanan ringan secukupnya….

– Doa menurut agamanya masing2 (Plug & Play Pray)

1. Buka terminal, ketik dengan yang saya bold tulisannya:

dikmansn165@dikmansn165-laptop:~$ sudo wvdialconf /etc/wvdial.conf

Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

Modem Port Scan: S0 S1 S2 S3

WvModem: Cannot get information for serial port.

ttyUSB0: ATQ0 V1 E1 — OK

ttyUSB0: ATQ0 V1 E1 Z — OK

ttyUSB0: ATQ0 V1 E1 S0=0 — OK

ttyUSB0: ATQ0 V1 E1 S0=0 &C1 — OK

ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK

ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — ERROR

ttyUSB0: Modem Identifier: ATI — ERROR

ttyUSB0: Speed 4800: AT — OK

ttyUSB0: Speed 9600: AT — OK

ttyUSB0: Speed 19200: AT — OK

ttyUSB0: Speed 38400: AT — OK

ttyUSB0: Speed 57600: AT — OK

ttyUSB0: Speed 115200: AT — OK

ttyUSB0: Speed 230400: AT — OK

ttyUSB0: Speed 460800: AT — ~�

ttyUSB0: Speed 460800: AT — [06]�

ttyUSB0: Speed 460800: AT — ~�

ttyUSB0: Max speed is 230400; that should be safe.

ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 — 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”

meskipun ada ERROR abaikan saja…

2. Konfigurasi /etc/wvdial.conf (terserah anda bisa pakai editor apapun di GNU/Linux, disini saya pakai gedit.

dikmansn165@dikmansn165-laptop:~$ sudo gedit /etc/wvdial.conf

[sudo] password for dikmansn165:

[Dialer Defaults]

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2

Init3 = AT+crm=1

Init4 = AT+cso=33

Modem Type = Analog Modem

ISDN = 0

New PPPD = yes

Phone = #777

Modem = /dev/ttyUSB0

Username = isikan menurut kartu yang anda pakai

Password = isikan menurut kartu yang anda pakai

Baud = 230400

Kemudaian simpan konfigurasi tersebut

3. Mari kita jalankan….

dikmansn165@dikmansn165-laptop:~$ sudo wvdial &

[1] 3763

dikmansn165@dikmansn165-laptop:~$ –> WvDial: Internet dialer version 1.60

–> Cannot get information for serial port.

–> Initializing modem.

–> Sending: ATZ

OK

–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2

ATQ0 V1 E1 S0=0 &C1 &D2

OK

–> Sending: AT+crm=1

AT+crm=1

OK

–> Sending: AT+cso=33

AT+cso=33

OK

–> Modem initialized.

–> Sending: ATDT#777

–> Waiting for carrier.

ATDT#777

CONNECT

–> Carrier detected. Waiting for prompt.

~[7f]}#@!}!}!} }5}”}&} }*} } }#}%B#}%}%}&jX1}9EJ~

–> PPP negotiation detected.

–> Starting pppd at Wed Dec 9 16:17:06 2009

–> Pid of pppd: 3800

–> Using interface ppp0

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> local IP address *********

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> remote IP address *********

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> primary DNS address *********

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

–> secondary DNS address *********

–> pppd: p�[1e] x�[1e] ��[1e] ��[1e]

4. Cek sudah dapat IP Address apa belum??, Ada baiknya buka terminal baru lagi lalu ketik dengan perintah ifconfig:

dikmansn165@dikmansn165-laptop:~$ sudo ifconfig

[sudo] password for dikmansn165:

ppp0 Link encap:Point-to-Point Protocol

inet addr:******** P-t-P:******** Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:9 errors:1 dropped:0 overruns:0 frame:0

TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:3

RX bytes:420 (420.0 B) TX bytes:87 (87.0 B)

5. Periksa tabel route:

dikmansn165@dikmansn165-laptop:~$ route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

********* 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

6. Tambahkan gateway dari nilai yang didapat dari P-t-P:********* ketika menjalankan perintah ifconfig:

dikmansn165@dikmansn165-laptop:~$ sudo route add default gw *********

7. Cek tabel route:

dikmansn165@dikmansn165-laptop:~$ route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

******** 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

0.0.0.0 ******** 0.0.0.0 UG 0 0 0 ppp0

0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

8. Tambahkan DNS Address, ini didapat ketika menjalankan perintah wvdial &. Ubuntu saya sudah mengenalinya, jadi bisa dilewatkan, tapi ketika coba di Fedora 12 maupun CentOS 5.4 tidak ada… ya terpaksa ketik:

dikmansn165@dikmansn165-laptop:~$ echo “nameserver *******” > /etc/resolv.conf

dikmansn165@dikmansn165-laptop:~$ echo “nameserver *******” >> /etc/resolv.conf

Cek:

dikmansn165@dikmansn165-laptop:~$ cat /etc/resolv.conf

nameserver ***********

nameserver ***********

9. Test koneksi Internet dengan selingan doa:

dikmansn165@dikmansn165-laptop:~$ nslookup http://www.google.com

Server: 192.168.255.3

Address: 192.168.255.3#53

Non-authoritative answer:

http://www.google.com canonical name = http://www.l.google.com.

Name: http://www.l.google.com

Address: 216.239.61.104

10. Selamat Berinternet-ria…. Semoga Bermanfaat…

NB: ************ = adalah alamat IP yang diberikan dari layanan kartu CDMA yang anda gunakan..

One thought on “Konfigurasi Modem USB Nokia CDMA 3105 di Ubuntu 9.10

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