Nov 30

Ok, so this is a few weeks after it’s been released, but I’ve not had much of a chance to catch up on these things! Anyway, following my post on MySQL Workbench 5.1.3 Alpha, here’s an update on installing the latest version - 5.1.4 Alpha. 32 Bit users can install from the repositories, by first adding the following to /etc/apt/sources.list so, open up a Terminal, and run the following:

gksu gedit /etc/apt/sources.list

Once the Text editor is open, add the following lines to the end of the file:

deb ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ binary/
deb-src ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ source/

Save the file, and close the Editor. From the terminal, run:

sudo apt-get update
sudo apt-get install mysql-workbench

That’s it. 64 Bit users still have to compile and install from the source tarball - the latest version of which can be downloaded from ftp://ftp.mysql.com/pub/mysql/download/gui-tools/mysql-workbench-5.1.4alpha.tar.gz, but the instructions are the same as in my previous post “MySQL Workbench 5.1.3 Linux Alpha - Testing on 32 bit and 64 bit Ubuntu“.

This version has loads of bug fixes and some new features implemented, but it’s still not recommended to use on a Production DB!

written by Hodge \\ tags: , ,

Nov 23

aXXo NFO FileIf you regularly explore the more nefarious side of the internet, you’ll be familiar with .nfo files. NFO files are ASCII Art in the CP437 codepage, and used by various  distribution groups to mark the fact that they released this particular file - like a label or logo. Being an Ubuntu user you’re probably also aware that .nfo files are opened in the text editor by default, which, while may suffice to view the information, it doesn’t render the file fully.

Please note: I couldn’t possibly advocate visiting websites such as mininova.org, or thepiratebay.com to acquire your favourite films, music, etc. but I hear both sites have much to offer… although I must admit, I have accidentally clicked on a link in the past which happened to download a “torrent” file, which then inadvertently opened a program called “Deluge” (I found this purely by accident, of course, when I was idly tapping keys in the terminal, and just so happened to type: sudo apt-get install deluge-torrent). To my surprise, this download contained amongst others, an .nfo file, which I really really wanted to render properly (I deleted all other files, of course - although it was approximately 2 hours after I downloaded them, since I couldn’t work out why, after accidentally double clicking one of the other files, Ubuntu opened up mplayer and began displaying moving pictures… must be a bug).

Anyway, I digress - There are of course, many legitimate .nfo files, since there is a whole culture dedicated to ASCII Art. This is how to view the .nfo files in all their glory:

NFO Viewer is a simple tool for, well, viewing NFO files. It requires Python, python-gtk2, intltool and gettext, so if you don’t have them open a Terminal (Applications -> Accessories -> Terminal) and run:

sudo apt-get install python python-gtk2 intltool gettext

Once the prerequisites are installed, you can download the tarball from the NFO Viewer site. As usual, everything I download ends up on my Desktop (I really must do something about that…), so from a Terminal, I ran:

cd ~/Desktop
tar -zxvf nfoview-1.2.1.tar.gz
cd nfoview-1.2.1

Installing is pretty simple:

sudo ./setup.py install

If you have any problems installing, you may also need python-dev (I don’t have this, and it installed fine):

sudo apt-get install python-dev

The recommended font for NFO Viewer is “Terminus”, although the link on the NFO Viewer website seems to be dead, so here’s another link to Terminus. It can be downloaded and installed directly from the Terminal:

cd ~/.fonts
wget http://fractal.csie.org/~eric/Terminus.ttf

Remember to refresh the font cache:

sudo fc-cache -fv

NFO Viewer can be run from the Terminal:

nfoview

but of course, file association is set up automatically, so NFO files will open by default in NFO Viewer, and the Terminus font is also used by default.

Dunno how it got here guv, I swear!

Dunno how it got here guv, I swear!

written by Hodge \\ tags:

Nov 20

Adobe Flash Player 10 (Alpha) for 64 Bit Linux

Updated 03/01/09 for Adobe’s 16/12/08 release refresh: The Gmail bug noted below seems to be fixed! I’ll leave the information here though, just in case anyone still has problems.

Updated 05/01/09: Looks great so far - no crashes, and no more annoying npviewer.bin chewing up all my resources!

