Instalasi USB Modem ZTE MF620 di Linux Ubuntu
Revision as of 12:08, 18 January 2010 by Onnowpurbo (talk | contribs)
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.
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 sampai
# lsusb
akan keluar
Bus 001 Device 006: ID 19d2:0001
Kalau udev gagal lakukan secara manual
# 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
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***1# 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 menggunakan
# wvdial xl3g