Internetan dengan Smart di Ubuntu 8.10

smart on ubuntuAkhirnya ubuntu 8.10 di rumah bisa konek internet dengan SMART (hp d1200P). setelah googling sana-sini, baca panduannya mas awangga, supranov, mulyanto, dll. akhirnya bisa konek juga. berikut resume dari perjalanan mengonekan smart pada ubuntu 8.10.

  1. colokan smart pada koputer melalui kabel usb bawaan hp tersebut.
  2. Buka konsol dan masuk sebagai root dan deteksi hp tersebut dengan lsusb
    abas@abas-ubuntu:~$ sudo -i
    [sudo] password for abas:
    root@abas-ubuntu:~# lsusb
    Bus 002 Device 005: ID 0951:1603 Kingston Technology Data Traveler 1GB/2GB Pen Drive
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
    Bus 001 Device 002: ID 15eb:0001  
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Definisikan hp (modem) tersebut dengan modprobe
    root@abas-ubuntu:~# modprobe usbserial vendor=0x15eb product=0x0001

    tidak seperti tutoriallnya mas awangga, pada step ini saya mengalami masalah seperti ini

    root@abas-ubuntu:~# modprobe usbserial vendor=0x15eb product=0×0001
    FATAL: Error inserting usbserial (/lib/modules/2.6.27-7-generic/kernel/drivers/usb/serial/usbserial.ko): Invalid argument

    Setelah googling2 ketemu jawabanya, bahwa usbserial belum keinstall, solusinya

    root@abas-ubuntu:~# cd /usr/src/linux-headers-2.6.27-7
    root@abas-ubuntu:/usr/src/linux-headers-2.6.27-7# make xconfig
    USB Support –> USB Serial Converter Support
    pilih USB Generic Serial Driver
    root@abas-ubuntu:/usr/src/linux-headers-2.6.27-7#make all

    Jika sudah berhaasil maka hp modem kita akan kedetek sebagai ttyUSB0 dan ttyUSB1, bisa dicek dengan dmesg

    root@abas-ubuntu:~# dmesg
    [  275.821901] usbserial: USB Serial support registered for generic
    [  275.823583] usbserial_generic 1-2:1.0: generic converter detected
    [  275.825586] usb 1-2: generic converter now attached to ttyUSB0
    [  275.827108] usbserial_generic 1-2:1.1: generic converter detected
    [  275.834189] usb 1-2: generic converter now attached to ttyUSB1
    [  275.835741] usbcore: registered new interface driver usbserial_generic
    [  275.835753] usbserial: USB Serial Driver core
  4. Edit konfigurasi ppp supaya modemnya ga cepet diskonek hilanggkan comment pada passif dan silent pada /etc/ppp/options
    root@abas-ubuntu:~# nano /etc/ppp/options
    # Enables the "passive" option in the LCP.  With this option, pppd will
    # attempt to initiate a connection; if no reply is received from the
    # peer, pppd will then just wait passively for a valid LCP packet from
    # the peer (instead of exiting, as it does without this option).
    passive
    
    # With this option, pppd will not transmit LCP packets to initiate a
    # connection until a valid LCP packet is received from the peer (as for
    # the "passive" option with old versions of pppd).
    silent

    Dan pada opsi lcp_echo_failure 4 , ganti angka 4 dengan angka setinggi-tingginya.

  5. Buat dialer di wvdial untuk smart pada /etc/wvdial.conf.
    root@abas-ubuntu:~# nano /etc/wvdial.conf
    [Dialer Defaults]
    Phone =
    Username =
    Password =
    New PPPD = yes
    [Dialer smart]
    Modem = /dev/ttyUSB0
    Baud = 230400
    Init1 = atze0Q0v1
    Init2 = ate0q0v1
    Init3 = at
    Init4 = at+crm=1;+cmux=1;+cps=33;+cta=0
    FlowControl = CRTSCTS
    Phone = #777
    Username = smart
    Password = smart
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Idle Seconds = 300
    ISDN = 0
  6. Koneksikan dengan wvdial smart
    root@abas-ubuntu:~# wvdial smart
    kurang lebih tampilan outpunya akan seperti ini
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: atze0Q0v1
    
    OK
    --> Sending: ate0q0v1
    OK
    --> Sending: at
    OK
    --> Sending: at+crm=1;+cmux=1;+cps=33;+cta=0
    OK
    --> Modem initialized.
    --> Idle Seconds = 300, disabling automatic reconnect.
    --> Sending: ATDT#777
    --> Waiting for carrier.
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Sat Feb 28 10:59:32 2009
    --> Pid of pppd: 5937
    --> Using interface ppp0
    --> local  IP address 10.10.54.XX
    --> remote IP address 10.17.4.XX

kabar buruknya adalah Sama seperti teman2 yang lain, bahwa handphone ini mempunyai keanehan yaitu hanya bisa konek selama 50 menit selanjutnya akan putus(modemnya hang). dan untuk mengkonekannya lagi musti di konekskan dulu di windows, terus di diskonek tanpa matiin hp.

 

sumber: Ahmad Basuki

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

%d bloggers like this: