![]() |
|
instal modem smart di linux - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Operating System (https://hacker-newbie.org/forum-13.html) +---- Forum: GNU/Linux (https://hacker-newbie.org/forum-15.html) +---- Thread: instal modem smart di linux (/thread-10616.html) |
RE: instal modem smart di linux - killerbyte - 12-10-2011 rozzaqcorp@HNc:~$ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 201e:1022 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 1fea:0047 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
RE: instal modem smart di linux - mukeloth45 - 12-24-2011 kok ane tgl colok2 aja gan...?? mungkin ubuntu nya versi terbaru kali ya...RE: instal modem smart di linux - sarno - 02-28-2012 kok malah jadi gini Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 013: ID 12d1:14d1 Huawei Technologies Co., Ltd. Bus 002 Device 003: ID 174f:5216 Syntek Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo eject /dev/sr1 root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo eject /dev/sr0 root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo eject /dev/sr2 root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo eject /dev/sr3 eject: unable to find or open device for: `/dev/sr3' root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo modprobe usbserial venfor=0x12d1 product=0x14d1 WARNING: All config files need .conf: /etc/modprobe.d/blacklist-vmc, it will be ignored in a future release. root@sarno-Compaq-Presario-CQ40-Notebook-PC:/home/sarno# sudo eject /dev/sr1 << malah cd room ane yang ke eject om oya kata temen ku maren kalo gag ada mmc nya gag perlu di eject gt ki RE: instal modem smart di linux - polem - 02-28-2012 masbro nih work kga di BT 5 ? ada cara offlinenya nda ? ![]() RE: instal modem smart di linux - lady killer - 03-29-2012 (10-27-2011, 08:26 PM)Ichito-Bandito Wrote: ketemu lagi dengan saya, ane udh coba step by step....tapi ko kg bisa ya..... ane pake smart AC682 dengan ubuntu 10.04 LTS RE: instal modem smart di linux - scrope - 04-14-2012 ane mau nannya nii para master yang terhormat... koo wvdial ane kaga bisa keinstall yaa.. ![]() padahal modem udah terdeksi, ![]() ![]() ane pake modem smartfreen ce682 os ubuntu 11.04 dekstopmohon penceramahan para master .. [/size][/font]
RE: instal modem smart di linux - Ichito-Bandito - 04-14-2012 yg gak bisa tolong kronologis nya RE: instal modem smart di linux - devero - 05-06-2012 (11-02-2011, 03:25 AM)killerbyte Wrote: nggak jalan di lepi ane, hmm. kok masalhnya sama ya bos.. gua juga pengguna modem CE682 ( semarpen ) >> kalo bisa share dimar yooo RE: instal modem smart di linux - Ryuz4k1 - 05-06-2012 ini nih yg ane cari coba dulu ah
RE: instal modem smart di linux - chiz4r0 - 06-26-2012 ane pake cara nih di CE682 bt... 1. wvdial.conf Code: [Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
init3 = AT+CRM=1
Stupid Mode = 1
Modem Type = Analog Modem
Command Line = ATDT
ISDN = 0
Phone = #777
Modem = /dev/ttyUSB0
Username = smart
Password = smart
Baud = 4608002. smart.sh Code: #!/bin/bash
PS1="\e]2;Smartfren Connex AC682 EVDO\a\u@\h:\$ "
setterm -term linux -back white -fore black -clear
clear
echo "Smartfren CE682 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=0x201e product=0x1022
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/bash3. rubah permision smart.sh Code: chmod +x smart.sh4. tinggal jalankan.. ![]() Code: ./smart.shklo berhasil ginih.. Code: Smartfren CE682 Internet
USB Modem EVDO Rev A
Now Executing Smartfren USB Modem..
by Ares TheHopeBuster
please wait...
00:00:00
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 201e:1022
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 10f1:1a19 Importek
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyUSB0 first, /dev/modem is a link to it.
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: China TeleCom
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S1 S2 S3 S4 S5 S6 S7 S8
Modem Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16
Modem Port Scan<*1>: S17 S18 S19 S20 S21 S22 S23 S24
Modem Port Scan<*1>: S25 S26 S27 S28 S29 S30 S31
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: China TeleCom
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 3100000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Jun 25 19:18:43 2012
--> Pid of pppd: 2002
--> Using interface ppp0
--> pppd: [10]
--> pppd: [10]
--> pppd: [10]
--> pppd: [10]
--> pppd: [10]
--> local IP address 10.184.168.201
--> pppd: [10]
--> remote IP address 10.17.95.3
--> pppd: [10]
--> primary DNS address 10.17.3.244
--> pppd: [10]
--> secondary DNS address 10.17.3.245
--> pppd: [10]klo gagal, matiin kompi (saran ane jangan direstart), cabut modem, idupin kompi, colok modem, baru jalanin ./smart.sh copas by Ares
|