Il blog di Gas

Solo un altro sito WordPress

Archive for the ‘Linux’ Category

Gnome 2.18

with one comment

E’ da un paio di settimane che sto su gnome 2.18 2.18.1 e anche se masked sul mio sistema è stabile quanto il 16 se non di più.
In gnome 2.16 nautilus dava un po di problemi , dal famoso “incrozzarsi e riavvio” al ” io decido da solo che non hai i diritti per cancellare il file anche se non è vero” ; nel 2.18 non sembrano esserci più.

Per il resto ho individuato ( come sempre ) un po di pro e un po di contro.
Fra i pro metterei il guadagno in velocità e la maggior reattività, fra i contro spicca la furba scelta di togliere il backend per xine e di usare solo gstreamer 0.10 con una serie di menate tipo tirare avanti con la rotella o trovarsi il play che diventa “vai avanti a rallentatore”, togliere xine e usare quel cesso di gstreamer per i video è stato un bell’errore.

Read the rest of this entry »

Written by gas

giugno 1st, 2007 at 5:05 pm

Posted in Linux

Tagged with ,

Vista on PackardBell

without comments

I got a Packard Bell with Vista on it that reminded me why i don’t like windows…..

Vista is a bunch of shitty tools whose reason to exist is to drive you nuts.

As soon as I started Vista I realized that having the harddisk led blinking every often would have driven me crazy in a couple of days, then I found out that my laptop had Norton installed and it is a very well known fact that after you install something from Symantec you simply can’t get rid of it, they love you and they’ll stick with you….forever.

But you know….I have paid for a license.So the next thing was trying to shrink that smart 120Gigs partition and try to make things a little bit more clever and wow! Vista as its own partition utlity that actually is able to shrink the only filesystem it can read, for once it seemed that MS had done something almost right. Nope. That Shrink utility is (again) stupid and the best that it can do is shrinking your partition to half of what it was so I had to reboot with gparted live who actually did the job. Not completely because Vista didn’t like those changes and some repairing utility started ( by itself) that after 3 hours let me boot Vista. So as a start if Packard Bell had provided me a damn windows install cd I was done in 1 hour by instead they had to do things the cool way with their own Master DVD.( that you must make it yourself and if you lose it your fucked because you can’t make another one).

Then usability: Vista is secure , it comes with a *nix like hierarchy , in fact when you want to do operations that could potentially destroy your computer your screen turns gray and you have to click two times rather than one and in my home this is a cracker safe environment.

Software: the only software I use on windows is SolidWorks that does’t work on my Vista, no wonder why in April the solidworks guys said that they are going to make a linux version of it (maybe because they use opengl?).

Solution: format and classical winxp install on is tiny 10Gigs in NTFS and the rest in something that Virus called windows can’t understand.

P.S. btw the laptop itself as far i can tell is not bad, the Atheros wireless seems less powerful that the intel one….

Written by gas

maggio 20th, 2007 at 4:04 pm

Posted in English,Linux

Tagged with ,

Ubuntu, Debian Etch e le email

without comments

Ci sono in giro un sacco di howto complicati (sopratutti quelli che parlano di “Perfetct Setup”) su come creare un server mail in debian / ubuntu ma ce ne sono pochi per quelli come me che hanno la semplice esigenza di voler leggere le email generate dal sistema allo stesso modo di come leggono le email mandate dagli amici.In pratica la mia esigenza è quella di reindirizzare tutte le mail di sistema su una casella email esterna tipo mionome@gmail.com.

Read the rest of this entry »

Written by gas

maggio 17th, 2007 at 3:02 pm

Posted in Linux

Tagged with , , , ,

OpenDNS

without comments

OpenDNS è un servizio nato nel 2005 da David Ulevitch e mantenuto da un piccolo gruppo di sviluppatori . Dal 2005 ad oggi OpenDNS ha risolto correttamente 113 miliardi di richieste e si proprone come un servizio dns veloce, sicuro e sopratutto open.

OpenDNSI server dns hanno il compito di risolvere i nomi che noi digitiamo nella barra dell’indirizzo del browser in numeri ed in particolare in indirizzi IP più capibili da una macchina che le lettere. Per questo motivi è importante avere dei server dns affidabili e liberi dalle influenze dei vari governi anche quello italiano.Quando noi digitiamo “www.google.it” il nostro computer va a controllare sui server dns a che ip corrisponde quel nome, i server dns rispondono che al dominio google.it corrisponde l’ip “208.69.32.230″. Infatti digitando nella barra degli indirizzi del browser “www.google.it” o “208.69.32.230″ si viene indirizzati alla stessa pagina.

