Category: gnu linux

  • /usr/local/bin/waitpid

    A quick script to wait for a certain pid, then once that quits, execute a command. You may ask, why not just do command1 && command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I’ve brewed a quick script for this purpose. File: /usr/local/bin/waitpid #!/bin/sh #…

  • Coloured /var/log/messages at tty12

    Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY’s can be accessed by pressing Alt + Ctrl + F[1 – 12] simultaneously. In the following, you’ll get a decent, colourized log display of /var/log/messages when…

  • QEMU | Quick Networking for TCP/UDP

    Networking with a guest in QEMU is often a headache, TUN/TAP, seriously? Too hectic, let’s stick to the basics, TCP/UDP based. Instead of setting up a really complex set of configuration files, wouldn’t it be easy to just emulate the network card, DHCP the guest, and let it work right out of the box? Well…

  • visual basic 6 revisited – linux – wine

    Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what I’ve tested. Here’s how you…

  • CPU scaling governors and you

    What is your CPU being governed by? Should it be governed by it? Why? How? Here’s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU: conservative Pros: very much alike the ondemand governor gracefully increases the stepping, unlike ondemand which sets…

  • embedded gentoo [uclibc] | nothing beats this

    A few uclibc embedded gentoo facts: the compilation of the box takes around 15 minutes at boot up, takes less than 3 megabytes of RAM disk space: 17 megabytes boots in under 8 seconds on a pentium3 link to stage3 tarballs archive # this is my make.conf, it should be the same in the stage3,…

  • Restore Broken Package DB on Sabayon

    System database not found or corrupted, running in safe mode using temporary, empty repository phoenix jude # equo rescue resurrect >> ####### ATTENTION: The installed package database will be resurrected, this will take a LOT of time. >> ####### ATTENTION: Please use this function ONLY if you are using an Entropy-aware distribution. Can I continue…

  • Defining Two Different System Gateways

    Situation above ground forces: You have two modems, or two ethernet connections, and want part of your connections to go through ppp0, and the rest through ppp1 Quick Fix: Quite easy, get both your connections live, and ppp0 will by default be the default gateway. Now, use a proxy for all other connections, so if…

  • Fedora Constantine, SYSRQ and needless swapping

    By default, fedora disables the SYSRQ functionality of the kernel, for some reason. To enable it, either add sysrq_always_enabled at the end of your kernel line in /boot/grub/menu.conf, or edit /etc/sysctl.conf, changing kernel.sysrq = 0 to kernel.sysrq = 1 Some kernel updates on fedora also have the tendency to write to swap needlessly, even though…

  • Visual Basic drinking Wine

    This tutorial is depreciated, please follow my new tutorial: visual basic 6 revisited – linux – wine Get past with your life on Windows, install Microsoft Visual Basic 6 on GNU/Linux with some good old wine… Install the required libs, etc. $ winetricks ddr=gdi vb6run gecko gdiplus fontfix d3dx9 corefonts mdac_typ dcom98 From a working…

  • [HOWTO] Create a hidden loopback device in a .jpg file

    Well, I’m sure that you are definitely curious about how do you do this. Let me tell you this, it’s really simple. Pre-requisites: Image File(any format will do or even any file will do) Linux(I’ve only tested it on this platform but I guess Mac would also do) Let’s get started, shall we? First create…

  • EyeCandy for your VIA Unichrome

    Not until recently, did I find out about the EXA acceleration method of xorg. It’s the new acceleration architecture. Well, I tried it out, read that it had chances of decreasing the responsiveness of my computer, but hey, there’ no harm in trying it. So, got to their documentation, followed through the steps, and wow!!!…

  • Sabayon fOuR oH

    Based on Gentoo, Sabayon 4.1, tells me: Great performance with less RAM(though you need like 1GB RAM for it to work well enough). Package Management System is absolutely fantastic, with it’s new “Entropy”. Totally the perfect distribution. A fine distribution for the newbie or the expert. This is what a critic would say: Definitely better…

  • Simple Steganography

    Wanna hide that information and private things you don’t want your buddies to see? Here is what is called simple steganography. Steganography is the master of black arts. Nobody can ever suspect that there is a simple, easy-to-find drawer in one of your pictures. This works with .png files as I didn’t try it with…

  • FaunOS Shadow

    It’s a distribution based totally on Arch Linux… specialized for USB Portable installs and can also be used as primary OS has over 600 packages pre-installed (I know… it reminds you of Fedora and me too!). So that’s to say that it comes with definitely all the packages you would ever want along with several…