ArchLinux: Banshee and iPod detection

Posted on 21 May 2010 - 16:45 in ArchLinux - Comments (0)

If Banshee doesn’t detect your iPod anymore, it might be Banshee’s iPod detector:
Podsleuth is included in [extra] but doesn’t work anymore after the DeviceKits->UPower switch.

The following PKGBUILD compiles the new 0.6.7 version which fixes the iPod detection problems for Banshee.


Create chroot jailed SSH User

Posted on 14 May 2010 - 11:11 in GNU/Linux - Comments (1)

This will setup a user which, on ssh login, gets redirected to a chroot jail (requires OpenSSH >= 4.9).

1. Create user:

# useradd -G users -s /bin/bash jail
# passwd jail

2. Create chroot jail:

# mkdir -p /var/jail/{bin,home/jail,lib}
# cp -aL /bin/{bash,cat,cp,echo,grep,gzip,less,ln,ls,mkdir,more,mv,nano,pwd,rm,sh,tar,vi} /var/jail/bin/
# cp /etc/skel/* /var/jail/home/jail/
# chown -R jail:users /var/jail/home/jail/

Copy the required libraries, check if there’s a /lib64 link to /lib and add one if so.

# ldd /var/jail/bin/* | grep -Eo '/lib[^ ]*' | sort | uniq | xargs -I{} cp -aL '{}' /var/jail/lib/

This creates a minimal enviroment for the ssh user.
You can add more functionality f.e. device nodes, /etc-files or /usr/bin-programms (incl. dependent libraries).

3. Configure sshd:

Add the following to /etc/ssh/sshd_config

Match User jail
  ChrootDirectory /var/jail/

Restart sshd

# /etc/init.d/sshd restart

ArchLinux: Hibernate splashscreen with uswsusp and splashy

Posted on 30 March 2010 - 13:51 in ArchLinux - Comments (0)

splashy works great on startup and shutdown, but not while hibernating with pm-utils.
uswsup would work with splashy but the default package from community does not include splashy support.

Compiling the lastest official version 0.8 from suspend.sourceforge.net with ‘–enable-splashy’ raises an error:

checking for splashy_open in -lsplashy... no
configure: error: Required libsplashy was not found

The newer version 0.9 from git.kernel.org fixes that error.

After compilation, hibernating and resuming will display the installed splashy screen.


Here’s the package providing uswsusp with splashy support: uswsusp-splashy-git


PyGTK: TemperatureWatch [update]

Posted on 17 December 2009 - 14:52 in Programming - Comments (1)

Display live CPU Temperature, Fan speed and voltage in a GTK window.
Depends on python, sysfs, hwmon, etc.

Version 1.2 released:
- PEP8, Voltage, More information

(more…)


PyGTK: ShutdownLater [update]

Posted on 15 December 2009 - 20:53 in Programming - Comments (3)

Shutdown, reboot, hibernate or suspend your computer later!

GTK GUI which lets the user choose between shutdown, reboot, hibernate or suspend
after a specified amount of time.
Runs on UPower-DBus calls, which surpasses the need for root access.
Working on Ubuntu 10.04, ArchLinux 2009.08 (Maybe other GTK, DBus, DeviceKit systems too).

Version 1.1 released:
- gnome-desktop 2.30 fixes (Ubuntu 10.04 compatible).
(more…)


PyGTK: Stopwatch [update]

Posted on 8 December 2009 - 22:31 in Programming - Comments (1)

I was looking for a little easy-to-use stopwatch for gnome without success.
Well then, let’s make an own one.

(more…)


Howto: Install Rockbox on IPod nano 2. Gen

Posted on 12 November 2009 - 21:14 in Hacking - Comments (0)

Some weeks ago, the Linux4Nano project managed to break the IPod nano 2. Generation.
Thus, it’s now possible to run custom applications on the device.
Rockbox made a port (currently in development mode) which runs quite well.

To get it running, you’ll have to install a bootloader (from Rockbox or Linux4Nano) and Rockbox itself.
The following steps worked for me but due development state, there’s no guarantee for anyone!
If everything worked, nothing will break and all music will be available like before.

Ok? Ok!

(more…)


Ubuntu 9.10: 32 and 64 Bit Benchmark

Posted on 31 October 2009 - 20:23 in Ubuntu - Comments (1)

To 64 bit or not to 64 bit.

64 bit has some advantages and disadvantages compared to 32 bit.
+ possible to address more than 4GB RAM
+ better performance with various tools
- not all applications are 64 bit available
- more RAM space used due larger pointers and data types

Well, well, lets see what it does in general usage…

(more…)


Steampunk USB-Stick

Posted on 16 October 2009 - 21:08 in Art - Comments (0)

After discovering Steampunk some days ago, I decided to make something by myself.
I steampunk’d my old 2GB USB-Stick:

(more…)


Howto: Hack Nokia 5800 XM (31.0.008, 31.0.101) with HelloOX2/RomPatcher+ [update]

Posted on 1 October 2009 - 21:59 in Hacking - Comments (5)

If you want to install custom applications on your Nokia 5800 XM, you’ll have to sign them with a certificate…
or just hack the phone and sign nothing.

Before you can start, you have to get a developer certificate especially for your phone.
Visit cer.opda.cn , register, login, goto My Certificates and press Apply cer.
Enter your information, you’ll find the IMEI number by typing ‘*#06#’ into your phone.
Your .cer and .key files will appear on My Certificates after about 24h.

Download the HelloOX2 Unsigned package from helloOX2.com
Now you have to sign the .sis package with your new developer certificate.
There are several ways to sign: Online signing (f.e. cer.opda.cn), various Windows tools,
symbian sdk kit for linux which includes a signing tool, or directly on the phone (f.e. FreeSigner).
The FreeSigner tool is already signed with a certificate (.sisx), means you can install it without any modifications.

Before hacking, backup your personal data on the phone either over Windows and Nokia PC Suite,
or use the internal backup tool from your phone and then backup your memory card.

Transfer your (un)signed HelloOX2 package to your phone via Nokia PC Suite
or manually to MEMORYCARD/data/installs, unplug phone and then install it on the memory card.
Just follow the popups (Modo is a file manager, if you need it).
Remove HelloOX2 if you like (but not RomPatcher+ !).
Afterwards, start RomPatcher+, activate Installserver_FP2 and add it to Auto.

Your phone is now hacked and you can install unsigned applications.

All credits to HelloOX2 and RomPatcher+ team.

Update 1:
Sadly my phone has an old product code, the new 40.0.005 is not available for me.
But updating from 31.0.008 to 31.0.101 still works with HelloOX2 (hooray….)

Update 2:
After version 50.0.005 upgrade, apps and rompatcher+ are still working.
No reinstall required, but if you would like to, consult HelloOX2.com

Take a look at these pages for apps, themes, games, etc.
Symbian Underground
MobileCastle – S60 v5 Symbian OS 9.4 Applications
DailyMobile – Symbian S60v5 Forum
GizmoGates – Symbian S60 5th Edition Application / Games / Themes


Older Posts »

This work is licensed under a Creative Commons Attribution 2.5 Switzerland License
Powered by WordPress