Adobe announced the alpha release of Flash Player 10 a few days ago, for 64 Bit Linux. I’ve tested if for a couple of days - looks good so far and aside from a nasty bug when visiting Gmail (see below for work around), and a few other sites, which causes Firefox to crash and close completely (Segmentation fault), it seems to be fine. Installation is pretty simple - I had to uninstall the flashplugin-nonfree package installed from the Medibuntu repository first:

sudo apt-get remove flashplugin-nonfree nspluginwrapper

Then downloaded the Alpha 64 Bit Flash Player 10 from Adobe Labs to my Desktop. Once downloaded, it’s simply a case of closing Firefox, unpacking the tarball, and copying the file to a location Firefox will find and use it:

cd ~/Desktop
tar -zxvf libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz
mkdir ~/.mozilla/plugins
cp libflashplayer.so ~/.mozilla/plugins

That’s it. Open up Firefox, and navigate to about:plugins - you should see the new plugin somewhere in the list:

about plugins mozilla firefox adobe flash shockwave

The Gmail bug can be worked around by logging into the old interface: https://mail.google.com/mail/?ui=1

However, if the Alpha release of the Flash 10 plugin is causing more problems than it’s solving, it can easily be uninstalled, and the 32 bit version reinstalled by running:

rm ~/.mozilla/plugins/libflashplayer.so
sudo apt-get install flashplugin-nonfree

Personally, as much as I’d love to use the 64 bit plugin, I’m going to wait until it’s a little more stable - Beta or RC should be fine. I’m now using the latest Alpha release with no issues to report so far!

written by Hodge \\ tags: , ,

Nov 19

GremlinI’m not sure what happened, but some time during last night (my time), the site went down - I woke up this morning to find the permissions all screwed up, and thus not able to access the site. Anyway, all fixed now…

Pesky Gremlins… :)

written by Hodge

Nov 18

pushoverThose who had an Amiga will remember this one, developed by Oceon in 1992: Pushover. A cool puzzle game, where you control an Ant, and have to work out and set up the correct sequence of Dominoes in order to topple them all, and the Trigger domino to progress to the next level. To make things more difficult, there are several platforms, accesed by ladders, and different type of dominoes, which defy gravity, bounce, create platform sections, and so on. Within a ceratin amount of time, you have to set them up, and then push them over! Just like Domino Rally! (Those who had a ZX81 or Spectrum 48k will remember Domino Rally). It’s available as an Amiga disk image on many Abandonware sites (such as lemonamiga.com or abandonia.com), but that involves configuring and installing UAE, and a Kickstart ROM, or DOSBox. However, a few days ago, an open source port was released - it’s currently v0.0.1, but I downloaded and installed it, and everything looks good!

So, I downloaded the Pushover tarball from Sourceforge to my Desktop, and compiled as follows:

cd ~/Desktop
tar -zxvf pushover-0.0.1.tar.gz
cd pushover-0.0.1
./configure
make

Now, you can either run the game by executing the pushover binary from this directory:

./pushover

or, if you’re comfortable doing so, install the binaries:

sudo make install

Controls are simple - use the left and right arrow keys to control the ant, the up arrow to climb ladders, and down to descend. Pushing the spacebar while in front of a domino make the ant will pick it up, and also drop the domino in an empty space. The up arrow key will also position the ant next to a domino ready to push, which can be done my pressing the arrow key in the direction you want to push and the spacebar. Simple. Who needs flash 3D graphics anyway?

Enjoy this damnably addictive game…

References

  1. Pushover Open Source port site

written by Hodge \\ tags: ,

Nov 15

Adeona logo - Track a stolen laptop

Adeona is an Open Source system for tracking stolen and lost laptops/notebooks, developed by the University of Washington Computer Science and Engineering department. It’s also one of the few systems which doesn’t require a silly BIOS hack, or access to proprietary services, and is available for Linux, Windozzze and Mac OSX. Since 64bitjungle is a site dealing with Linux, I’ll obviously focus on the Linux version - although, the Windozzze and Mac versions are available as binary installers, so should be pretty easy to set up.

The only prerequisites for Adeona are OpenSSL, traceroute, libssl-dev, and cron which, with the exception of traceroute and libssl-dev, are installed by default on most Linus distributions. To install traceroute on Ubuntu, simly open a terminal (Applications -> Accessories -> Terminal) and run:

