Il blog di Gas

Just another WordPress site

Installazione Windows Xp1 e Linux

with 2 comments

Ho comperato un nuovo harddisk e ho deciso, dopo averne fatto a meno per un anno, di installare windows xp….magari una mezz’oretta con Cod4 ci sta.

Inizio col dire che è stata più lunga del previsto.

Ho una vecchia copia di windows xp sp1 che non ha al suo interno i driver per il controller sata della mia scheda madre (ICH9) e allora ho dovuto scaricarmeli dal sito della Asus. Dopo averlo fatto mi sono ricordato di quel famoso pulsante F6 da premere in fase di installazione di windows per poter caricare driver di terze parti, subito dopo un flash: “Ma serve il floppy??????”. Già…..

E dove lo prendo un dischetto? Ho varie chiavette, da 128 MB a 8GB, ma di dischetti pochi o nulla…ma uno si,che non va. “Ravana ravana” ho trovato in un angolo di una libreria una vecchia confezione di Verbatim con scritto “Gia Formattati!!” Wow

Copiati i driver sul dischetto e riavviato facendo il boot da cd di windows mi trovo schermata nera, solo una piccola scritta “Rilevazione Hardware” in corso e poi nero completo e cd fermo che non legge.Sia il cd? Cambiati 3 cd e stesso problema.

Ho poi scoperto che se l’installer di Microsoft trova sugli harddisk più di una partizione con la flag “bootable” esce senza avvisare lasciandoti li come un pirla con la schermata nera. Ho risolto scollegando gli altri due harddisk in raid (quando ho fatto il raid forse ho creato anche il danno), un altra soluzione con “parted” era di togliere le flag bootable o lasciarne al massimo una.

In compenso però ora mi ha avvisato che cambierà la risoluzione dello schermo….ma vedi di andare a ….

Written by gas

marzo 26th, 2008 at 7:04 pm

Posted in Generale,Linux

Tagged with , ,

Nokia N95 and UPNP

with 5 comments

Finally i got it….at first it was a mess, some explanations on what does what:

  • Media Server: it serves the content on the network
  • Media Renderer: it renders the content served by a media server

So I actually needed both on my gentoo linux.

Probably the easiest way to browse content served by upnp servers is djmount , it works as a FUSE file system ( that can be mounted by a normal user) and it looks for all the upnp devices in a network. It works very well even with content provided by Windows Vista (or better from the Media Player that comes with windows vista). You create a directory and simply “djmount it”, in that directory there will be other subdirectories , one for each media server you have in your network.

Easy and working but not that cool, I mean…all this new stuff and , in the end, I still have to browse directories. I’m not using these new things just because I don’t want to plug in an usb cable, I’m not that lazy. So I went searching in various forums another solution.

MediatombMy first choice as media server was ushare, somehow connected to the geexbox project but it had its limitation, one above all that it doesn’t read tags, so when you copy a music file to another device you must retag it manually. Another problem was the init script that didn’t work that well and I didn’t have time/will to fix it. Mediatomb seems the definitive choice to me, it seems a nice project, it reads metadata and has a built in sqlite backend. (you can use mysql too but i don’t have the server on my box). Mediatomb has a webserver you can connect to and you can add/delete content to your share and chose how to rescan your library , you can chose inotify on that ( if you are using beagle you should already have inotify in your kernel).

When it goes to the Media Renderer it seems that there is not much choice yet, but there is some and in particular there is gmediarenderer from the GNU guys. GmediaRender , as the names says, it’s able to render content served from a MediaServer, it needs gstreamer as a backend for all the codecs (it actually uses gstreamer to render the stream ). If you have gmediarender running you can simply go to your nokia N95 media player , chose a song and in options chose “execute on personal network” ( or something like that) and your computer (not the phone) will sound. You can do the same for videos or pictures.

RhythmboxWhat about coherence? I have it installed and the rhythmbox plugins actually works , I can see my N95 and browse its contents but you can’t (yet) make rhythmbox work as a MediaRenderer. Coherence is supposed to be a full UPNP solution with its server, renderer and controller but the people who develop it are very good in making Youtube videos but not that good to explain the world “how the hell that damn thing works”.

What is missing? On my nokia I can chose to copy or move stuff to my personal network, I can’t do it and don’t know what part of this upnp mess should provide this feature.

Written by gas

febbraio 22nd, 2008 at 11:44 pm

Posted in English,Linux

Tagged with , , , , ,

Mldonkey and conky

with one comment

