Setting HP Modem Smart Haier C700 Linux Mint untuk Update Facebook atau Blog


Sejak masih menggunakan Linux Mint 5 saya sudah mencoba mengawinkan Linux Mint, HP modem Smart Haier C700 dan Facebook (disamping Blogger tentunya). Utak-atik melalui berbagai tutorial telah saya coba sekalipun dengan settingan Ubuntu, namun tetap nggak berhasil dan nyaris putus asa.
Hingga sampai pada Linux Mint 9, ngutak-ngatik deui dan akhirnya bisa terlaksana juga.
Langsung saja
1. Koneksikan kabel data USB HP
2. Buka aplikasi Terminal pada Linux Mint, login sebagai root
zaldi@zaldi-vanbook ~ $ sudo su
[sudo] password for zaldi:
zaldi-vanbook zaldi #
3. Periksa sambungan USB dengan perintah lsusb
zaldi-vanbook zaldi # lsusb
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 003: ID 05c6:9004 Qualcomm, Inc.
Bus 002 Device 002: ID 04f3:0230 Elan Microelectronics Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
4. Periksa fungsi sambungan USB dengan perintah dmesg|grep usb
zaldi-vanbook zaldi # dmesg|grep usb
[ 0.275761] usbcore: registered new interface driver usbfs
[ 0.275815] usbcore: registered new interface driver hub
[ 0.275894] usbcore: registered new device driver usb
[ 0.730865] usb usb1: configuration #1 chosen from 1 choice
[ 0.731788] usb usb2: configuration #1 chosen from 1 choice
[ 0.732530] usb usb3: configuration #1 chosen from 1 choice
[ 0.733246] usb usb4: configuration #1 chosen from 1 choice
[ 0.733951] usb usb5: configuration #1 chosen from 1 choice
[ 1.100079] usb 1-4: new high speed USB device using ehci_hcd and address 3
[ 1.234820] usb 1-4: configuration #1 chosen from 1 choice
[ 1.353097] usb 1-5: new high speed USB device using ehci_hcd and address 4
[ 1.359282] usbcore: registered new interface driver usb-storage
[ 1.359616] usb-storage: device found at 3
[ 1.359622] usb-storage: waiting for device to settle before scanning
[ 1.524212] usb 1-5: configuration #1 chosen from 1 choice
[ 1.769059] usb 2-2: new low speed USB device using uhci_hcd and address 2
[ 1.938836] usb 2-2: configuration #1 chosen from 1 choice
[ 1.975268] usbcore: registered new interface driver hiddev
[ 1.989330] input: USB+PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input6
[ 1.989882] generic-usb 0003:04F3:0230.0001: input,hidraw0: USB HID v1.11 Mouse [USB+PS/2 Optical Mouse] on usb-0000:00:1d.0-2/input0
[ 1.989958] usbcore: registered new interface driver usbhid
[ 1.990220] usbhid: v2.6:USB HID core driver
[ 6.356355] usb-storage: device scan complete
[ 9.059626] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input8
[ 9.059917] usbcore: registered new interface driver uvcvideo
[ 276.591545] usb 1-4: USB disconnect, address 3
[ 286.584089] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 286.750194] usb 2-1: configuration #1 chosen from 1 choice
5. Berikan modul baru pada kernel
zaldi-vanbook zaldi # modprobe usbserial vendor=0X05c6 product=0X9004
6. Periksa lagi fungsi sambungan USB
zaldi-vanbook zaldi # dmesg|grep usb
[ 0.280451] usbcore: registered new interface driver usbfs
[ 0.280509] usbcore: registered new interface driver hub
[ 0.280613] usbcore: registered new device driver usb
[ 0.730014] usb usb1: configuration #1 chosen from 1 choice
[ 0.730926] usb usb2: configuration #1 chosen from 1 choice
[ 0.731616] usb usb3: configuration #1 chosen from 1 choice
[ 0.732304] usb usb4: configuration #1 chosen from 1 choice
[ 0.733046] usb usb5: configuration #1 chosen from 1 choice
[ 1.097069] usb 1-5: new high speed USB device using ehci_hcd and address 3
[ 1.265220] usb 1-5: configuration #1 chosen from 1 choice
[ 1.509059] usb 2-2: new low speed USB device using uhci_hcd and address 2
[ 1.681948] usb 2-2: configuration #1 chosen from 1 choice
[ 1.718104] usbcore: registered new interface driver hiddev
[ 1.732401] input: USB+PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input6
[ 1.732943] generic-usb 0003:04F3:0230.0001: input,hidraw0: USB HID v1.11 Mouse [USB+PS/2 Optical Mouse] on usb-0000:00:1d.0-2/input0
[ 1.733021] usbcore: registered new interface driver usbhid
[ 1.733279] usbhid: v2.6:USB HID core driver
[ 17.097142] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input8
[ 17.097324] usbcore: registered new interface driver uvcvideo
[ 530.156145] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 530.318326] usb 2-1: configuration #1 chosen from 1 choice
[ 615.723501] usbcore: registered new interface driver usbserial
[ 615.727394] usbserial_generic 2-1:1.0: generic converter detected
[ 615.732106] usb 2-1: generic converter now attached to ttyUSB0
[ 615.732172] usbserial_generic 2-1:1.1: generic converter detected
[ 615.736584] usb 2-1: generic converter now attached to ttyUSB1
7. Instal wvdial dengan perintah apt-get install wvdial
zaldi-vanbook zaldi # apt-get install wvdial
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras
The following NEW packages will be installed:
libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras wvdial
0 upgraded, 4 newly installed, 0 to remove and 74 not upgraded.
Need to get 1.107kB of archives.
After this operation, 2.859kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libwvstreams4.6-base libwvstreams4.6-extras libuniconf4.6 wvdial
Authentication warning overridden.
Err http://archive.ubuntu.com/ubuntu/ lucid/main libwvstreams4.6-base 4.6.1-1
Could not resolve 'archive.ubuntu.com'
Prakonfigurasi paket ...
Memilih paket libwvstreams4.6-base yang sebelumnya tidak dipilih.
(Sedang membaca basis data ...109286 berkas dan direktori telah terpasang.)
Sedang membuka paket libwvstreams4.6-base (dari .../libwvstreams4.6-base_4.6.1-1_i386.deb) ...
Memilih paket libwvstreams4.6-extras yang sebelumnya tidak dipilih.
Sedang membuka paket libwvstreams4.6-extras (dari .../libwvstreams4.6-extras_4.6.1-1_i386.deb) ...
Memilih paket libuniconf4.6 yang sebelumnya tidak dipilih.
Sedang membuka paket libuniconf4.6 (dari .../libuniconf4.6_4.6.1-1_i386.deb) ...
Memilih paket wvdial yang sebelumnya tidak dipilih.
Sedang membuka paket wvdial (dari .../binary/wvdial_1.60.3_i386.deb) ...
Processing triggers for man-db ...
Sedang menyetel libwvstreams4.6-base (4.6.1-1) ...
Sedang menyetel libwvstreams4.6-extras (4.6.1-1) ...
Sedang menyetel libuniconf4.6 (4.6.1-1) ...
Sedang menyetel wvdial (1.60.3) ...
Sorry. You can retry the autodetection at any time by running "wvdialconf".
(Or you can create /etc/wvdial.conf yourself.)
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
8. Periksa HP sebagai fungsi modem
zaldi-vanbook zaldi # wvdialconf
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 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
ttyUSB1<*1>: Speed 9600: AT -- OK
ttyUSB1<*1>: Max speed is 9600; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB1.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
9. Edit dialer
zaldi-vanbook zaldi # gedit /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Modem = /dev/ttyUSB1
Username = smart
Password = smart
Baud = 115200
Stupid Mode = yes
zaldi-vanbook zaldi #
10. Edit dialer biar gak cepat putus, cari dan ganti angka lcp-echo-failure
zaldi-vanbook zaldi # gedit /etc/ppp/options
lcp-echo-failure 9999999
zaldi-vanbook zaldi #
11. Mulai koneksi dengan perintah wvdial dan tunggu hingga muncul IP dan DNS address
zaldi-vanbook zaldi # 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
--> Carrier detected. Starting PPP immediately.
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Dec 30 07:52:39 2010
--> Pid of pppd: 1665
--> Using interface ppp0
--> pppd: 0v�
--> pppd: 0v�
--> pppd: 0v�
--> pppd: 0v�
--> pppd: 0v�
--> local IP address 10.161.42.xxx
--> pppd: 0v�
--> remote IP address 10.17.95.xxx
--> pppd: 0v�
--> primary DNS address 10.17.3.xxx
--> pppd: 0v�
--> secondary DNS address 10.17.3.xxx
--> pppd: 0v�
12. Kini telah siap untuk update Blog, buka Facebook atau browsing di internet dengan rasa aman tanpa khawatir Virus
13. Untuk mengakhiri koneksi tekan Ctrl + C
^CCaught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: 0v�
--> Connect time 29.6 minutes.
--> pppd: 0v�
--> pppd: 0v�
--> Disconnecting at Thu Dec 30 08:22:14 2010
14. Buat modul HP tetap dikernel setiap boot ke sistem Linux Mint
zaldi-vanbook zaldi # gedit /etc/modules
# at boot time, one per line. Lines beginning with "#" are ignored.
usbserial vendor=0X05c6 product=0X9004
lp
zaldi-vanbook zaldi #
15. Setiap mulai koneksi cukup dengan perintah wvdial
16. Setiap koneksi HP harus direstart....
Go Linuxers
![[1]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg599R9O9dnTpLWeEea5ct0wexoKuubaTxQ2G6PZwB0j3DKeEcn9Iee5vHzP-bIo2LVKs50AwQELYjmWxJeazbljinfjgAqe5EaMzieLBGyyDu2zloww7nqSMe_2_f0eKYXw1ni_RHYzVuWROUCjx2MQ3CErc5a0A3EjIMrtYpkxrT9C2Yjrj90XK91Fv9O/s1600/107.png)
![[2]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh66UXfsA29osZpQShmA_9OHcQ3sKfp_WHPyd69hzDo4c-wSYuFE3Q7tRilMZhouuf9Csiy7T5YQ7Wz-BxolbRdTu1H9h5nQGX-b1rHI5huJkK4502klRQLtLFfct5_y852sa6Gv4rzYa0wGuc8PuTwPZpH1-Uq2lK0WZiQMUVhetLFiHEh5vf21VmdvOLZ/s1600/blogger_24px.jpg)
![[3]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-P7PEM7Xxkk9N8ZsIrCXfhZgMKudsaLrneHQJwFtGxImSDQ5O2a92hR_VgpKNxFestldznAP7bc3pYZfzViQep4W8n1hjARvD0vvPkwVe73Gxd_MLIho1TKVxx0vI-ygTp8dy1IEfftIdUW0IITfnlEaOdof2rrM5LxAtf9tSqKs1aoUI63o2bjc-1UCR/s1600/linuxmint-logo-filled-leaf-badge-24px.png)
saya juga pake ini sob..
BalasHapushehehehehe
untuk hp modem ataupun usb modem
BalasHapussmart emang pilihan tepat
Wah.. wah.. wah.. juragan Smart mampir disini, bisa dapet pulsa gretongan dong..!
BalasHapus