Dokumen tersebut memberikan instruksi untuk mengkonfigurasi koneksi modem USB di Debian Leny menggunakan perangkat lunak wvdial. Langkah-langkahnya adalah: (1) instal paket wvdial dan ketergantungannya, (2) deteksi dan modprobe modem USB, (3) konfigurasi file wvdial.conf, (4) coba koneksi menggunakan perintah wvdial.
Tutorial praktis instal + seting basic limiter mikrotik pc ala newbie
Wvdial
1. #su
#apt-get install wvdial
in the second, install your device modem :
#lsusb
if you using this command you will see your vendor and product device, like this
:
mj@debian:/etc$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 05c6:9004 Qualcomm, Inc.
Bus 003 Device 002: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 064e:a101 Suyin Corp. Laptop integrated WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 13fe:3100 Kingston Technology Company Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
are you understand ? now I will install my device, using modprobe :
#modprobe usbserial vendor=0×05c6 product=0×9004
please insert vendor and product number or you can add your configuration
on your /etc/rc.local…
check using dmesg :
#dmesg
#wvdialconf
now edit your /etc/wvdial.conf, this is my config :
===========/etc/wvdial.conf==============
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB1
ISDN = 0
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>
[Dialer smart]
Modem = /dev/ttyUSB1
Baud = 9600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1
ISDN = 0
Phone = #777
Username = smart
Password = smart
Stupid Mode = yes
ISDN = 0
Modem Type = USB Modem
New PPPD = yes
======================================
now you can trying to connect your device :
#wvdial smart
if your connected survive in few minutes, edit /etc/ppp/options
===============/etc/ppp/options===========
asyncmap 0
noauth
2. crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 1000
noipx
persist
idle 1000000
modem ini ternyata kedtect jg debian lenny yg kernel'n 2.6.26 yg kernel sngadh
jadul..hehhee..
wha..dimana pertama saya menggunakan dvd instalan debian lenny dmn juga beberpa
repo'n ddlm dvd itu..
dmna klo mw konek dengan modem itu menggunakan wvdial. dimana seri vwdial 1.60
merupakan versi di lenny.
pertama km cukup liat dulu ke kesini apa saja yg dperlukan untuk wvdial. nah
langsung saja..
pertama km cukup install ppp di dvd repo instalan lenny, trus km download
packages yg tidak ada di debian lenny anda dimana yg tidak ada dalam lenny anda
yaitu libwvstreams4.4-base, libwvstreams4.4-extras, libxplc0.3.13,
libuniconf4.4, dan wvdial
nah thu paket2 yg blon ada di debian lenny anda yg blon sma skali di update repo
i-net,hanya dalam pket dalam dvd instalan.
pertama anda donloat dan install ke 5 paket itu. urutan pertama install'n :
1. libxplc0.3.13
2. libwvstreams4.4-base
3. libwvstreams4.4-extras
4. libuniconf4.4
5. wvdial
install'n dengan cara :
#dpkg -i "nama paket2'n dari urutan pertama"
nb : tidak memakai tanda petik.
setelah smw terinstall..
pertama jgn lupa modem'n dicolokin dulu dan di eject, nget di eject bukan di
unmount, klo tidak terlihat di nautilus anda bisa ketikkan di terminal.
#modprobe -r option
jika sudah lepas lg modem dan colokin lg, jika blon terlihat di nautilus anda
bisa eject lwt terminal
#eject /dev/sr1
dimana sr1 merupakan cd-rom dari si modem.
stelah di eject. anda bisa lihat list dri usb'n.
#lsusb
anda melihat khan hasil'n lihat yg T & A thu merupakan modem anda.
3. Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 064e:c108 Suyin Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 1bbb:0012 T & A Mobile Phones
Bus 001 Device 003: ID 04f3:0210 Elan Microelectronics Corp. AM-400 Hama Optical
Mouse
Bus 001 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
setelah itu modprobe dengan vendor dan product dari modem tersebut
#modprobe usbserial vendor=0x1bbb product=0x0012
nah untuk melihat apakah modem kdetect anda bisa mengecek'n.
#dmesg
jika terdapat ttyUSB brarti modem kedetect..nah sekrang test pada wvdial.
#wvdialconf
klo sudah edit file wvdial.conf'n nie pengaturan punya saya memakai smart, isi'n
yg lama dihapus dan ganti menjadi dibawah ini.
[Dialer Defaults]
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/ttyUSB1
Baud = 460800
Stupid Mode = yes