Langsung aje deh ,nih ane baru bli modem ini nih tapi gak tau cara koneksikan nya alnya lapop ane pakai sistem operasi ubuntu 11.04 n itu gak terdektek di modem ini , jadi bagai mana caranya??
1] Hidupkan komputer, masuk ke desktop ubuntu, dan masukan modemnya ke colokan usb, buka terminal.
fairy@fairy-Aspire-4710:~$ 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 19d2:ffde ONDA Communication S.p.A.
Bus 002 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 5986:0102 Acer, Inc Crystal Eye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Dari hasil tsb di dapatkan vendor id (19d2) dan product id (ffde). Kode ffde berarti modem terdeteksi sebagai storoge device atau CD-ROM.
2] Sekarang kita eject drive CD-ROM tsb.
fairy@fairy-Aspire-4710:~$ sudo eject /dev/sr1
[sudo] password for fairy:
Catatan: USB mode switch tidak diperlukan utk modem ini. sr1 di liat dari hasil dmesg
3] Ketik lsusb untuk mengetahui perubahan produk id dari ffde ke ffdd.
fairy@fairy-Aspire-4710:~$ 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 004: ID 19d2:ffdd ONDA Communication S.p.A.
Bus 002 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 5986:0102 Acer, Inc Crystal Eye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Catatan: jika tidak terjadi perubahan produk, cabut kemudian colokin lagi modemnya.
4] Masukan parameter ke kernel.
fairy@fairy-Aspire-4710:~$ sudo modprobe usbserial vendor=0x19d2 product=0xffdd
**selanjutnya kita kan membutuh kan wvdial untuk melakukan proses selanjutnya jadi bagi yang blum terinstall wvdialnya bisa di install ,ketikkan perintah sebagai berikut
sudo apt-get install wvdial
5] Ketik wvdialconf untuk membuat file /etc/wvdial.conf.
Fairy@fairy-Aspire-4710:~$ 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
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
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"
6] Edit file /etc/wvdial.conf f
fairy@fairy-Aspire-4710:~$ sudo gedit /etc/wvdial.conf
[Dialer smart]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = smart
Init1 = ATZ
Password = smart
Modem = /dev/ttyUSB0
Baud = 460800
Command Line = ATDT
Stupid Mode = 1
oke kan maka di terminal akan tampak sepern ini
(gedit:1760): 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.YZK6YV': No such file or directory
(gedit:1760): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:1760): 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.FVR3YV': No such file or directory
(gedit:1760): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:1760): 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.ZY28YV': No such file or directory
(gedit:1760): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
Klik untuk perbesar |
fairy@fairy-Aspire-4710:~$ sudo wvdial smart
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: 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. Starting PPP immediately.
--> Starting pppd at Mon Jul 18 14:13:46 2011
--> Pid of pppd: 1792
--> Using interface ppp0
--> pppd: ح� 8��
--> pppd: ح� 8��
--> pppd: ح� 8��
--> pppd: ح� 8��
--> local IP address 10.187.111.132
--> pppd: ح� 8��
--> remote IP address 10.17.95.12
--> pppd: ح� 8��
--> primary DNS address 10.17.3.244
--> pppd: ح� 8��
--> secondary DNS address 10.17.3.252
--> pppd: ح� 8��
Jika mengetikan perintah ifconfig dari Terminal, seharusnya saat ini Anda sudah dapat melihat interface ppp0:
# ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.185.28.106 P-t-P:10.17.95.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:21022 errors:0 dropped:0 overruns:0 frame:0
TX packets:21868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:22553767 (22.5 MB) TX bytes:3244197 (3.2 MB)
- Lakukan test ping ke google.com atau situs lainnya untuk memastikan kalau koneksi telah berhasil dilakukan
# ping www.google.co.id
64 bytes from 74.125.235.19: icmp_seq=1 ttl=53 time=88.2 ms
64 bytes from 74.125.235.19: icmp_seq=2 ttl=53 time=90.3 ms
64 bytes from 74.125.235.19: icmp_seq=3 ttl=53 time=85.4 ms
No comments:
Post a Comment