Backtrack: Menyambungkan modem ZTE AC2726i

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://ditatompel.crayoncreative.net/blog/how-to/connect-to-the-internet-using-smart-modem-zte-ac2726i-in-linux-backtrack/

Tested with : BT R1 and BT 4 Final. If you are using an older version of BackTrack, please let me know it’s work or not.

Requirement:

  • ZTE AC2726i / ZTE AC2726 (Dual Mode USB Modem);
  • BackTrack 4 Final or BackTrack R1

First, you must download usb_modeswitch here. If you’ve been able to connect to the Internet, simply type:

wget http://ditatompel.crayoncreative.net/v2/files/usb_modeswitch-1.0.2.tar.bz2

After the download is complete, extract usb_modeswitch-1.0.2.tar.bz2 we’ve just downloaded

tar -xjf usb_modeswitch-1.0.2.tar.bz2

Go to usb_modeswitch-1.0.2 folder and the install it as root:

cd usb_modeswitch-1.0.2; sudo make install

And you should get the following output:

[sudo] password for ditatompel:
mkdir -p /usr/sbin
install ./usb_modeswitch /usr/sbin
mkdir -p /etc
install ./usb_modeswitch.conf /etc

there are two files are installed : usb_modeswitch and usb_modeswitch.conf. edit usb_modeswitch.conf located in the /etc folder, I am using pico command to edit this file

sudo pico /etc/usb_modeswitch.conf

add this following configuration similar to the configuration of ZTE AC2710 (EVDO) by Wasim Baig

#########################################################
## ZTE AC2726i (EVDO)
DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= 0xfff1
MessageContent= "5553424312345678c00000008000069f010000000000000000000000000000"

Next, open wvdial.conf file in /etc folder and edit the configuration file

  • I recommend that you backup it first!
sudo pico /etc/wvdial.conf

Use this following configuration:

[Dialer smart]
Init1 = ATZ
Init2 = 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

Configuration is complete now, run usb_modeswitch on your console to change your product usb modem from fff5 to fff1

usb_modeswitch

Almost done, Next step we need to detect what is you product id:

sudo modprobe usbserial vendor=0x19d2 product=0xfff1

Last step, just do wvdial and welcome to the World Wide Web

sudo wvdial smart

Referensi

Pranala Menarik