rss.png profile for ebal on Stack Exchange, a network of free, community-driven Q&A sites
Apr
28
2012
ebalaskas: A WYSIWYG ebook editor….
Apr
27
2012
ebalaskas: READ_IT: An Illustrated…

identica.pngREAD_IT: An Illustrated Guide to SSH Agent Forwarding http://ur1.ca/3ss97

from Updates from ebalaskas on Identi.ca!

Apr
27
2012
ebalaskas: It seems that i…

identica.pngIt seems that i now like # ! wtf is going on with me ? I shall not be a redhat fun boy.

from Updates from ebalaskas on Identi.ca!

Apr
25
2012
ebalaskas: #Redhat’s Legal still refuses…

identica.png#’s Legal still refuses to include Elliptic Curve algorithms in openssl due to patent concerns,bug 319901, but rfc6090 is from Feb2011

from Updates from ebalaskas on Identi.ca!

Apr
25
2012
ebalaskas:

identica.pnghttp://www.mboxgrep.org/ is a small utility that scans a mailbox for messages matching a regular expression

from Updates from ebalaskas on Identi.ca!

Apr
25
2012
ebalaskas:

identica.pnghttp://winswitch.org/ is a tool which allows you to display running applications on other computers than the one you start them on

from Updates from ebalaskas on Identi.ca!

Apr
25
2012
ebalaskas: Google Drive: …
Apr
25
2012
ebalaskas: CDE: Automatically create portable…

identica.pngCDE: Automatically create portable Linux applications http://ur1.ca/93c2s

from Updates from ebalaskas on Identi.ca!

Apr
24
2012
ebalaskas: To use cacert crt…

identica.pngTo use cacert crt into openvpn: cat root.crt class3.crt > cacert.crt #

from Updates from ebalaskas on Identi.ca!

Apr
23
2012
ebalaskas: If you are using…

identica.pngIf you are using webdav through httpd over selinux, you must run: chcon -R -t httpd_var_lib_t /opt/webdav/ # tip

from Updates from ebalaskas on Identi.ca!

Apr
23
2012
ebalaskas: My new @edisat …

identica.pngMy new @edisat VPS 1 CPU: 2533.238 Mhz RAM: 1020796 kB Disk /dev/vda: 12.9 GB 2 IPs 1 year 160€ AWESOME !

from Updates from ebalaskas on Identi.ca!

Apr
20
2012
ebalaskas: The Int Euro Conference…

identica.pngThe Int Euro Conference on Parallel & Distributed Computing 2012 on Rhodes Island, Greece, August 27th till 31st http://ur1.ca/91oe1

from Updates from ebalaskas on Identi.ca!

Apr
16
2012
ebalaskas: changing ssh port leads…

identica.pngchanging ssh port leads to selinux permission denied. sshd dont start and you have been locked away from your own system.

from Updates from ebalaskas on Identi.ca!

Apr
11
2012
ebalaskas: OpenRHCE
Apr
06
2012
ebalaskas: In 1993 by Richard…
Apr
05
2012
Create a 32bit chroot enviroment inside your 64bit archlinux

As you may already know, you can install a 32bit linux distribution into a 64bit machine.

Many people are keep telling me, that they are still using a 32bit installation cause of some (not always opensource) applications which havent yet built up for 64bit kernel.

Lately i came into a same experience, when trying to access my android mobile through a usb, using google’s android platform tool: adb.

Android SDK has only a 32bit flavor.

Many distros support multi-lib (libraries) repositories that you can add to your linux box and use 32bit libs & applications inside your 64bit installation.

Of course this method isnt only for 32bit but also if you want to have different versions of the same shared object and dont want to rebuild your packages.

I find this method a lot messy and i dis-approve setups like that.

The alternative method is to use GNU’s core utility: chroot.

Change root directory (run command or interactive shell with special root directory) is extremely easy to setup. Till now perhaps you have listened that chroot is to jail exposed services, but in fact you can build your own environments for clean development or testing applications or whatever you have thought.

You dont even need to have an extra partition or even reboot your linux box!

The archlinux package manager aka pacman has a “root device” parameter so in fact you can create a new chroot archlinux enviroment like adding a new package in your existing linux box!

With the below script you will setup a new 32bit enviroment into your archlinux machine:


export ROOT=/arch32

mkdir -pv $ROOT/var/cache/pacman/pkg/ $ROOT/var/lib/pacman/

pacman -v --arch i686 -r $ROOT --noconfirm -Sy base

mount --bind /dev $ROOT/dev
mount --bind /proc $ROOT/proc
mount --bind /sys $ROOT/sys

chroot $ROOT

If you need to open gui apps from your chroot env, you must type:


xhost +

from your primarly OS.

Tag(s): archlinux, chroot
Apr
05
2012
ebalaskas: Create a #chroot 32bit…

identica.pngCreate a # 32bit environment inside your 64bit # http://goo.gl/BcAFX

from Updates from ebalaskas on Identi.ca!

Apr
05
2012
ebalaskas: Android NAND dump …

identica.pngAndroid NAND dump # nanddump -f system.yaffs /dev/mtd/mtd3

from Updates from ebalaskas on Identi.ca!

Apr
05
2012
ebalaskas: short presentation about SPICE:…
Apr
03
2012
ebalaskas: no i cant! …

identica.pngno i cant! # encrypt hook looks for a (one) cryptdevice

from Updates from ebalaskas on Identi.ca!