raspberry pi

No Image

Set up an Ad-filter with Privoxy on Raspberry Pi for free

I hate ads… They are for many companies, unfortunately, the main source of income. So, they are a necessary evil in today’s world where everything is expected to be free of charge. In general, I use an anti-advertisements filter in the browser. Now I use AdBlock for Chrome. It is available for FF and IE as well. But, what do you do with mobile devices which, normally, don’t have such a filter? You use a filtering proxy or gateway. To set up a gateway with a transparent proxy (or filter) is more complicated. To set up a filtering proxy is very simple and here is how you can do it easily.   What you need Raspberry Pi B (1 or 2) – you need a network interface and a large enough SD card (8 GB should do) Raspbian – the de facto OS for RPi Privoxy – as Privacy Proxy Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. Privoxy has a flexible configuration and can be customized to suit individual needs and tastes. It has application for both stand-alone systems and multi-user…

Read More

No Image

HowTo: mount a USB hdd in Debian and share it for all users without authentication

All these I needed to do on my RaspberryPI so that I can share a mounted USB drive to the entire network and to be accessible fully without any authentication. I know, not very smart, but try to configure a TV, 2 iPads, 1 iPhone, 1 Android and one Internet radio to access it.   My USB Hdd is /dev/sda1 and it is mounted on /media/usb   /etc/samba/smb.conf security = share guest account = nobody [media] comment= Media read only = no path = /media guest ok = yes browseable = yes public = yes guest only = yes guest account = nobody   /etc/fstab /dev/sda1 /media/usb ntfs noatime,users,uid=0,gid=0,fmask=0111,dmask=0 0 2   Note: This will allow all rights on the /media/usb to all users. Don’t forget to restart the system or the services.  


No Image

Raspberry PI has video

I bought a webcam in order to extend my RPi capabilities. The longterm plan is to have a Skype running on it also with video. Skype doesn’t run on RPi … yet. But maybe I am able to use something different.   This is how I did it: 1. Buy the Logitech C270 USB HD Webcam from Amazon.de.   2. install the software and add the kernel module sudo apt-get install guvcview -y sudo modprobe uvcvideo sudo echo uvcvideo >> /etc/modules 3. Start X and the video software startx Start -> Sound and Video Choose guvcview   You have video 🙂 In my experience I have been able to choose 30 fps without problems. The video is stable and fast…     Now I have only to figure out how to make video calls.   Enjoy!


No Image

Enable two-factor authentication for the SSH on your Raspberry PI

I am a big fan of RPi and I allowed one of my RPis (I have 3) to be accessible from the Internet via SSH. But, I was stressed because somebody might do a DoS on my device with the intent to hack into it and this way would prevent me to access it. So, wanting to secure it, I researched a bit how to enable two-factor authentication for SSH. I don’t want expensive SMS services, actually I don’t want to pay anything at all. I found some great tutorials on the net, and here is my take on how to enable this great service via Google’s open-source Authenticator. Google provides the necessary software to integrate Google Authenticator’s (GA) time-based one-time password (TOTP) system. You can couple GA with an SSH server. After this, you’ll have to enter the code from your phone when you connect additional to the username and password. GA doesn’t connect to Google as far as I can see in the code https://code.google.com/p/google-authenticator/. You will have to use the PAM module which is available in Raspbian’s repository. The PAM module can add a two-factor authentication step to any PAM-enabled application. It supports: Per-user secret and status file…


No Image

AirPi #1: set up AirPi on your RaspberryPi running Raspbian

Initial source: http://trouch.com/2012/08/03/airpi-airplay-audio-with-raspberry/ What is AirPi? AirPi is the RaspberryPi implementation of Apple’s protocol called AirPlay. Using AirPlay you can send audio and video streaming from you Apple Device (ipad, iPod, iPhone, Mac) to RaspberryPi. This implementation is sending only the sound.   Why all this trouble? Do you know those expensive devices called Sonos? I want to do the same using a Raspberry Pi and a cheap radio I got for free with a magazine ( popcube.de ). I will post pictures here.   Why AirPi and not XBMC’s AirPlay support?   I guess because XBMC is using a lot of resources … I can’t find another reason why someone would not use it directly.   Install and setup AirPi sudo su – cd apt-get update apt-get upgrade rpi-update apt-get install git libmodule-build-perl libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils cpanminus -y git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp cd perl-net-sdp perl Build.PL ./Build ./Build test ./Build install cd git clone https://github.com/hendrikw82/shairport.git shairport # and the rest is repeating the install instructions from the original post cd shairport ./shairport.pl -a AirPiTest # check it works then Ctrl-C make install cp shairport.init.sample /etc/init.d/shairport cd /etc/init.d chmod a+x shairport update-rc.d shairport defaults nano shairport # edit DAEMON_ARGS line: eg DAEMON_ARGS=”-w $PIDFILE -a…


%d bloggers like this:

By continuing to use the site, you agree to the use of cookies and to its Privacy Policy more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close