Thread Rating:
  • 4 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
instal modem smart di linux
#1
ketemu lagi dengan saya,
kali ini saya akan membuat tutorial yg dimana modem usb smart yg 200ribuan itu ndak bisa ke detek di ubuntu atau mungkin distro lain nya, ya jelas wong dia cuma suport windows ama mac

cerita dikit ya
modem nya aku beli tadi sore sepulang kuliah di grapari smart jakabaring palembang
tadi aku nanya ke cso(customer serpis) mbak ini bisa di pake di linux gak, mbak itu ngotot ndak bisa di pake disana

trus aku ngehubungun saudara jauh si reza atau aaezha yg kalian kenal
jadi nanya, dan dikasih lah blog nya aaezha.com

dan setelah berhasil maka ada baik nya aku membagikan ilmu ini, sebener nya ini juga sblm nya aku liat di opensource.telkomspeedy.com
tapi ribet gak ada paket debian yg offline instalasi

langsung aja yah,

#. download wmdial http://www.indowebster.com//wvdial910.html
ektrak deb nya lalu klik klik in smua nya, instal smua lah

#. udah nya tak cek dulu usb saya dengan perintah : lsusb
[Image: screenshotbz.png]
Code:
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 002: ID 201e:1023 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600 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 004: ID 064e:a103 Suyin Corp. Bus 002 Device 003: ID 0411:01d9 MelCo., Inc. 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
itu kan blom tedeteksi usb modem kita

#. sekarang saat nya mendeteksi usb kita tadi dengan perintah : sudo eject /dev/sr1
#. lalu ketik lagi : lsusb
coba perhatiin ada yg beda kan dari yg pertama dan kedua
[Image: screenshot1nya.png]
Code:
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 002: ID 201e:1023 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600 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 004: ID 064e:a103 Suyin Corp. Bus 002 Device 003: ID 0411:01d9 MelCo., Inc. 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 lo7us@bl4ck-Lo7us:~$ sudo eject /dev/sr1 [sudo] password for lo7us: lo7us@bl4ck-Lo7us:~$ lsusb 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 002: ID 08ff:1600 AuthenTec, Inc. AES1600 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 004: ID 064e:a103 Suyin Corp. Bus 002 Device 003: ID 0411:01d9 MelCo., Inc. 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
yg berubah ialah : Bus 005 Device 003: ID 201e:1022 <-- arti nya itu lah modem usb kita

#. sudak itu perintahkan : sudo modprobe usbserial vendor=0x201e product=0x1022
itu kan sesuai yg berubah, mungkin di komputer mu juga akan lain angka nya, jadi dilihat dengan jeli yah

#. sudah itu ketik : sudo wvdialconf
maka akan muncul
Code:
Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. Modem Port Scan<*1>: S0 S1 S2 S3 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 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. 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"

#. okeh skarang edit wvdial nya dengan perintah : sudo gedit /etc/wvdial.conf

#. sudah itu akan muncul text editor dan masukan ini di paling atas
Code:
[Dialer smart] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid Mode = 1 Modem Type = Analog Modem Command Line = ATDT ISDN = 0 New PPPD = yes Phone = #777sudo Modem = /dev/ttyUSB0 Username = smart Password = smart Baud = 460800

#, save, jalankan dengan perintah : wvdial smart
lalu akan muncul kyk ini, dan browsing lah

[Image: screenshot2co.png]

=================================

tambahan dari chiz4r0

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 = 460800

2. 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/bash

3. rubah permision smart.sh
Code:
chmod +x smart.sh

4. tinggal jalankan.. Hantu
Code:
./smart.sh

klo 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 Hantu
Reply
#2
ini tehnik pake wvdial ya kang? kalo modem ane di linux mint gak bisa pake cara kayak gini gak tau kenapa Sedih
DILARANG KERAS

Quote:0. JUNK
1. POSTING UNTUK MENCARI REFEREAL
2. MEMPOSTING KATA KATA CURHATAN
3. SHOW OFF TANPA POC
4. SPAM
5. JUALAN (Maaf ini bukan Forum Jualan)
Reply
#3
iya kang,
Reply
#4
om klo modem hp smart c261
pake cara ini bisa nda ya ?
Bingung Bingung
Code:
bersyukurlah terhadap apa yang kau dapat sekarang karna besok mungkin kamu tidak dapat melihat dunia lagi
Reply
#5
di coba aja bro
Reply
#6
oce thank,s omm...
ane bookmart dulu ya Culas
ntr ane coba Culas
Code:
bersyukurlah terhadap apa yang kau dapat sekarang karna besok mungkin kamu tidak dapat melihat dunia lagi
Reply
#7
wah gini toh caranya Mantab

tau gitu ane kgk beli modem huawei dh Santet

thanks infonya kang Kamsia

besok mau ngepet ah,, biar bisa beli modem smart yg I Hate Slow katanya Ngakak
[Image: YRtWp.1.gif]
Reply
#8
kesulitan ane terletak pada step ini kang ->
Quote:[Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
Command Line = ATDT
ISDN = 0
New PPPD = yes
Phone = #777sudo
Modem = /dev/ttyUSB0
Username = smart
Password = smart
Baud = 460800

nah itu kan untuk smart, kalo untuk modem ceria gak sama kan? ane nanyak ama providernya malah bilang gak bisa katanya Ngakak
DILARANG KERAS

Quote:0. JUNK
1. POSTING UNTUK MENCARI REFEREAL
2. MEMPOSTING KATA KATA CURHATAN
3. SHOW OFF TANPA POC
4. SPAM
5. JUALAN (Maaf ini bukan Forum Jualan)
Reply
#9
klo provid lain nya, ganti aja yg penting penting skitar usname/password/phone
Reply
#10
hmm klo di ubuntu kyk'a bs g ush pake wvdial deh udh dr sana'a tinggal

edit connection > mobile broadband > add > Zte CDMA (soal'a ane pake semar) > forward

tinggal lanjutin perintah2'a dah... klo udh selesai tunggu bbpr menit nanti akan kebaca sendiri :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Jangan Pakai LINUX, (penyesatan terhadap Linux) abu adam 57 1,375 10-07-2014, 01:39 AM
Last Post: cruzzer
Electric_16 Tips belajar Linux yg efektif (Versi n4is3n) N4is3N 82 3,561 10-02-2014, 01:45 PM
Last Post: B1NT4NG
  Kali Linux 1.0.6 mumiro 7 164 08-24-2014, 09:27 PM
Last Post: airsky27
Wah-yellow_16 [ASK] Error copy di Linux FajarTM 2 52 07-26-2014, 12:07 AM
Last Post: FajarTM
  [HOW TO] Build Linux Kernel From Source red-dragon 3 123 07-11-2014, 08:55 PM
Last Post: OneCThree
  Converter Hexa,Binary,Decimal,Octal With Linux Mr.Doel 1 72 06-30-2014, 10:52 PM
Last Post: Report
  Linux CMD: Mastering Linux History red-dragon 4 111 05-23-2014, 06:19 PM
Last Post: hogyz
  [Help] Cara install Havij di Kali linux indra28 9 152 05-02-2014, 05:17 PM
Last Post: vYc0d
  Tutorial Kali Linux - Serangan DoS IP dengan Hping3 Mbah Roni 6 130 03-10-2014, 10:31 AM
Last Post: Mbah Roni
  (ASK) Cara connect wifi via terminal pada kali linux h.adittya 3 104 02-28-2014, 08:35 AM
Last Post: avaritia

Forum Jump:


Users browsing this thread: 1 Guest(s)