
- install package modeswitch wait until the install is complete
- later type the following command these "lsusb"
- so that it appears as below
Next edit the file /etc/ usb_modeswitch.conf
sudo gedit /etc/usb_modeswitch.conf
masukkan script ini untuk merubah "fff5" jadi "fff1"
# Smart ZTE 2726
DefaultVendor= 0×19d2
DefaultProduct= 0xfff5
TargetVendor= 0×19d2
TargetProduct= 0xfff1
MessageContent=
“5553424312345678c00000008000069f030000000000000000000000000000″
DefaultVendor= 0×19d2
DefaultProduct= 0xfff5
TargetVendor= 0×19d2
TargetProduct= 0xfff1
MessageContent=
“5553424312345678c00000008000069f030000000000000000000000000000″
do not forget the save, and we will give the udev rules
sudo gedit /etc/udev/rules.d/99-zte-ac2726.rules
enter this script
# Smart ZTE AC2726 (EVDO)
SUBSYSTEM==”usb”, SYSFS{idVendor}==”19d2″, SYSFS{idProduct}==”fff5″, RUN+=”/usr/sbin/usb_modeswitch –default-vendor 0×19d2 –default-product 0xfff5 –target-vendor 0×19d2 –target-product 0xfff1 –message-content 5553424312345678c00000008000069f030000000000000000000000000000″
SUBSYSTEM==”usb”, SYSFS{idVendor}==”19d2″, SYSFS{idProduct}==”fff5″, RUN+=”/usr/sbin/usb_modeswitch –default-vendor 0×19d2 –default-product 0xfff5 –target-vendor 0×19d2 –target-product 0xfff1 –message-content 5553424312345678c00000008000069f030000000000000000000000000000″
Next, change the first USB Modeswitchnya, from "fff5" to "fff1" by using the command:
sudo usb_modeswitch
Next is to do modeprobe. Modeprobe is a program to add (add) and delete (remove) a module of the Linux kernel, the command
sudo modprobe usbserial vendor=0×19d2 product=0xfff1
Installed wvdial
First install the wvdial package, if there wvdial package, skip this step, if not, the command: sudo apt-get install wvdial
Add configuration for ZTE EVDO modems Smart AC 2726, edit the file / etc / wvdial.conf using the command:sudo gedit /etc/wvdial.conf
and entry this script
[Dialer smart]
Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = smart
Password = smart
FlowControl = CRTSCTS
Carrier Check = No
Baud = 9600
don't forget to save
To connect computers to the Internet, use the command:
wvdial smart
0 komentar:
Posting Komentar