Ok gan, kali ini ane mau posting cara Setting Modem SmartFren CE682 di Linux Mint 12. Setelah beberapa kali mencoba akhirnya ane bisa gunain Smartfren di Linux kesayangan ane. :-). Oke dari pada kelamaan ane nyerocos gax ada abis-abisnya, langsung ane kasi carana. tetapi sebelumna siapkan dulu secangkir kopi, Cemilan dan temen cewex biar semangat :-P.
Langsung buka Terminalnya, bagi yang wvdial-nya belum terinstal silahkan install dulu caranya:
Masuk ke Terminal ketikkan apt-get install wvdial (buat yang mau install offline silahkan kunjungi disini ) Tapi untuk Linux Mint 12 sudah ada
irone@irone-thinkpad ~ $ su
[sudo] password for sena:
irone-thinkpad irone # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 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 001 Device 003: ID 5986:0148 Acer, Inc
Bus 002 Device 004: ID 201e:1023
——————————————————————————————
Sudah pasti hasilnya 201e:1023 kann, hayohh pasti sama.. haha
SmartFren ke-baca sbgai CD-Room, skrg kita ubah menjadi Modem USB..
——————————————————————————————
irone-thinkpad irone # eject /dev/sr0
irone-thinkpad irone # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 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 001 Device 003: ID 5986:0148 Acer, Inc
Bus 002 Device 005: ID 201e:1022
—————————————————————————————————–
irone-thinkpad irone # modprobe usbserial vendor=0x201e product=0×1022
irone-thinkpad irone # dmesg|grep usb
[ 0.510372] usbcore: registered new interface driver usbfs
[ 0.510372] usbcore: registered new interface driver hub
[ 0.510372] usbcore: registered new device driver usb
[ 2.388323] usb 1-7: new high speed USB device number 2 using ehci_hcd
[ 2.542094] usbcore: registered new interface driver uas
[ 2.544686] usbcore: registered new interface driver usb-storage
[ 2.559879] scsi0 : usb-storage 1-7:1.0
[ 2.560343] usbcore: registered new interface driver ums-realtek
[ 2.648101] usb 1-8: new high speed USB device number 3 using ehci_hcd
[ 2.915906] usb 1-7: USB disconnect, device number 2
[ 12.905177] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input7
[ 12.905780] usbcore: registered new interface driver uvcvideo
[ 43.276274] usb 2-2: new full speed USB device number 2 using uhci_hcd
[ 43.443702] scsi5 : usb-storage 2-2:1.0
[ 71.060352] usb 2-2: USB disconnect, device number 2
[ 73.452304] usb 2-2: new full speed USB device number 3 using uhci_hcd
[ 73.620957] scsi6 : usb-storage 2-2:1.3
[ 84.892212] usbcore: registered new interface driver usbserial
[ 84.892358] usbserial_generic 2-2:1.0: generic converter detected
[ 84.892764] usb 2-2: generic converter now attached to ttyUSB0
[ 84.892822] usbserial_generic 2-2:1.1: generic converter detected
[ 84.893221] usb 2-2: generic converter now attached to ttyUSB1
[ 84.893280] usbserial_generic 2-2:1.2: generic converter detected
[ 84.893635] usb 2-2: generic converter now attached to ttyUSB2
[ 84.893726] usbcore: registered new interface driver usbserial_generic
[ 84.893739] usbserial: USB Serial Driver core
[ 287.832387] usb 2-2: USB disconnect, device number 3
[ 287.832965] usbserial_generic 2-2:1.0: device disconnected
[ 287.833540] usbserial_generic 2-2:1.1: device disconnected
[ 287.834081] usbserial_generic 2-2:1.2: device disconnected
[ 294.304280] usb 2-2: new full speed USB device number 4 using uhci_hcd
[ 294.479922] scsi7 : usb-storage 2-2:1.0
[ 360.264376] usb 2-2: USB disconnect, device number 4
[ 362.540351] usb 2-2: new full speed USB device number 5 using uhci_hcd
[ 362.703701] usbserial_generic 2-2:1.0: generic converter detected
[ 362.704134] usb 2-2: generic converter now attached to ttyUSB0
[ 362.706701] usbserial_generic 2-2:1.1: generic converter detected
[ 362.707083] usb 2-2: generic converter now attached to ttyUSB1
[ 362.708713] usbserial_generic 2-2:1.2: generic converter detected
[ 362.709100] usb 2-2: generic converter now attached to ttyUSB2
[ 362.712146] scsi8 : usb-storage 2-2:1.3
———————————————————————————————————
Bagi agan yang belum ada wvdial-nya.. ketik “apt-get install wvdial” tanpa tanda kutip..
———————————————————————————————————
irone-thinkpad irone # wvdialconf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3 S4 S5 S6 S7
Modem Port Scan: S8 S9 S10 S11 S12 S13 S14 S15
Modem Port Scan: S16 S17 S18 S19 S20 S21 S22 S23
Modem Port Scan: S24 S25 S26 S27 S28 S29 S30 S31
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 — OK
ttyUSB0: ATQ0 V1 E1 Z — OK
ttyUSB0: ATQ0 V1 E1 S0=0 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0: Modem Identifier: ATI — Manufacturer: +GMI: China TeleCom
ttyUSB0: Speed 9600: AT — OK
ttyUSB0: Max speed is 9600; that should be safe.
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 — OK
ttyUSB2: ATQ0 V1 E1 Z — OK
ttyUSB2: ATQ0 V1 E1 S0=0 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB2: Modem Identifier: ATI — Manufacturer: +GMI: China TeleCom
ttyUSB2: Speed 9600: AT — OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
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″
ttyUSB2: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
———————————————————————————————————–
irone-thinkpad irone #nano /etc/wvdial.conf
———————————————————————————————————–
Copas tulisan di bawah ini pada tab edit wvdial :
[Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carier Check = no
Modem = /dev/ttyUSB0
Command Line = ATDT
Phone = #777
Idle Seconds = 0
Password = smart
Modem Type = Analog Modem
Stupid Mode = yes
Baud = 460800
New PPPD = yes
Ask Password = 0
ISDN = 0
Username = smart
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone = #777
ISDN = 0
; Password = smart
; Username = smart
Modem = /dev/ttyUSB0
Baud = 460800
——————————————————————————————————————–
Kalo udah di copas, silahkan save, kemudian close tab trsebut gan.. Dan akan muncul tulisan2 seperti di bawah ini :
(gedit:2393): 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.COXQ9V’: No such file or directory
(gedit:2393): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
(gedit:2393): 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.N0WD9V’: No such file or directory
(gedit:2393): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
(gedit:2393): 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.C2XV9V’: No such file or directory
(gedit:2393): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
—————————————————————————————————————-
Langkah terakhir nihh gan.. ketik “wvdial smart” tanpa tanda kutip..
—————————————————————————————————————-
irone-thinkpad irone # wvdial smart
–> WvDial: Internet dialer version 1.61
–> 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 3100000
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Mon Feb 13 14:26:02 2012
–> Pid of pppd: 2432
–> Using interface ppp0
–> pppd: ��4 0�4
–> pppd: ��4 0�4
–> pppd: ��4 0�4
–> pppd: ��4 0�4
–> local IP address 10.187.124.232
–> pppd: ��4 0�4
–> remote IP address 10.17.95.12
–> pppd: ��4 0�4
–> primary DNS address 10.17.3.244
–> pppd: ��4 0�4
–> secondary DNS address 10.17.3.245
–> pppd: ��4 0�4
————————————————————————————————————
Selesai gan, skrg Modem SmartFren agan udah konek, silah kan browsing sesuka agan.. :-)
————————————————————————————————————
Kalo mau disconnect, ketik “Ctrl+C” tanpa tanda kutip..
NB : Kalu mau Copy-Paste mohon terakan Link ini
0 Comment:
Post a Comment