Go to advanced search

by stephendotexe
Fri Aug 17, 2018 9:39 pm
Forum: Other projects
Topic: Get rid of your awful CCTV and use Raspberry Pi + Shinobi as a full-featured CCTV project
Replies: 1
Views: 29569

Get rid of your awful CCTV and use Raspberry Pi + Shinobi as a full-featured CCTV project

The Raspberry Pi supports hardware-accelerated h264 encoding/decoding, making it a great base for the CCTV "brain" for my NVR cameras. Shinobi (https://shinobi.video/) is an open-source CCTV software which natively supports the Raspberry Pi. If you've ever futzed around with commercial CCTV software...
by stephendotexe
Tue Jun 09, 2015 5:11 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Dougie, I actually disagree that running your own DNS cache and forwarder won't increase your speed. It's not about saving megabytes or bandwidth at all, it's about the milliseconds it takes for your RPI dns server to answer a query versus the the DNS servers that came with your ISP. Some ISPs are g...
by stephendotexe
Thu Mar 05, 2015 5:33 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Running your own DNS cache locally will speed up the perception of your internet speed but not actually change the speed. The benefit comes from the time it takes to translate a human readable domain name (www.google.com) into an ip address (74.125.224.130). You can speed up how long this takes from...
by stephendotexe
Thu Mar 05, 2015 12:02 am
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Sorry. This won't have any affect on your gaming latencies. Better move to Kansas and get Google fiber for that :)
by stephendotexe
Wed Mar 04, 2015 8:09 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Since you're setting the upstream servers in your config file, you don't need to check for them in /etc/resolv.conf. This file should is where you should specify the hosts's DNS resolve (and possibly search domain). Your /etc/resolv.conf should not be empty. I would make add "nameserver 127.0.0.1" t...
by stephendotexe
Tue Mar 03, 2015 9:44 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

The configuration file: # Configuration file for dnsmasq. # # Format is one option per line, legal options are the same # as the long options legal on the command line. See # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. # Listen on this specific port instead of the standard DNS port #...
by stephendotexe
Tue Mar 03, 2015 8:33 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

I have a problem: The cache only works until I restart the service. I checked the configuration and the resolv.dnsmasq is not present. If i create the file (and change the owner to root) it is always empty, the same is if I use the default resolv.conf. Another question: I tried measuring performanc...
by stephendotexe
Wed Jan 21, 2015 12:10 am
Forum: Networking and servers
Topic: Setting up RPi as a VPN tunnel / Gateway
Replies: 1
Views: 1075

Re: Setting up RPi as a VPN tunnel / Gateway

What you're doing is not trivial to implement, and requires knowledge of networking. First you'll want to set up a site-to-site tunnel between your raspberry pi in your home and a server somewhere in the world you want to route traffic out of. Next, you'll need to create routes for all of the ip blo...
by stephendotexe
Mon Sep 29, 2014 7:46 pm
Forum: Networking and servers
Topic: OpenVPN auto-install script
Replies: 4
Views: 5332

Re: OpenVPN auto-install script

Very nice! Thinking of trying this out. Please note there was a typo when I originally posted this that has been fixed now. If you install from the web you'll need to set the environment variable first. Also if you decide you don't want to keep the service, you can uninstall it easy: apt-get remove...
by stephendotexe
Mon Sep 29, 2014 7:11 pm
Forum: Networking and servers
Topic: OpenVPN auto-install script
Replies: 4
Views: 5332

OpenVPN auto-install script

I've seen a lot of people using their raspberry pi as an openvpn server. I thought this was a great idea. There's quite a few how-tos out there but I figured I'd share my auto-install script with everyone. There's no configuration necessary: just run the command and you'll have a functioning openvpn...
by stephendotexe
Sat Nov 02, 2013 7:42 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Has anyone got the error: dnsmasq: cannot open or create lease file /var/lib/misc/dnsmasq.leases Any fixes? I checked and the directory /var/lib/misc is there. It's possible that the dnsmasq program cannot create the file. I would create the file manually and change the ownership to root and then t...
by stephendotexe
Sun Sep 29, 2013 5:26 am
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

...I'm not seeing any performance change. I have manually edited my dns settings in /etc/resolv.conf, would that have anything to do with it? Lots of things could be happening. First of all, what is your performance? Paste the before and afters here so we can see what's going on. Also, be careful w...
by stephendotexe
Thu Sep 05, 2013 10:11 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Very interesting and timely for me as I was just contemplating setting up a RPi as my DNS/DHCP server for the two networks I have here at home. Currently running 2 small VMs, one for DNS, the other for DHCP. You mentioned in your post that dnsmasq also did dhcp. Have you had a chance to set that up...
by stephendotexe
Fri Jul 26, 2013 4:15 am
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Very interesting and timely for me as I was just contemplating setting up a RPi as my DNS/DHCP server for the two networks I have here at home. Currently running 2 small VMs, one for DNS, the other for DHCP. You mentioned in your post that dnsmasq also did dhcp. Have you had a chance to set that up...
by stephendotexe
Fri Jul 26, 2013 4:02 am
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

So, when I set up my computer to use the new DNS server. Do I use the ip address of the Raspberry PI that has dnsmasq installed? Yes. Once you have your raspberry pi configured to handle DNS traffic, you can immediately point your computer at your raspberry pi server. Another option is to turn off ...
by stephendotexe
Thu Jul 25, 2013 4:43 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

You are 100% right. Sorry it seems the issue was with the Adblock it self. I've installed the addon and it is blocking now. Out of curiosity where is the cache data kept? I'm not sure how dnsmasq stores the queries, but my guess is that it's an in-memory store. If you'd like to see metadata regardi...
by stephendotexe
Wed Jul 24, 2013 5:13 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

xXAzazelXx wrote:It seems my Adblock Plus stops working after switching to Dnsmasq from 192.168.2.1
Is there a way to fix that?
Adblock plus should be agnostic to which DNS server you use so long as you're not routing your traffic in strange ways. What happens exactly? Do ads start suddenly showing up?
by stephendotexe
Thu Jul 11, 2013 1:57 am
Forum: Beginners
Topic: Is there a way to read power information?
Replies: 2
Views: 709

Is there a way to read power information?

Is there a way to read basic power information? Things like voltage, current, etc? I searched around and couldn't find any answers.
by stephendotexe
Fri Jun 14, 2013 7:52 pm
Forum: Beginners
Topic: Setting up a simple firewall for use in the DMZ
Replies: 4
Views: 77765

Setting up a simple firewall for use in the DMZ

The full post can be found on my blog here: Setting Up a Firewall on the Raspberry Pi You have two good options for protecting your raspberry pi with a software firewall. The first is the tried and true iptables. The second is much more easy to use and configure, and that's debian's "ufw" service. I...
by stephendotexe
Wed Jun 05, 2013 6:13 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

Re: [HOW TO] Use your RPI as a DNS server and speed up yo' n

Thanks RPdom. You are exactly right. I'll update the configs in the git branch.

I'm going to write a followup to this post about using dnsmasq and a list of known advertisement DNS names to effectively block ads on your entire network. Dnsmasq makes this kind of stuff easy.
by stephendotexe
Tue Jun 04, 2013 9:16 pm
Forum: Networking and servers
Topic: [HOW TO] Use your RPI as a DNS server and speed up yo' net!
Replies: 52
Views: 267258

[HOW TO] Use your RPI as a DNS server and speed up yo' net!

Cache all of those queries locally and speed up your internet experience. This guide shows you how to get a simple dns and dhcpd server running on your RPI using dnsmasq. The full guide can be found on my blog here: " DNS on Raspberry Pi -- Speed up your internet Experience " If you'd like to do the...

Go to advanced search