2009-02-12

internetan pake hp via dku-5

colokin kabelnya ke kompi, masuk ke console


trus ketik

dmesg | grep tty

nanti bakal muncul kaya gini emang tiap kabel dku-5 chipnya beda beda jadi hasilnya juga bakal beda-beda.. ya kurang lebih kaya gini lah....

[ 30.225729] console [tty0] enabled
[ 31.909917] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 31.910770] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 31.914166] hash matches device ttye3
[ 64.428692] audit(1219327093.654:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5092 profile="/usr/sbin/cupsd" namespace="default"
[17397.573123] usb 1-2: pl2303 converter now attached to ttyUSB0

kalo udah ada tulisan ttyUSB0 ato tty- yang lain berarti kabel datanya udah kedetek

selanjutnya colokin hp ke kabel dku-5nya

udah gitu ketik lagi di console

wvdialconf

nanti bakal muncul kaya gini

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

WvModem<*1>: Cannot set information for serial port.
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 -- ��[14]��Š�)�~[��2h�)�\�~=���@ �y�w[1f]
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &D2 -- A�[02]ZȨʦ[08]Ȁm�-[03]H$@p
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 +FCLASS=0 --
ttyUSB0<*1>: Modem Identifier: ATI -- �.�[04]��[1a]�T�[18]��{j
ttyUSB0<*1>: Speed 4800: AT -- f�)��
ttyUSB0<*1>: Modem Identifier: ATI -- AT)8[06][��KR
ttyUSB0<*1>: nothing.
ttyUSB0<*1>: Max speed is 2400; that should be safe.
ttyUSB0<*1>: Max speed is 2400; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- ��[08]����
ttyUSB0<*1>: and failed too at 115200, giving up.

Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

cuman kalo hasilnya kaya diatas takutnya modem di hp gak kedetek, walopun bisa dipaksain yah biar lebih yakin ketik lagi di console wvdialconf kalo bisa hasilnya kaya gini

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

WvModem<*1>: Cannot set information for serial port.
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 -- [01]��� �[02][1a]�
ttyUSB0<*1>: failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- fO�8[06]HL�E1x
ttyUSB0<*1>: failed with 9600 baud, next try: 115200 baud
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 -- Nokia
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- ~�
ttyUSB0<*1>: Speed 460800: AT -- [06]�
ttyUSB0<*1>: Speed 460800: AT -- ~�
ttyUSB0<*1>: Max speed is 230400; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp11363': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyUSB0<Info>: Speed 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

nah kalo hasilnya dah kaya gitu.. dijamin udah bisa ngedial... oh iya disitu ada keterangan kita gak di ijinin buat nulis ke /etc/wvdial.conf soalnya pas tadi kita ketik wvdialcong gak pake sudo...

tapi gpp kita baka ngedit file wvdial.confnya manual biar rame....

masih di console ketik ini

sudo gedit /etc/wvdial.conf

terus ketikkin di file wvdial.confnya kaya gini

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ#
Phone = *99***1#
Username = AXIS
Password = 123456
New PPPD = yes

jangan lupa di save n keluar dari editor

lalu jalanin wvidalnya di console, ketik gini

wvdial

kalo jalan... kita bakal dapet dnsnya

tested on linuxmint n ubuntu with nokia 6020

3 komentar:

Ilmu Penting mengatakan...

parama@parama-Aspire-4736Z:~$ sudo -i
[sudo] password for parama:
root@parama-Aspire-4736Z:~# lsusb
Bus 007 Device 001: ID 1d6b:0001Linux Foundation 1.1 roothub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 004: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
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 002: ID 04f2:b044 Chicony Electronics Co., Ltd Acer CrystalEye Webcam
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@parama-Aspire-4736Z:~#

vendor=05c6 dan product= 1000 ini terdeteksi modem saya

Ilmu Penting mengatakan...

parama@parama-Aspire-4736Z:~$ sudo -i
[sudo] password for parama:
root@parama-Aspire-4736Z:~# lsusb
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 004: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
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 002: ID 04f2:b044 Chicony Electronics Co., Ltd Acer CrystalEye Webcam
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@parama-Aspire-4736Z:~#

vendor=05c6 dan product= 1000 ini terdeteksi modem saya Pertanyaannya Bagaimana konek ke internet, kartu pakai esia modem usb

gambasvb mengatakan...

@Ilmu Penting..
makasi ya udah mampir...
wah kalo cdma ku blom pernah...
yang pasti configurasinya pasti di wvdial.conf coba aja searching untuk parameter settingan hp/modem cdma