La maggior degli utenti in Italia non cambia i dns della propria connessione e quindi dato che le aziende che offrono il servizio adsl non sono poi così molte (per lo meno le grosse) anche i server dns usati non saranno poi così tanti.Questa situazione torna utilie a tutti coloro che giovano di un controllo sulla libertà , come il governo italiano che un po di tempo fa ha impedito a betway.com (un sito per fare scommesse) di lavorare in Italia perchè non ha pagato le tasse per poter operare ed allora ha obbligato le compagnie adsl a “modificare” i loro server dns reindirizzando www.betway.com ad una pagina del Ministero delle Finanze.So che sembra strano dato che betway finanzia la serie A , la motoGP e la Formula1 ma è così…provare per credere (testato con i dns di Alice). L’IP vero di betway è 195.244.207.20.

OpenDNS è la soluzione a questo e ad altri problemi quali il phishing informatico.

Read the rest of this entry »

Written by gas

aprile 25th, 2007 at 4:12 pm

Posted in Linux

Tagged with ,

Bill

with one comment

Contentone…

bill_gates_ubuntu

Written by gas

aprile 25th, 2007 at 2:31 am

Posted in English,Generale,Linux

Tagged with , ,

Profilo 2007.0

without comments

E’ cambiato il profilo stabile di gentoo e si passa dal 2006.1 al 2007.

# rm /etc/make.profile
# ln -s /usr/portage/profiles/default-linux/x86/2007.0/desktop /etc/make.profile

Nel make.defaults generale è stata aggiunta al use “acl” e tolta la “ppds”.
Nel make.defaults del profilo desktop sono state aggiunte le seguenti use: “acpi dvdread evo kerberos pdf qt3support svg tiff”.
Il profilo server non è stato toccato.

Nel mio caso 5 pacchetti buttati dentro e 15 ricompilati…poteva andare peggio.

Written by gas

aprile 24th, 2007 at 8:30 pm

Posted in Linux

Tagged with

Debian 4.0 out

without comments

A few months ago Etch was freezed now it has been officially released as Debian 4.0

These are the release notes and among the new changes I found:

  • PHP5.x
  • MySQL 5.x
  • Apache 2.2.x
  • GCC v4.1
  • from XFree86 to X.org v7.1

Updating

Fist of all install aptitude
apt-get install aptitude

I used to have Debian Sarge 64 that is a semi official backport , now Etch is shipped with amd64 architecture too so the backport is not needed anymore. Updating is not difficult , one should change all “sarge” to “etch” in /etc/apt/sources.list, mine look like this


deb ftp://mirror.switch.ch/mirror/debian/ etch main contrib non-free
#deb http://www.backports.org/debian sarge-backports main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://http.us.debian.org/debian stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
# TOR
deb http://mirror.noreply.org/pub/tor etch main
deb-src http://mirror.noreply.org/pub/tor etch main

the “www.backports” line is comments out because etch hit stable just today. Backports are binaries compiled for etch and shipped for sarge, sometime you can’t install a package because it misses a dependency but you can run it because it doesn’t miss any dependency while it runs, hence that backports that let me use the latest mldonkey with sarge for example.

Then


apt-get update
aptitude -f --with-recommends dist-upgrade

Note that aptitude was used rather that apt-get dist upgrade because is known to be more strict on dependencies that apt-get dist-upgrade, installing aptitude here as docs say will bring in lots of other packages.
I hope that etch will be as good as sarge , for me sarge never hanged once in its life, the only problem I had was a that a couple of deamons used to exit silently after a couple of weeks running . Hopefully etch comes with a version of shorewall that is able to handle traffic shaping.

2 cents about gentoo : I love gentoo and I have no intention to change my desktop distro …but debian management is damn faster… I remeber last Gcc major upgrade , rebuilding the the system and then the world , emerge breaking during night, a couple of days compiling vs 20 min of debs fetching in debian.

Edit:
Squid and Shorewall have new configurations:

  • Squid: ( ola ola Christian )delete these lineshttpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    and add this always_direct allow all.Now look for http_port X.X.X.X and add “transparent” the result should be something like this:http_port 192.168.1.2:8080 transparent
  • Shorewall: have a look at /usr/share/doc/shorewall/examples . Now the file “zones” must contain the firewall zone, there are no comments and no display any more so in the end you should find something like this:net ipv4
    loc ipv4
    fw firewall

    ipv4 is the default for normail traffic

