How to Install Wine Staging on Ubuntu 18.04

Here are simple steps to install Wine staging on Ubuntu 18.04.
You can use it for example to run Windows games through Lutris.

Open a terminal (Win+T) and execute the commands below:

Linux Slackware 14.1 installation hangs when installing LILO

On my last Slackware Linux installation attempt I faced a tricky situation. Everything went fine (with some exceptions at start) up until the time I had to install LILO. The symptom was that the installation simply hanged but otherwise the system was responding. The problem was in fact with LILO and my 3TB drive which was in /dev/sdb and was not the drive I was using for my root partition. This drive had a NTFS partition. If this is your case then do the following. Let Slackware finish the installation up until the part you need to install LILO. At this point exit the installation process (do not reboot!) and run

I assume you are using /dev/sda1 as the partition you are installing Linux on, if not, then replace it with the appropriate one. Your root is now the same as if you had booted your new operating system. Now it is time to reconfigure LILO. For that open /etc/lilo.conf with your favorite console editor (vim, nano, etc). Add the following line to your lilo.conf file

You can add each one of these lines for each drive you don’t want LILO to scan. For example, all drives which do not contain an operating system installed on them are good candidates to be flagged inaccessible. Now install lilo by running:

That’s it! Reboot and your system should be working properly. read more

How to Install Cockatrice on Ubuntu 13.10 (Saucy)

Recently, I’ve been playing Magic the Gathering after having last played it in 1998. I heard about this program called ‘cockatrice’ to test my decks, but couldn’t compile it on my Xubuntu 13.10 desktop. Finally I found out I could do it with the ‘clang’ compiler.

Here’s how to compile and install it:

Simply open a terminal (Ctrl + Alt + T) and copy a execute each command:

If you need the cards list or Windows/Mac binaries, go to Woogerworks. read more

Set Global HTTP/HTTPS Proxy/Proxies on Xubuntu Using IPTables and RedSocks

I work at a company where we still have an authenticated HTTP proxy in place. It’s very boring having to config every new program I install which doesn’t support the http_proxy, https_proxy environment variables by hand.

I was playing with my Android phone and there’s an application called ProxyDroid, which I use, that proxifies all installed apps transparently. I decided to replicate this on my Xubuntu platform, but it should work on every Ubuntu/Debian variant.

First, we need to install the required packages:

read more

Linux Slackware 14.1 installation disk fails to detect disks connected to Marvell PCIe SATA 6Gb/s Controller

I was trying to install Linux Slackware 14.1 on my PC, which has a P7P55 motherboard and Marvell PCIe SATA 6Gb/s controller. I had my SATA disks connected to the Marvell controller but the boot disk was not detecting them. The problem was that the module is not loaded by default due to some regression issues. In order to solve this you need to make sure the BIOS has the Marvell controller set to use AHCI. For that:

  1. Reboot your PC and press DELETE in order to enter the BIOS management tool
  2. Go to the Advanced tab and enter the Onboard Devices Configuration section.
  3. Go down to the Marvell SATA Controller, press Enter and select AHCI mode.
  4. Press F10 to save and quit.

Make sure you have your Installation CD/DVD or USB flash drive plugged in when the computer reboots. read more

Increase Your Zopo C3 Internal Storage Size the Easy Way

Meteos Menu
Meteos Menu

Hello! Here it is, another tutorial for your Zopo C3 smartphone. This one is on increasing your internal memory storage size. The Zopo C3 has 16GB internal memory but only 1.4GB are used as internal phone storage for applications, so today we’ll increase that.

  • First you’ll need root access (Tutorial).
  • Next you’ll need to install a functioning recovery tool like Clockwork Mod (Tutorial).
  • Download this util called Meteos, which is an util in english (rare thing not to be in chinese :D) to be able to resize your storage easily. There’s another method which involves hex editing the Zopo ROM, but this one is easier.
  • read more

    Flash Your (Non)Functional Butterfly Labs Bitforce SC Jalapeno With a Raspberry Pi and Don’t RMA it

    Bitforce Jalapeno
    Bitforce Jalapeno

    Hello again. I’ve recently received 2 Bitforce SC Jalapenos in my mail. One of them worked, the other didn’t. I tried every configuration, cable, etc… it just refused to work (if you have the same problem read to the end, my solution involves the fan).

    I received a RMA ticket from Butterfly Labs but didn’t want to send it back, so I tried to repair it myself by flashing it (WARNING: this will void your warranty).

    Since a have a Raspberry Pi and don’t have a Avr Dragon flasher, I followed this tutorial:
    http://randomcontent.wolfnexus.net/RandomSite/reflashing-a-butterfly-labs-jalapeno-with-only-a-raspberry-pi/ read more

    How to Install Clockworkmod (CWM) on Your Zopo C3

    Select CWM image
    Select CWM image

    Here’s the 3rd tutorial in my planned Zopo C3 series. Another easy one.

    This one is on installing a recovery mod that you’ll need to backup your data before the last tutorial (increasing the phone’s internal storage)

    The original ROM that comes with the phone already has a version of Clockworkmod installed but you can’t navigate it and it doesn’t work with “ROM Manager” (by the way, if you use this app to install the mod you’ll brick your phone ;)).

    Of course you need root access (tutorial). read more

    How to Fix Your Zopo C3 GPS Reception Problems

    Delete 'mtkgps.dat'
    Delete ‘mtkgps.dat’

    Time for another easy tutorial.

    This is the only method I could find to fix my terrible GPS reception. I couldn’t get even one satellite signal before.

    First you’ll have to have a rooted phone (Tutorial).

    Next turn off your data and wireless connections.

    Using a terminal or a root enabled file browser navigate to and delete the file ‘/data/misc/mtkgps.dat’.

    Last, go to an open area and activate the GPS. You should start detecting signals and eventually get a position lock. The deleted file will be recreated so don’t worry. read more

    Root Your Zopo C3 the Easy Way

    Activate USB Debugging
    Activate USB Debugging

    I recently acquired a chinese Zopo C3 smartphone. I’m very happy with it so far, but I’ve had to fiddle with it sometimes to fix things I didn’t like (the GPS not receiving any signal and increasing the internal memory size – I’ll publish tutorials for achieving this as well). Well, the first thing I’ve had to do was to root it. Here’s the easiest method I found.

    First, activate USB debugging in the phone and connect it to your computer. It should install the “My HTC” driver automatically. read more