Tech bytes
Raspberry pi 3B with 5V 4 channel relay
I have been using raspberry pi boards since long. So far I have used these for applications such as media center, home cloud, pi-hole and some of my own written apps. This time I thought to extend scope to control external electrical devices. To start with I have purchased a 5V 4 channel relay and […]
Secure internet using DNS based traffic filter – pi-hole
Internet has grown as rapidly in last two decades. A number of resources on internet remain uncensored, uncontrolled because there is no central authority and method to monitor everything. There are “bad guys” across globe who plant malicious software, misleading ads on internet. Now, with internet ready handheld devices and smart TVs people use a […]
Playing with openwrt on TP-Link Archer C20 wifi router
I have been using dlink and tp-link wifi routers since long with their default firmware. These firmware do not provide enough flexibility and control on what you want to configure and see. So I decided to go for openwrt. Next big task was to find a cheap router with which I can play. I read […]
Start computer remotely using Wake on LAN
If you want to turn on your computer remotely on network then “Wake on LAN” is what you need. It can be applied in many situations, such as if there is a short power outage and you want to bring up your machine again by booting it remotely on network and so on. First thing […]
Streaming cloud content on Kodi media center
Kodi is one of the most popular media center software. You can do a lot with kodi, watch offline movies, photos listen music. You can get online media content using add-ons from built in repositories and repositories that you add later. If you also have a nextcloud server running on your network. You can view […]
Using external hard drive on nextcloud
After building the cloud machine you may want to add external storage like external hard drive or even a pen drive to the cloud. To do this follow these steps: 1) First identity uid and gid numbers of apache user. Default apache user of apache on Debian/Raspbian is www-data. Look for gid and uid numbers […]
Build your own private cloud drive
Since last few years cloud storage has become popular among users. It offers ease of content management from multiple platforms like PC, mobile, tabs and users can share content on the fly. But public cloud storage is not in your control. For better safety and security of data and users you can think of building […]
Secure Master Slave DNS transactions using TSIG
After we have completed Master slave configuration now we will try to secure transactions between master and slave DNS servers. To achieve this we will use TSIG (Transaction SIGnature). Master DNS, 192.168.0.10, mns1.ns.mka.in Slave DNS, 192.168.0.11, sns1.ns.mka.in On the master DNS server Generate TSIG host Key in /etc/bind/corp/tsig directory dnssec-keygen -a HMAC-MD5 -b 128 -n […]
Master Slave DNS configuration on bind
DNS is one of the critical components of internet frame. Typical DNS architecture has Master, slave DNS servers and caching resolvers. All DNS data updates are populated into Master DNS servers and masters then replicate records on to slaves. Slaves are further exposed on internet where name caching servers query them for DNS records and […]
Syslog-ng for centralized logging
System logs are very important for the continue health of your system. They provide a standard location to find errors, information, debug messages, and alerts. They can be used for diagnosis in order to prevent problems, and they are a valuable resource for troubleshooting. syslog-ng system logger has flexibility, simplicity and security. The syslog protocol […]