In the past conky had some built in features regarding mldonkey that have been dropped later. I launch a script that uses netcat to do the same thing ( at least what I need).


#! /bin/sh
USER=user ## mldonkey user
PASS=pass ## mldonkey password for user
HOST=192.168.1.2 ## host where mldonkey is running
PORT=4000 ##port
(echo "auth $USER $PASS";echo $1;echo q) | nc $HOST $PORT

and then for conkyrc

${execi 50 ml_command bw_stats|grep Down|awk -F " " '{print $1,$2,$3,$10,$11,$12}'}

Written by gas

febbraio 14th, 2008 at 2:12 pm

Posted in English,Linux

Tagged with , , , ,

New Emerald Theme

without comments

New emerald theme for my desktop, I’ve modified a little Scaled Black Mod by DBO

screenshot_part

screenshot_completo

Emerald Theme
MurrinaDBO

Written by gas

febbraio 12th, 2008 at 1:54 am

Posted in Linux

Tagged with , ,

Una Schedina Video

without comments

Fra le due , purtroppo, la mia è quella più piccola.

Written by gas

gennaio 12th, 2008 at 4:19 pm

Posted in Generale

Tagged with

Sync: Nokia , Thunderbird and Google Calendar

with 3 comments

I need to sync many applications on different devices so the best idea for me was using a central server where I can sync too. ScheduleWolrd is a funambol based service that regardless of its ugly interface does what I want .This small howto covers my Nokia N95 , thunderbird + lightning and Google Calendar but it should work with many other devices or applications. Syncing between ScheduleWorld and Google Calendar works mostly out of the box.
Read the rest of this entry »

Written by gas

dicembre 29th, 2007 at 6:08 pm

Posted in English,Generale,Linux

Tagged with , , ,

Verona

without comments

Il “bel” panorama da casa di mio fratello.

Written by gas

dicembre 22nd, 2007 at 3:22 pm

Posted in Generale

Tagged with

TICME 2007

without comments

Da un inglese stentato si passa ad una lanciatissima…mamma mia se parla veloce questa

Written by gas

dicembre 19th, 2007 at 12:27 pm

Posted in Università

Tagged with

Protesi Anca

without comments

Mica che a biomateriali stiam facendo le protesi?

protesi anca

protesi anca 2

Rotture

usura protesi

Usura coppa acetabulare e seguente rottura

dislocazione coppa acetabulare

Disclocazione Sfera/Coppa Acetabulare (chissà che male)

rottura stelo

Rottura Stelo

usura e infezione

Perdita di densità ossea causata dall’usura della coppa acetabulare e conseguente rilascio di materiale

pezzi metallo

Pezzi di metallo conseguenti all’usura

Written by gas

ottobre 10th, 2007 at 7:18 pm

Posted in Università

Tagged with

Fra un pò si raccoglie

with 2 comments

….e si tirano le somme.

Anni fa avevamo (io e mio padre) preso dei peperoncini coltivati da alcuni amici in Calabria , fatti essiccare abbiamo piantato i semi in serra all’aperto per poi trapiantarli fuori serra verso maggio/giugno. Questa è stata la base da cui si sono selezionate le piante più forti ovvero quelle che si sono addattate meglio alla differenza di clima. E’ da un po di anni che facciamo questa cosa ed ora abbiamo una pianta che fa peperoncini molto grossi (purtroppo) ma comunque sempre più forti di quei cosini rossi dolci che si trovano nei supermercati trentini. Oltretutto quest’anno vorrei provare a “misurarli”, se non sbaglio un peperoncino mangiabile a crudo ( estremamente piccante ma non doloroso) dovrebbe essere inferiore ai 150/200.000gradi Scoville tanto per fare un confronto lo spray urticante per difesa personale ne fa 5 milioni, io spero di arrivare a mille :P

Quest’anno ho provato alcuni nuovi “strain” (famiglie) ordinati all’accademia del peperoncino ,in particolare il “Pellegrino” , il “Tondo Calabrese” e LUI, il signor C.Chinense Habanero Rosso. ( il secondo peperoncino più forte al mondo). Questi semi sono da piante calabresi/yukatan non adattate al clima locale e i risultati non sono stati dei milgiori….pessimi per l’habanero.

Il peperoncino adattato al clima, famiglia sconosciuta, origine Calabria.

locale1
Read the rest of this entry »

Written by gas

ottobre 2nd, 2007 at 3:25 pm

Posted in Generale

Tagged with ,