Post tagged: power

A Quick Guide to CUPS and lpr

For many Linux users, the printer remains a mysterious box that only communicates through cryptic GUI menus. But if you're a power user or a terminal enthusiast, you know that the command line offers far more precision. By leveraging CUPS (Common Unix Printing System), you can manage your print jobs with simple, scriptable commands. Here is everything you need to know about configuring and using your printer from the terminal. 1. Finding Your Hardware Before you can print, you need to know what your system calls your printer. CUPS doesn't always use the friendly name on the sticker. ...

Home Assistant sensors

I finished migrating my VeraEdge to Home Assistant. I think after using it for some time, I find Home Assistant far superior to the VeraEdge in every way. So, I took the time to mostly standardise my sensors which make things simpler to manage/mantain. As such, essentially I am only using 4 types of sensors: ...

Supervisorui REDONE

Currently I am using docker containers to deploy applications. A number of those containers make use of supervisord for managing processes. While supervisord itself comes with a UI, it is unhandy for me because each container is its own supervisord instance. So I was interested in some software that would let me manage multiple supervisord instances in a single page. Turns out that there ...

game lists

Cybernator Darius Twin Another World | Out of this World Front Mission Series Strike Gunner ...

Raspberry Pi Weekend project

So finally took the time to try out a Raspberry Pi. For this weekend project wanted to do something relatively simple. Essentially, I wanted to recreate/enhance the functionality of a TL-WR702N. The TL-WR702N Nano Router is a neat device but being closed, can not be customized to what I wanted. It can be used in the following modes: ...

Using a NAS200 as a Print server

Last weekend I had a small weekend project to move my All-In-One Printer/Scanner from my Xen host server to a spare NAS200 I had lying around. Since the NAS200 has a i486 compatible CPU, and I had been able to run a CentOS 5 distro before, I figure it would make a good server with low power consumption. For that I updated my NASCC firmware so that it would boot a USB key, and update my CentOS image creation script. This worked well, I was able to boot CentOS without that much effort altogether. I myself have an Epson Stylus CX5500 which unfortunately only comes with binary drivers. This was not much of a problem since the NAS200 has a i486 compatible CPU. I find this is relatively unique among different NAS models. Alas, the performance was quite disappointing. I should be used to the NAS200 underperforming. But really, this was truly sad. I did not bother to test the printing, but I did try scanning with it. Running scanimage to scan a single page was taking over 15 minutes before I hit Ctrl+C. It was an idea, but the results were so sub par. The only take-aways of this are: ...

Web Backups

As usual with any IT system backups are important. This does not change when using a free shared hosting provider. Because it is free, one would argue it is even more important. For my wordpress web site I used something called cli-exporter. It let's you create "Wordpress" export files from the command line so it can be run from cron. This is important because backups have to be automated. In addition to that, I copy the backup files to an off-site location. I do this by copying files using WebDAV to a storage provider. I did this by writing a simple script and using the PHP library SabreDAV which makes writing DAV clients quite easy. I myself don't mind using other people's Open Source code to do something. I was actually surprised that I was not able to find something that meet my criteria. However, thanks to the power of open source I was able to find something that fit the bill exactly. To make things more interesting, because I wanted to keep backup files as compressed Zip archives, my backup scripts did not work in one of the web hosts that I was using. They did not have the zip extensions enabled. This is surprising considering is quite standard. Luckily I was able to find a pure PHP library pclzip. ...

Askozia Desktop Appliance

So last weekend finally had some time to work with a Askozia Desktop Appliance. It actually arrived much earlier but without a Power Supply. Initially I though, "this is strange; I didn't know this supported PoE". (Power Over Ethernet). It turns out it didn't and there was a shipping mistake. After contacting the vendor, they sent me the required Power Supply. Overall I think the product is quite nice. It has a very nice User Interface that is quite easy to use. Simple configurations are indeed very easy to set-up. My feeling is that, as with any GUI, it usually trades user-friendly with expressiveness. So while I could configure most of the things I wanted from the UI, it did not support my home network topology fully. Initially, I had a DMZ vs Home-LAN configuration, with the Askozia box in the DMZ. Because the separation between the DMZ and the Home-LAN was through the router, it considered all the IP phones (in the Home-LAN) on the other side of the NAT, so things did not work properly. ...