Written by gas

aprile 9th, 2007 at 2:19 pm

Posted in English,Generale,Linux

Tagged with , , ,

The Sound of RAM

with 2 comments

I just read a crazy article and I wanted to try it. Here’s how you can enconde in ogg the sound of your machine’s RAM.

To listen it:

sudo cat /dev/mem >> /dev/audio

To record it:

sudo cat /dev/mem | oggenc -rq 1 -o mem.ogg -

Here’s mine

The Sound of RAM

I used ogg2mp3 in portage for the transcoding.

Original aricle: mogrify » Blog Archive » 33 seconds of RAM

Written by gas

aprile 1st, 2007 at 4:13 pm

Posted in English,Linux

Tagged with ,

Metalink

without comments

Oggi ho scoperto metalink, è uno standard che cerca di unire modi diversi di scaricare file (http , ftp , torrent) in un unico formato. A prima vista non sembra nulla di nuovo rispetto a quello che già fa getright (il download segmentato) ma in realtà non è vero. Getiright usa filemirrors per ottenere una lista dei siti web o ftp che hanno il file e ad alcuni di questi viene poi affidato download di un segmento . I metalink funzionano in modo più simile a torrent, i file .metalink” sono dei file in formato XML:

archlinuxhttp://www.archlinux.org/

Arch Linux, a lightweight and flexible linux distribution that tries to Keep It Simple.

0.7.2

Linux-x86

aa7ded55704d6d9f982f68f9872fac79

ftp://archlinux.puzzle.ch/0.7.2/iso/i686/arch-0.7.2.iso

ftp://cle.linux.org.tw/pub/ArchLinux/iso/0.72/arch-0.7.2.iso

ftp://ftp.estpak.ee/pub/archlinux/0.7.2/iso/i686/arch-0.7.2.iso

ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/0.7.2/iso/i686/arch-0.7.2.iso

ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/0.7.2/iso/i686/arch-0.7.2.iso
.............................................................

Utilizzando i tag dell’XML vengono descritte alcune informazioni sul file tipo le varie sorgenti ( anche P2P ) con locazione (Italia,Svizzera ecc), l’md5 (per controllare che il file non sia corrotto a fine download) , ed una descrizione dettagliata sul file e chi lo rilascia.
In windows getright supporta i metalink mentra per linux ho provato aria2 ( in command line).

Aria2

Più di un mega… ho visto di meglio ma è stato stabile.

Written by gas

marzo 20th, 2007 at 7:27 pm

Posted in Linux

Tagged with ,

The Best getacoder

without comments

This is the best getacoder.com offer ever

Hi,
So I’m posting for a rather large project. I need someone to program me a new OS (Operasting System) that looks different than Ms Windows XP etc. but has the same style. It does not need to run on a mac but all the other PCs. It’s supposed to have a stylish look with clear edges etc. And ITS NOT SUPPOSED TO BE JUST A REDESIGNED WINDOWS as I’m going to sell that operating system later on. It’s going to be called BlueOrb.

These are some important points :

It should have ALL THE FEATURES that Windows Xp Professional has.
ALL the files that run on Windows XP ust also run on the BlueOrb OS.
It must have a very user-friendly interface (like MS WINDOWS XP)
When it gets Installed, the user needs to insert a serial number.
It HAS to be HACKER SAFE!
It must be quick and good looking.

Note that I only accept quality work and do not want any quickly done BS.

greetz,

M.Reinhardt

And here’s the best answer :

Hi. I can do this for you next week, when I plan on taking a break from a nonotech based / atomic fission driven search engine thats going to make larry page wet his pants. 6 days to code, 1 to rest. It will be written from scratch and completely original in design, so don’t worry about copyright bs. I plan to write the entire OS in C, and blindfolded, if its all the same to you. 100% secure will not be a problem either…In fact the OS will be designed to leverage jedi mind tricks to kill anyone that even thinks about breaking in. (i was thinking maybe make them chop off their feet and jump up and down until their empty would be fair). Anyways, I’m gonna smoke some more crack, maybe you should do the same. Thanks!

:lol:

Written by gas

marzo 7th, 2007 at 12:27 am

Posted in English,Linux