source: http://basukiw.wordpress.com/2010/10/26/setting-modem-smart-zte-c261-pada-ubuntu-10-04/#comment-20
1. Buka terminal kemudian ketikan sudo apt-get install wvdial -enter- (install secara online), bila ingin instal ofline harus download satu-satu disini http://packages.ubuntu.com/karmic/i386/wvdial kemudian download paket wvdial seperti berikut ,debconf (>= 0.5.00) Debian configuration management system, Debian Configuration Management System (C-implementation) dep: libc6 (>= 2.4), GNU C Library: Shared libraries, dep: libuniconf4.6, dep: libwvstreams4.6-base, dep: libwvstreams4.6-extras, dep: ppp (>= 2.3.0), setelah selesai didownload install masing-masing file tersebut dengan cara klik kanan kemudian klik “Open with Gdebi package installer
2.Setting wvdial configurasi Buka terminal dan ketikan sudo gedit /etc/wvdial.conf untuk Setting wvdial configurasi. lalu copy paste scrip dibawah ini :
[Dialer smart]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttyUSB1
New PPPD = yes
Phone = #777
Username =smart
Password =smart
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
3. Setelah itu Setting konfigurasi ppp options, ketikan sudo gedit /etc/ppp/options pada terminal, dan setelah terbuka gantikan dengan script dibawah ini :
asyncmap
0
noauth
crtscts
modem
proxyarp
noipx
persist
idle
1000000
4. Menghubungkan hp smart dengan ubuntu ketik lsusb –enter kemudian akan tampil seperti berikut :
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 007: ID 19d2:0102 ONDA Communication S.p.A.
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 09da:001a A4 Tech Co., Ltd Wireless Mouse & RXM-15 Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 015: ID 0951:1607 Kingston Technology DataTraveler 100
Bus 001 Device 004: ID 04f2:b008 Chicony Electronics Co., Ltd USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
5. Ketik sudo modprobe usbserial vendor=0x19d2 product=0×0102 —enter,
6. Ketik sudo wvdial smart –enter kemudian akan tampil
–> 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.
–> Idle Seconds = 300, disabling automatic reconnect.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Tue Oct 26 23:41:59 2010
–> Pid of pppd: 4908
–> Using interface ppp0
–> local IP address 10.226.119.25
–> remote IP address 10.20.31.9
–> primary DNS address 10.17.3.244
–> secondary DNS address 10.17.3.252
nb :
—untuk memutus koneksi tekan ctrl + c
1. Buka terminal kemudian ketikan sudo apt-get install wvdial -enter- (install secara online), bila ingin instal ofline harus download satu-satu disini http://packages.ubuntu.com/karmic/i386/wvdial kemudian download paket wvdial seperti berikut ,debconf (>= 0.5.00) Debian configuration management system, Debian Configuration Management System (C-implementation) dep: libc6 (>= 2.4), GNU C Library: Shared libraries, dep: libuniconf4.6, dep: libwvstreams4.6-base, dep: libwvstreams4.6-extras, dep: ppp (>= 2.3.0), setelah selesai didownload install masing-masing file tersebut dengan cara klik kanan kemudian klik “Open with Gdebi package installer
2.Setting wvdial configurasi Buka terminal dan ketikan sudo gedit /etc/wvdial.conf untuk Setting wvdial configurasi. lalu copy paste scrip dibawah ini :
[Dialer smart]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttyUSB1
New PPPD = yes
Phone = #777
Username =smart
Password =smart
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
3. Setelah itu Setting konfigurasi ppp options, ketikan sudo gedit /etc/ppp/options pada terminal, dan setelah terbuka gantikan dengan script dibawah ini :
asyncmap
0
noauth
crtscts
modem
proxyarp
noipx
persist
idle
1000000
4. Menghubungkan hp smart dengan ubuntu ketik lsusb –enter kemudian akan tampil seperti berikut :
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 007: ID 19d2:0102 ONDA Communication S.p.A.
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 09da:001a A4 Tech Co., Ltd Wireless Mouse & RXM-15 Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 015: ID 0951:1607 Kingston Technology DataTraveler 100
Bus 001 Device 004: ID 04f2:b008 Chicony Electronics Co., Ltd USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
5. Ketik sudo modprobe usbserial vendor=0x19d2 product=0×0102 —enter,
6. Ketik sudo wvdial smart –enter kemudian akan tampil
–> 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.
–> Idle Seconds = 300, disabling automatic reconnect.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Tue Oct 26 23:41:59 2010
–> Pid of pppd: 4908
–> Using interface ppp0
–> local IP address 10.226.119.25
–> remote IP address 10.20.31.9
–> primary DNS address 10.17.3.244
–> secondary DNS address 10.17.3.252
nb :
—untuk memutus koneksi tekan ctrl + c
1 comments:
jika mendapat error seperti berikut saat : sudo wvdial smart –enter
error message:
root@rusfa-laptop:/home/rusfa# sudo wvdial smart
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB1: No such file or directory
--> Cannot open /dev/ttyUSB1: No such file or directory
--> Cannot open /dev/ttyUSB1: No such file or directory
solusinya adalah bahwa pada saat membuat setting sudo modprobe usbserial vendor=0x19d2 product=0×0102 —enter (langkah no 5), maka command tersebut jangan dipaste ke terminal, melainkan dilakukan dengan cara diketik. :)
have a nice try...
Post a Comment
thanks for comment :)