Sabtu, 18 Februari 2012

Koneksi Smartfren di ubuntu 10.04

Iseng-iseng nulis tentang cara  melakukan koneksi pakai smartfren di ubuntu, sekalian nambah tulisan

Colok modem smartfren ke PC, buka terminal
ketik:   dmesg | less
biasanya ada yang terdetect CD ROM
Output :

[ 5885.197140] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 5890.189298] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 5891.826917] usb 1-1.1: new full speed USB device using ehci_hcd and address 4
[ 5891.899545] usb 1-1.1: device descriptor read/64, error -32
[ 5892.097761] scsi5 : usb-storage 1-1.1:1.0
[ 5893.094664] scsi 5:0:0:0: CD-ROM EVDO ReV A 7.00 PQ: 0 ANSI: 2
[ 5893.102243] sr1: scsi-1 drive
[ 5893.102535] sr 5:0:0:0: Attached scsi CD-ROM sr1
[ 5893.102810] sr 5:0:0:0: Attached scsi generic sg3 type 5
[ 5895.181699] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 5900.173610] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 5905.166019] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded

Maka dari itu eject dulu
ketik : sudo eject /dev/sr1
biasanya akan muncul Direct-Access xxx
Output :
[ 6546.311547] rtl8192_hw_wakeup(): RF Change in progress! schedule wake up task again
[ 6546.564492] scsi 6:0:0:0: Direct-Access EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
[ 6546.565870] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 6546.572909] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[ 6549.162965] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6554.154571] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6555.104240] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[ 6559.147099] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6564.139241] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6569.131408] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6574.123559] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6579.115987] intel ips 0000:00:1f.6: CPU power or thermal limit exceeded
[ 6580.293877] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData

Kalo outputnya sudah seperti diatas, berarti uda terdeteksi :)
Lanjut cek modemnya pake command lsusb, ketik : lsusb

Selasa, 14 Februari 2012

Spoiler di Blogspot

Tiba-tiba pagi ini mau tulis tentang spoiler di blogspot. Sebenernya uda banyak tutorial yang menuliskan bagaimana cara membuat spoiler. Tapi ga ada salahnya kan klo kita tulis lagi :)

Contoh kodenya :

<div style="margin: 5px 20px 20px;"><div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> : <input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Close'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Open'; }" style="font-size: 11px; margin: 0px; padding: 0px; width: 55px;" type="button" value="Open" /></div>
<div class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; text-align: left;">
<div style="display: none;">
Isi Spoiler disini
</div>
</div>
</div>



Hasilnya :

Spoiler :
Isi Spoiler disini
Kode di atas dipaste ke tab "Edit HTML" makanya akan jadi seperti diatas. Spoiler diatas bisa digunakan untuk meload gambar isi kode atau apa aja :)

Kalau kurang jelas bisa lihat di blog ini

Terima kasih :)

Jumat, 10 Februari 2012

Setting VPN RV042

Hari ini mau setting vpn di RV042 router. Dalam menyeting VPN, ada dua macem : 
1. Site to Site, yakni satu router yang ada di satu kantor dapat berkonksi ke router di kantor yang lain.
2. Remote Access, yakni komputer melakukan koneksi ke router vpn menggunakan aplikasi client.

Kali ini saya mau melakukan penyetingan menggunakan Site to Site, Bisa dilihat dari gambar dibawah ini.
gambar struktur koneksi jaringan via vpn

Minggu, 05 Februari 2012

Sharing internet di Ubuntu

Iseng2 buat nambah catatan, kali ini mau tulis tentang sharing internet di ubuntu. Mudah kok cuma edit sana sini.
1. pertama edit file sysctl.conf : 
    - sudo vim /etc/sysctl.conf
    - jika nilainya 0 ubah menjadi 1 => net.ipv4.ip_forward=1

2. Untuk router di tempat saya, interface yg untuk internet itu eth2 maka ketik :
     sudo iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE

3. Jangan lupa setting dns di resolv.conf : 
     -  Buka file, ketik  : sudo vim /etc/resolv.conf    
     -  Kemudian edit : nameserver 8.8.8.8
   
Kalau ingin lebih jelas lagi, bisa lihat di sini

Sekian tutorial dari saya, terima kasih.