Smartfren ConneX AC682 di Linux
Linux itu nggak susah Bratha, sedikit tantangan dan oprek. Kali ini Ares akan jelasin gimana cara Dial-Up dengan modem Smartfren ConneX AC682 (ZTE) di Linux (Ubuntu, Backtrack). Oke, Langsung aja!
Sekian dari Ares! Semoga bermanfaat!
Buka /etc/wvdial.conf, lalu copy-paste code ini:
[Dialer smart]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = smart
Init1 = ATZ
Password = smart
Modem = /dev/ttyUSB0
Baud = 460800
Command Line = ATDT
Stupid Mode = 1 #!/bin/bash PS1="\e]2;Smartfren Connex AC682 EVDO\a\u@\h:\$ " setterm -term linux -back white -fore black -clear clear echo "Smartfren AC682 Internet" echo "USB Modem EVDO Rev A" echo "Now Executing Smartfren USB Modem.." echo "by Ares TheHopeBuster" sudo eject /dev/sr1 sudo ifconfig eth0 down sudo modprobe usbserial vendor=0x19d2 product=0xffdd echo "please wait..." function countdown { local OLD_IFS="${IFS}" IFS=":" local ARR=( $1 ) local SECONDS=$(( (ARR[0] * 60 * 60) + (ARR[1] * 60) + ARR[2] )) local START=$(date +%s) local END=$((START + SECONDS)) local CUR=$START while [[ $CUR -lt $END ]] do CUR=$(date +%s) LEFT=$((END-CUR)) printf "\r%02d:%02d:%02d" \ $((LEFT/3600)) $(( (LEFT/60)%60)) $((LEFT%60)) sleep 1 done IFS="${OLD_IFS}" echo " " } countdown "00:00:15" lsusb sudo ln -b /dev/ttyUSB0 /dev/modem sudo wvdialconf sudo wvdial smart $@ /bin/bash
Sumber : http://thehopebuster.us/?p=11