Home | Looking for something? Sign In | New here? Sign Up | Log out

Tuesday, February 22, 2011

setting modem venus vt-18n di Backtrack 4 R1

/ On : 5:32 PM/ Thank you for visiting my small blog here. If you wanted to discuss or have the question around this article, please contact me e-mail at Gps_86@gmail.com.
Lama rasanya pengen menggunakan modem cdma vt-18n warna putih yang notabene belum EVDO di Bactrack 4 R1,untuk Modem gsm sudah ok dan langsung bisa di gunakan lewat wvdial,akan tetapi beda dengan Venus VT-18 yang saya punya hmmm sempat mau tak jual tu modem.ok deh langsung aja ya begini langkah yang saya tempuh:

1.masuk konsole kemudian ketik lsusb hasilnya seperti ini:

root@bt:~# lsusb
Bus 003 Device 002: ID 04f3:0230 Elan Microelectronics Corp.
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0888:5508
Bus 002 Device 003: ID 0eab:511f <<<---ni modemnya vt18n
Bus 002 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 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

2.root@bt:~# modprobe -r option
3.root@bt:~# modprobe -r usbserial
4.root@bt:~# modprobe usbserial vendor=0x0eab product=0x511f
5.cek dah kebaca belum di wvdial

root@bt:~# wvdialconf
Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: 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: QUALCOMM INCORPORATED
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 -- PortNotReady
ttyUSB1<*1>: failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- PortNotReady
ttyUSB1<*1>: failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- PortNotReady
ttyUSB1<*1>: and failed too at 115200, giving up.

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"

sudah tebaca usb serialnya di ttyusb0

6.setting wvdial sesuai operator masing2
lewat console ketik nano /etc/wvdial.conf

contoh untuk flexi

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Modem = /dev/ttyUSBO
Username = telkomnet@flexi
Password = telkom
Baud = 9600

lalu simpan dengan klik cltr + o lalu enter kemudian cltr + x untuk keluar

ok hasilnya

root@bt:~# wvdial
--> 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
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Feb 23 08:27:43 2011
--> Pid of pppd: 5640
--> Using interface ppp0
--> pppd: ÈÏ{ (È{
--> pppd: ÈÏ{ (È{
--> pppd: ÈÏ{ (È{
--> pppd: ÈÏ{ (È{
--> pppd: ÈÏ{ (È{
--> local IP address 10.4.64.78
--> pppd: ÈÏ{ (È{
--> remote IP address 192.168.2.2
--> pppd: ÈÏ{ (È{
--> primary DNS address 202.134.0.155
--> pppd: ÈÏ{ (È{
--> secondary DNS address 202.134.1.10
--> pppd: ÈÏ{ (È{


semoga artikel ini berguna...

Br
BeDiGaS

0 comments:

Post a Comment


Popular Posts

Advertisement

Compare hotel prices and find the best deal - HotelsCombined.com