11-16-2011, 05:14 AM
sudo add-apt-repository ppa:doctormo/ppa
sudo apt-get update
sudo apt-get install usb-modeswitch
kemudian edit file di
/etc/usb_modeswitch.conf
jadikan seperti ini
buat file bash di
#touch /usr/sbin/prolink_hsdpa.sh
paste code di bwah ini ke situ
jgn lupa kasi execute permission
#chmod +x /usr/sbin/prolink_hsdpa.sh
buat file dengan nama dan directory di bawah ini
#touch /etc/udev/rules.d/45-prolink_hsdpa.rules
paste code di bawah ini ke file barusan
terus tinggal setting wvdial.conf sesuai dengan setingan ISP om
# gedit /etc/wvdial.conf
sudo apt-get update
sudo apt-get install usb-modeswitch
kemudian edit file di
/etc/usb_modeswitch.conf
jadikan seperti ini
Code:
########################################################
# Option PROLINK PHS100
#
# Contributor: laxaman
DefaultVendor= 0x1e0e
DefaultProduct= 0xf000
TargetVendor= 0x1e0e
TargetProduct= 0x9000
# Not really necessary because IDs of target device are different
TargetClass= 0xff
MessageEndpoint=0x1
MessageContent="555342431234567800000000000006bd000000020000000000000000000000"
buat file bash di
#touch /usr/sbin/prolink_hsdpa.sh
paste code di bwah ini ke situ
Code:
#!/bin/bash
# Copyright (C) 2008 Nayanajit Mahendra Laxaman mail: [email protected]
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
PATH=/usr/bin:/bin:/usr/sbin:/sbin
modprobe -r usbserial
sleep 1
modprobe usbserial vendor=0x1e0e product=0x9000
ResponseEndpoint=0x1
jgn lupa kasi execute permission
#chmod +x /usr/sbin/prolink_hsdpa.sh
buat file dengan nama dan directory di bawah ini
#touch /etc/udev/rules.d/45-prolink_hsdpa.rules
paste code di bawah ini ke file barusan
Code:
# Copyright (C) 2008 Nayanajit Mahendra Laxaman mail: [email protected]
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
ACTION=="add", SUBSYSTEMS=="scsi", DRIVERS=="sr", \
ATTR{manufacturer}=="PROLINK ", \
RUN:=""
SUBSYSTEM=="usb", SYSFS{idProduct}=="f000", SYSFS{idVendor}=="1e0e", \
RUN:="/usr/sbin/usb_modeswitch"
SUBSYSTEM=="usb", SYSFS{idProduct}=="9000", SYSFS{idVendor}=="1e0e", \
RUN:="/usr/sbin/prolink_hsdpa.sh"
terus tinggal setting wvdial.conf sesuai dengan setingan ISP om
# gedit /etc/wvdial.conf