sudo apt-get install traceroute libssl-dev

Setting up Adeona itself involves downloading, compiling and installing a small client application. The current version, 0.2.1a, can be downloaded from the Adeona download page as a 3.5 Mb tarball. extract the tarball:

cd ~/Desktop
tar -zxvf adeona-0.2.1.tar.gz
cd adeona

32 Bit Installation

Installing on a 32 bit system is a snap:

./configure
sudo make install

64 Bit Installation

Download and install the getlibs package:

wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
sudo dpkg -i getlibs-all.deb

Then, from the adeoma directory, run:

getlibs -l libcrypto.a

This will detect, download and install any 32 bit libraries required to build Adeona. In many cases, this will be libssl-dev. If you don’t have them already, the ia32-libs package also needs installing:

sudo apt-get install ia32-libs

The Makefile may also requires a small change, so first make a backup, then open it up in a text editor:

cp Makefile Makefile.bak
gksu gedit Makefile

Find the CFLAGS variable (the line “CFLAGS := -Wall” - line 46 in the current release) and add a new line after it, with “CFLAGS += -m32″, so that the lines are now:

CFLAGS := -Wall
CFLAGS += -m32

Save the file, and close the text editor. Now, configure, and install:

./configure
sudo make install

This should hopefully work for most users. However, I was receiving the following error when compiling:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

Installing libc6-dev-i386 solved the problem:

sudo apt-get install libc6-dev-i386

If you had to install libc6-dev-i386 following the above error, remember to run:

make clean

before running

sudo make install

Post Installation Steps (32 and 64 Bit)

Adeona initialises immediately after the code has compiled and installed, and requires a little configuration. First, it asks for a password, and to verify the password. Finally, a line needs to be added to crontab - this line is output once the installation and initialisation is complete. It’s dependent on where you installed Adeona, but the default is:

@reboot /usr/local/adeona/adeona-client.exe -s /usr/local/adeona/adeona-clientstate.cst -r /usr/local/adeona/resources/ -l /usr/local/adeona/logs/ &

So, highlight the line output by Adeona, right click and “Copy” , then open up crontab for editing:

sudo crontab -e

and choose “nano” (it’s much easier than vi(m) if you’ve never used a text editor from the terminal before). Move the cursor to the end of the last line, and hit return to add a new line, then right click and “Paste” the line output from Adeona. Push Ctrl+X to exit, and choose “Y” to save the changes. If you’re using vi, then you know what to do… That’s it.

During the installation process, a file called “adeona-retrievecredentials.ost” was created - move it to a better location, and/or make a note/remember that location.

Reboot.

Data Retrieval

Simple data retrieval can be executed by the following, in a Terminal:

/usr/local/adeona/adeona-retrieve.exe -r /usr/local/adeona/resources/ -l /path/to/results -s /path/to/your/adeona-retrievecredentials.ost -n 1

Change /path/to/results to some thing such as /home/<username>/adeona-results.txt (where <username> is your username), and /path/to/your/adeona-retrievecredentials.ost to the location the file adeona-retrievecredentials.ost was saved (told you to remember it!).

This is fine for testing, but since you’re using the machine that Adeona is installed on, and thus the one you want to track, to locate it… Not very useful if it gets stolen. Simply copy the adeona-retrievecredentials.ost file to a USB drive, Memory stick, or whatever - this file can then be used from any computer with the Adeona Retrieval Tools installed (also easy to install) to retrieve it’s last known location.

More information can be found at http://adeona.cs.washington.edu/documents.html

Uninstalling Aedona

If you need to uninstall Aedona, simply run the following form a Terminal:

sudo pkill adeona-client.exe
sudo rm -rf /usr/local/adeona

Then run:

sudo crontab -e

and delete the line previously added to crontab.

References

  1. Adeona Linux Installation Notes
  2. Solving 64 Bit Dependency Issues
  3. Adeona Google User Group
  4. Privacy-Preserving Location Tracking of Lost or Stolen Devices: Cryptographic Techniques and Replacing Trusted Third Parties with DHTs (PDF)

written by Hodge \\ tags: , ,

Webloogle Blog Directory