Difference between revisions of "Instalasi USB Modem ZTE MF620 di Linux Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
  
 
  Bus 006 Device 002: ID 19d2:2000 ONDA Communication S.p.A.  
 
  Bus 006 Device 002: ID 19d2:2000 ONDA Communication S.p.A.  
 
Edit file /etc/udev/rules.d/15-zte-mf620.rules
 
 
sudo vi /etc/udev/rules.d/15-zte-mf620.rules
 
 
Isi
 
 
#---------------------------------------------------------------------------------
 
ACTION!="add", GOTO="ZTE_End"
 
 
# Is this the ZeroCD device?
 
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
 
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
 
 
# Is this the actual modem?
 
SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
 
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"
 
 
LABEL="ZTE_ZeroCD"
 
# This is the ZeroCD part of the card, remove
 
# the usb_storage kernel module so
 
# it does not get treated like a storage device
 
RUN+="/sbin/rmmod usb_storage"
 
RUN+="/sbin/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001"
 
 
LABEL="ZTE_Modem"
 
# This is the Modem part of the card, let's
 
# load usbserial with the correct vendor
 
# and product ID's so we get our usb serial devices
 
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001",
 
# Make users belonging to the dialout group
 
# able to use the usb serial devices.
 
MODE="660", GROUP="dialout"
 
 
LABEL="ZTE_End"
 
#------------------------ eof ---------------------------------------
 
  
 
Lakukan beberapa kali, sambil cabut & masukan [[USB]] Modem  
 
Lakukan beberapa kali, sambil cabut & masukan [[USB]] Modem  
Line 59: Line 23:
 
  Bus 001 Device 006: ID 19d2:0001
 
  Bus 001 Device 006: ID 19d2:0001
  
Kalau udev gagal lakukan secara manual
+
Kalau udev gagal lakukan secara manual '''(beberapa kali)'''
  
  # rmmod usb_storage
+
  rmmod usb_storage
  # usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001
+
  usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001
  # modprobe usbserial vendor=0x19d2 product=0x0001
+
  modprobe usbserial vendor=0x19d2 product=0x0001
  
 
Kemudian jika dilakukan
 
Kemudian jika dilakukan
  
  # ls -la /dev/ttyU*
+
  ls -la /dev/ttyU*
  
 
Harus keluar
 
Harus keluar
Line 76: Line 40:
  
  
 +
==setup wvdial==
  
----
 
  
 
Install wvdial
 
Install wvdial
  
 
  # apt-get install wvdial
 
  # apt-get install wvdial
 
  
 
Siapkan file /etc/wvdial.conf agar dapat menelepon ke provider, bunyinya kira-kira
 
Siapkan file /etc/wvdial.conf agar dapat menelepon ke provider, bunyinya kira-kira
  
  
'''INDOSAT3G'''
+
===INDOSAT3G===
  
 
  [Dialer Defaults]
 
  [Dialer Defaults]
Line 120: Line 83:
 
  # wvdial indosat3g
 
  # wvdial indosat3g
  
 
+
===XL3G===
 
 
'''XL3G'''
 
  
 
  [Dialer Defaults]
 
  [Dialer Defaults]
Line 131: Line 92:
  
 
  [Dialer xl3g]
 
  [Dialer xl3g]
  Phone = *99***1#
+
  Phone = *99#
 
  Username = xlgprs
 
  Username = xlgprs
 
  Password = proxl
 
  Password = proxl
Line 144: Line 105:
 
  Init5 =AT+CGDCONT=1,"IP","www.xlgprs.net";
 
  Init5 =AT+CGDCONT=1,"IP","www.xlgprs.net";
  
 
+
==dial==
----
 
 
 
  
 
Dial menggunakan
 
Dial menggunakan
Line 158: Line 117:
 
* [[Wireless Internet Berbasis Selular]]
 
* [[Wireless Internet Berbasis Selular]]
 
* [[Wireless Internet]]
 
* [[Wireless Internet]]
 +
 +
[[Category: Wireless]]
 +
[[Category: 3G]]

Latest revision as of 11:03, 11 May 2010

Pastikan SIM Card yang digunakan tidak ada PIN-nya. Kalau ada PIN, tolong dibuang, karena PIN akan membuat pusing proses instalasi di Linux.

Install usb_modeswitch

sudo apt-get install usb-modeswitch libusb-0.1-4 libusb-dev

Pastikan USB modem ZTE MF620 terdeteksi

sudo lsusb

akan keluar

Bus 006 Device 002: ID 19d2:2000 ONDA Communication S.p.A. 

Lakukan beberapa kali, sambil cabut & masukan USB Modem sampai

# lsusb

akan keluar

Bus 001 Device 006: ID 19d2:0001

Kalau udev gagal lakukan secara manual (beberapa kali)

rmmod usb_storage
usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001
modprobe usbserial vendor=0x19d2 product=0x0001

Kemudian jika dilakukan

ls -la /dev/ttyU*

Harus keluar

crw-rw---- 1 root dialout 188, 0 2008-03-20 09:46 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2008-03-20 09:43 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 2008-03-20 09:43 /dev/ttyUSB2


setup wvdial

Install wvdial

# apt-get install wvdial

Siapkan file /etc/wvdial.conf agar dapat menelepon ke provider, bunyinya kira-kira


INDOSAT3G

[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
[Dialer indosat3g]
Modem = /dev/ttyUSB0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","indosat3g"
Area Code =
Phone = *99#
Username =
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1 

Dial menggunakan

# wvdial indosat3g

XL3G

[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
[Dialer xl3g]
Phone = *99#
Username = xlgprs
Password = proxl
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","www.xlgprs.net";

dial

Dial menggunakan

# wvdial xl3g


Pranala Menarik