Volevo installare Fedora…

Poi uno finisce ad usare sempre Debian =P

Per ruzzare volevo installare Fedora 13 su un eeepc, mi scarico la netinst da:

http://fedoraproject.org/it/get-fedora-all

la trasferisco su un pendrive con dd, faccio il boot, parte anaconda, mi chiede quale device è il media di installazione (/dev/sdb1), parte la modalità grafica di anaconda, mi chiede quali dischi vadano presi in considerazione per l’installazione, seleziono la flash interna e il pendrive e poi *stang* “The installation source given by device /dev/sdb1 could not be found.

https://bugzilla.redhat.com/show_bug.cgi?id=491781
https://bugzilla.redhat.com/show_bug.cgi?id=582887
https://bugzilla.redhat.com/show_bug.cgi?id=568343

Il problema descritto è lo stesso, sono tutti chiusi ma a me non funge.

Idee?

Posted in Software | Tagged | Leave a comment

Nintendo 8-Bits Mints

Via @drg

Posted in Fun | Tagged , , , , | Leave a comment

Not so dirty bash script for fan control under GNU/Linux on Macbook (Pro)

An exceptional pain when using native GNU/Linux distros on Macbooks, it’s the totally awesomeness management of the fans: you could get very hot temperatures because fans will start only when thermonuclear temperatures are reached inside your machine.

Fortunately, it’s possible to manage fan speeds in userspace using the kernel module applesmc (modprobe applesmc or add it to /etc/modules), so I write a tiny bash script for doing the dirty work.

This script has been published to GitHub: http://github.com/gionn/macbook-fans

#!/bin/bash
# Settings
SMC=/sys/devices/platform/applesmc.768
TEMPMAX=90
TEMPMIN=45
FANMAX=6200
FANMIN=2000
 
# Thanks to god my cousin knows Math.
C1=$(( $FANMAX - $FANMIN ))
C2=$(( $TEMPMAX - $TEMPMIN ))
CF=$(( $C1 / $C2 ))
TM=$(( $CF * $TEMPMAX - $FANMAX  ))
 
# Be sure that manual mode is disabled:
# we don't want to burn everything is case of a bug
echo 0 > $SMC/fan1_manual
echo 0 > $SMC/fan2_manual
 
while :
do
CORETEMP1=$(( `cat /sys/devices/platform/coretemp.0/temp1_input` / 1000 ))
CORETEMP2=$(( `cat /sys/devices/platform/coretemp.1/temp1_input` / 1000 ))
TEMP=$(( ($CORETEMP1 + $CORETEMP2) / 2 ))
SET=$(( $CF * $TEMP - $TM ))
echo $SET > $SMC/fan1_min
echo $SET > $SMC/fan2_min
sleep 2
done

You can put this script in /usr/local/bin/fans, chmod +x /usr/local/bin/fans and add it in /etc/rc.local for automatic startup on system boot.

Posted in Debian, Ubuntu, en_US | Tagged , , , , | Leave a comment

How to use apt* with discontinued Debian/Ubuntu releases

I’ve recently discovered that both Ubuntu and Debian projects provide a single mirror to use if you put your hands on an outdated server with a discontinued release.

For Ubuntu you should use: http://old-releases.ubuntu.com/ubuntu/
For Debian you should use: http://archive.debian.org/debian/

With these mirror you should be able to deboostrap an old ancient Debian buzz (1.1) or Ubuntu Warty Warthog (4.10) :)

Posted in Debian, Ubuntu, en_US | Tagged , , | Leave a comment

My PPA on launchpad

For work and for fun, I tried the Ubuntu Personal Package Archive infrastructure. It’s relatively easy to use, but the compilation times are really long (24 hr!).

At the time of writing, it’s available a glusterfs v3.0.4 backport from maverick and it’s in queue freeradius recompiled with JRadius module enabled.

sudo apt-add-repository ppa:giovanni.toraldo/ppa

:)

Posted in Ubuntu, en_US | Leave a comment

Proxmox VE for managing KVM/OpenVZ

In these days I put on production two different server (an internal machine and a EQ4 hetzner) using Proxmox as backend for managing virtual machines.

What is Proxmox?

Proxmox Virtual Environment is an easy to use Open Source virtualization platform for running Virtual Appliances and Virtual Machines.
Proxmox VE is an open source project, developed and maintained by Proxmox Server Solutions GmbH.

Continue reading

Posted in Debian, en_US | Tagged , , | Leave a comment

Citazioni deferenziate

Ieri ho scoperto come mai $tizio non pensa che gli sia servita a molto l’università.
Un suo collega di Ingegneria Informatica, vedendo un programma C, ha detto: “cosa è quell’asterisco vicino al nome della variabile?”

– Anonimo gentooista.

Posted in Fun, it_IT | Leave a comment

CyanogenMod V6.0.0 (Android 2.2 – Froyo) per Nexus One, HTC Dream (TIM) e Magic

Google e HTC avevano detto che Android 2.2, codename Froyo, non sarebbe *MAI* stato disponibile per i “vecchi” HTC Dream e Magic (e molti altri device)

Questa è una versione di testing (RC1 RC3 – Changelog), ma che dovrebbe già esser abbastanza stabile per l’utilizzo di tutti i giorni.
E’ uscita la release stabile CyanogenMod 6.0.0 basata su Android 2.2

La procedura di aggiornamento del post precedente è sempre valida (DangerSPL è obbligatorio, ma non serve reinstallarlo ogni volta).

Download: XDA

Posted in Android, Software, it_IT | 3 Comments

Connect to Freenode via Tor with irssi

For privacy paranoids, it’s possibile to hide our own location when connecting to IRC Freenode using Tor.

Prerequisites:
* A working tor client on your workstation
* A registered nick on Freenode

What you need:
* http://freenode.net/sasl/cap_sasl.pl (irssi plugin for SASL auth)
Continue reading

Posted in Software, en_US | Leave a comment

WordPress 3.x

Se per caso qualcuno stava già  sperando che il nuovo WordPress 3.x fosse, diversamente dalla versione precedente, meno dissanguatore di memoria… beh, non ci conti affatto.

Screenshot: htop vps linode wordpress php cgi

Posted in Software, it_IT | 2 Comments