08.35
0
nie buat tmen-temen yang make user UBUNTU biar bisa connect via smartfren connex ikutin nie langkah-langkah.

First

instal tuh wvdial , or wave dial adalah aplikasi dial up modem buat linux..kalau belum ada bisa di cari di mbah google juga buanyak. iya perhatiin bit OS km..ntah tu 32bit pa 64bit.

kalau dah diinstal tuh software, buka Terminal ketik "lsusb"


topan@topan-Satellite-A135:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 028: ID 19d2:ffde ONDA Communication S.p.A.
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

tuh keliatan modemnya yang bus 004 tapi ini belum terdetek as modem jadi masukkan perintah "sudo eject /dev/sr1".pada password masukkan password kamu.


topan@topan-Satellite-A135:~$ sudo eject /dev/sr1
[sudo] password for topan:


kemudian check lagi pake perintah diatas tadi "lsusb" maka tampilan akan berubah seperti ini.

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 030: ID 19d2:ffdd ONDA Communication S.p.A. 
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

tau khn bedanya..bus 004 ffde menjadi ffdd nah sekarang dh terdetek tu modem. lalu masukkan perintah
"sudo modprobe usbserial vendor=0x19d2 product=0xffdd".masukkan password anda
topan@topan-Satellite-A135:~$ sudo modprobe usbserial vendor=0x19d2 product=0xffdd
[sudo] password for topan: 
topan@topan-Satellite-A135:~$ 

nah di bagian ini dah harus diinstal tuh wvdial..ketik perintah "sudo wvdialconf".


topan@topan-Satellite-A135:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15  
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23  
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31  
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: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
topan@topan-Satellite-A135:~$ 

kemudian ketik "sudo gedit  /etc/wvdial.conf". 

topan@topan-Satellite-A135:~$ sudo gedit /etc/wvdial.conf

(gedit:4303): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.CBUZ2V': No such file or directory

(gedit:4303): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

dan muncul halaman kaya notepad dan tinggal copas z ni setting hbs tu save dan close and...

[Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
FlowControl = CRTSCTS
Phone = #777
Modem = /dev/ttyUSB0
Username = smart
Carrier Check = no
Password = smart
Baud = 9600

modem insyaAllah dah siap di pake.ketikkan perintah "sudo wvdial smart". Baca Bismillah dan tekan enter..

topan@topan-Satellite-A135:~$ sudo wvdial smart
--> WvDial: Internet dialer version 1.61
--> 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
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 3100000
--> Carrier detected.  Waiting for prompt.
~[7f]}#@!}!}!} }3}"}&} } } } }#}%B#}%}'}"}(}"W}0~
--> PPP negotiation detected.
--> Starting pppd at Sun Oct  2 22:31:00 2011
--> Pid of pppd: 4334
--> Using interface ppp0
--> local  IP address 10.167.169.150
--> remote IP address 10.17.95.25
--> primary   DNS address 10.17.3.244
--> secondary DNS address 10.17.3.245

nah dah connect tu modem tinggal test z pake firefox. nah kalau nanti mau konekin lagi ulangi langkah
- sudo eject /dev/sr1
- sudo modprobe usbserial vendor=0x19d2 product=0xffdd
- sudo wvdialconf
- sudo wvdial smart.

oya hampir lupa. kalu mau disconnect tinggal tekan Ctrl+C

Comments
0 Comments

0 comments:

Posting Komentar