Rolly Maulana Awangga :: Catatan Ngoprek IT

Pakar dan Awam sama saja, sama sama belajar

Tag Archives: Raspberry Pi

Setting OpenVPN Client Using VPNGate on Raspberry Pi

Its just simple to use openvpn on raspbian, just take a simple step :

1. instaling openvpn : apt-get install openvpn

2. download vpngate config file with extension .ovpn and place it to /etc/openvpn 

3. [optional] to connect automatically at startup just change extension .ovpn to .conf.

4. create user.txt file filled with user and password in two rows exactly like below and change permision to 700 :

vpn

vpn

5. in the .ovpn or .conf file add a line like this

auth-user-pass user.txt

6. Connect with command:

openvpn –daemon –cd /etc/openvpn –config vpngate.conf

 

Reference :

https://forums.openvpn.net/topic12666.html

http://www.ibvpn.com/billing/knowledgebase/133/OpenVPN-configuration-for-Raspberry-PI.html

 

Demo Multimedia Home(Saung) Center di acara Broadband Festival Bandung dengan Android dan Raspberry Pi

Demo Multimedia Home(Saung) Center di acara Broadband Festival Bandung dengan Android dan Raspberry Pi

Hari ini saya mendemokan sesuai dengan judul diatas di acara Broadband Festifal Telkomsel untuk wilayah bandung. Baik singkat cerita begini.
Pertama Aplikasi Android yang dibutuhkan antara lain :
– Let’s Print Droid (untuk printing)
https://play.google.com/store/apps/details?id=com.blackspruce.lpd
– SaneDroid (untuk scanning)
https://play.google.com/store/apps/details?id=com.sane.droid
– Raspberry pi remote (untuk pemutar video)
https://play.google.com/store/apps/details?id=com.raspberry.remote
– MPdroid (untuk pemutar musik
https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid

Sementara aplikasi yang digunakan di raspberry pi adalah:
– Sane
– mpd

Raspberry Pi Command Line Audio


tambahan konfigurasi jack local
sudo amixer cset numid=3 1
– cups
– omxplayer
dengan konfigurasi tambahan agar layar belakang hitam
sudo sh -c “TERM=linux setterm -foreground black -clear >/dev/tty0”
mengembalikan lagi
sudo sh -c “TERM=linux setterm -foreground white -clear >/dev/tty0”

Transparent Proxy on Raspbery Pi

I just follow the instruction here

With little modification, like in this post. just set

 http_port 3128 transparent

and now iptables works :

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 
3128

 

Mengatasi Masalah Sharing CUPS Linux ke MAC OSX

Mengatasi Masalah Sharing CUPS Linux ke MAC OSX

Ikuti petunjuk saja di gambar, dan it works.

SSH Access Without IP Public from Mobile Phone or Computer

SSH Access Without IP Public from Mobile Phone or Computer

Now u can remotely access SSH shell from your computer or mobile phone (or you can call it Smartphone) by installing robotito in your Raspberry Pi or your Debian Box you can access SSH just from Google Talk anywhere anyfrom.
I made a script (tested on my raspian OS in Raspberry Pi) so u can easyly install robotito. this is the steps
1. Open Shell Command or u can call it Terminal, go to your home folder, Download installer script by command :
wget https://opengateway.googlecode.com/files/robotito
it will save to you home folder ~ (e.g /home/pi)

2. after that running the script by entering command :
sudo ./robotito

3. and then you can edit file credentials.rb in config folder if robotito using your gtalk account and save it by pressing ctrl+x and y . Default is using nano editor.

4. running the robotito in robotito folder by command
./jabbershd start

5. done you can use now from any google talk client, dont forget to add robotito gtalk account to your google talk account and test it with chatting each other before using the account.

Instalasi Rubygems dan Bundler pada Ruby 1.8.7 di Raspberry Pi

Instalasi Rubygems dan Bundler pada Ruby 1.8.7 di Raspberry Pi

Setelah mengikuti langkah instalasi Ruby 1.8.7 untuk raspberry pi.
Selanjutnya kita lakukan langkah seperti pada gambar. dan sentuhan terakhir melakukan perintah:

sudo ln -s /usr/bin/gem1.8 /usr/bin/gem

Kemudian lanjut instalasi bundler dengan perintah

sudo gem install bundler

Internet Connection Sharing Menggunakan Modem

Internet Connection Sharing Menggunakan Modem

Kali ini kita buka script untuk routing sharing internet yang berasal dari modem (ppp0) untuk di share ke jaringan kita (eth0).
modem dikoneksikan menggunakan pptp-config

Membuat Service Gammu Modem Kedua

Membuat Service Gammu Modem Kedua

Kalao Raspi kita dipasangi lebih dari satu modem, maka yang perlu ditambahkan adalah menset variabel
DAEMONPARAM
dengan konfigurasi gammu modem kedua dan menambahkan baris pada case start -c di depan $DAEMONPARAM
seperti ini
–exec $DAEMON — -c $DAEMONPARAM –daemon –user $USER \

Melihat Semua Proses Gammu Yang Berjalan

Melihat Semua Proses Gammu Yang Berjalan

Anda menggunakan lebih dari satu modem pada Raspberry Pi anda? maka untuk melihat apakah gammu keduanya berjalan maka anda cukup melihat dengan perintah
ps aux | grep gammu-smsd

Sharing Printer Raspberry Pi ke Mac OSX

Sharing Printer Raspberry Pi ke Mac OSX

Dari raspberry pi yang sudah diinstall CUPS dan sudah ter add printernya melalui USB.
kita sharing melalui wifi dan akses kepada webnya.
biasanya ke
ip_raspi:631
dari MAC OSX kita buka printer preference dan add IP sesuaikan dengan gambar.