<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Il blog di Gas &#187; howto</title>
	<atom:link href="http://www.lucagasperini.com/blog/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucagasperini.com/blog</link>
	<description>Solo un altro sito WordPress</description>
	<lastBuildDate>Fri, 04 Nov 2011 15:04:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Unmerge Kde in gentoo</title>
		<link>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/</link>
		<comments>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 10:48:11 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=659</guid>
		<description><![CDATA[Update emerge --ask -C `eix -C kde-base --only-names --installed` nano /etc/make.conf and delete kde from the USE flags, remove qt3support and qt4 also if you don&#8217;t need them anymore emerge -uavtqND world" Now you should have just a few kde packages in the list you got as an output of that command, it&#8217;s your choice [...]]]></description>
			<content:encoded><![CDATA[<p>Update</p>
<p><code>emerge --ask -C `eix -C kde-base --only-names --installed`</code></p>
<p><code>nano /etc/make.conf</code></p>
<p>and delete kde from the USE flags, remove qt3support and qt4 also if you don&#8217;t need them anymore</p>
<p><code>emerge -uavtqND world"</code></p>
<p>Now you should have just a few kde packages in the list you got as an output of that command, it&#8217;s your choice to leave them or unmerge them manually, with unmerge -pv &#8211;depclean <atom> you can see what packages pulls in your atom.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2010-unmerge-kde-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indirizzo ip dinamico e dyndns opendns</title>
		<link>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/</link>
		<comments>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 13:39:30 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=634</guid>
		<description><![CDATA[Ogni qualvolta ci si collega ad internet viene assegnato un indirizzo ip pubblico al proprio computer/router, in Italia quasi tutte le connessioni adsl private hanno un ip dinamico che camba tutte le volte che ci si riconnette. Può tornare comodo conoscere questo ip per poter raggiungere il proprio computer dall&#8217;esterno ( lavoro, università ) e [...]]]></description>
			<content:encoded><![CDATA[<p>Ogni qualvolta ci si collega ad internet viene assegnato un <a href="http://it.wikipedia.org/wiki/Indirizzo_IP">indirizzo ip</a> pubblico al proprio computer/router, in Italia quasi tutte le connessioni adsl private hanno un ip dinamico che camba tutte le volte che ci si riconnette. Può tornare comodo conoscere questo ip per poter raggiungere il proprio computer dall&#8217;esterno ( lavoro, università ) e per evitare di doverselo scrivere su un &#8220;post it&#8221; tutte le volte che si accende il modem è possibile utilizzare un <a href="http://it.wikipedia.org/wiki/Dynamic_DNS">dns dinamico</a> .</p>
<h3><strong>Razionale</strong></h3>
<ol>
<li>iscriversi ad un servizio di dns dinamico, si potrà scegliere un dominio di terzo livello ( terzolivello.secondolivello.it) a cui associare l&#8217;indirizzo ip del computer.</li>
<li>iscriversi a dnsomatic che provvederà a fornire a tutti i servizi che si usano (come i servizi di dns dinamico ma anche altri come opendns) l&#8217;indirizzo ip del computer</li>
<li>usare un client che al cambio dell&#8217;indirizzo ip avvisa dnsomatic</li>
</ol>
<p><span id="more-634"></span></p>
<p><strong>1) DNS dinamico</strong></p>
<ol>
<li>iscriversi al servizio qui: <a href="https://www.dyndns.com/account/entrance/">https://www.dyndns.com/account/entrance/</a></li>
<li>dopo che arriva la mail confermate</li>
<li>aggiungete un hostname da qui: <a href="https://www.dyndns.com/account/services/hosts/add.html">https://www.dyndns.com/account/services/hosts/add.html</a> , scegliendo in &#8220;hostname&#8221; un nome facile da ricordare nel box di sinistra assieme ad un altro nome utilizzando il menu a discesa di destra, poi click su &#8220;Use your currently detected IP address&#8221; e per ultimo click su &#8220;Add to chart&#8221; e confermate.</li>
</ol>
<p><strong>2) Iscriversi a dnsomatic</strong></p>
<ol>
<li>iscriversi qui <a href="https://www.dnsomatic.com/create/" target="_blank">https://www.dnsomatic.com/create/</a></li>
<li>Add a service, scegliere DynDNS , mettere userid e password di <em><span style="text-decoration: underline;">DynDNS</span></em> e per ultimo inserire il dominio scelto in fase di registrazione (del tipo mionome.servelinux.org)</li>
<li>ora dnsomatic può aggiornare l&#8217;ip di dyndns</li>
</ol>
<p><strong>3) Aggiornare l&#8217;ip con il client</strong></p>
<h5><em>gentoo:</em></h5>
<p><code>emerge ddclient<br />
</code></p>
<h5><em>ubuntu:</em></h5>
<p><code>sudo aptitude install ddclient<br />
</code></p>
<h5><em>entrambi:</em></h5>
<p>Poi si configura mettendo al posto di &#8220;user&#8221; il nome utente e &#8220;pass&#8221; la password scelta su <em><span style="text-decoration: underline;">opendns</span></em> (non dyndns), occhio alle virgole<br />
<code>nano /etc/ddclient/ddclient.conf</code><br />
<code><br />
daemon=600                  # check every 600 seconds<br />
syslog=yes                  # log update msgs to syslog<br />
mail-failure=user@email.com # Mail failed updates to user<br />
use=web, web=myip.dnsomatic.com<br />
server=updates.dnsomatic.com,      \<br />
protocol=dyndns2,                  \<br />
login=user,          \<br />
password=pass        \<br />
all.dnsomatic.com</code></p>
<h5><em>gentoo:</em></h5>
<p><code>rc-config start ddclient<br />
rc-config add ddclient default<br />
</code></p>
<h5><em><strong></strong></em><em>ubuntu:</em></h5>
<p><code>sudo /etc/init.d/ddclient restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2009-indirizzo-ip-dinamico-e-dyndns-opendns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu on Toshiba A300 PSAJ4E</title>
		<link>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/</link>
		<comments>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 20:15:07 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/?p=596</guid>
		<description><![CDATA[Info 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.lucagasperini.com/blog/wp-content/uploads/2008/07/toshiba_satellite_a300_ita_41.jpg"><img class="size-medium wp-image-597 aligncenter" title="Sat_A300_Prod_Full_Jan08_04" src="http://www.lucagasperini.com/blog/wp-content/uploads/2008/07/toshiba_satellite_a300_ita_4-300x233.jpg" alt="toshiba a300" width="240" height="186" /></a><strong>Info</strong><br />
<code>00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)<br />
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)<br />
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)<br />
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)<br />
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)<br />
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)<br />
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)<br />
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)<br />
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)<br />
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)<br />
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)<br />
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)<br />
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)<br />
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)<br />
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)<br />
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)<br />
01:00.0 VGA compatible controller: ATI Technologies Inc Mobilitiy Radeon HD 3400 Series<br />
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]<br />
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)<br />
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)<br />
0a:01.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)<br />
0a:01.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)<br />
0a:01.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)</code></p>
<p><span id="more-596"></span></p>
<p><strong>TEST</strong></p>
<p>Y-worked without any modification M-requires modification N-did not work at all L-limited</p>
<p>Ubuntu 8.04 ***Kernel-2.6.24-19-Generic SMP</p>
<p><code>KB 	                 L(1)<br />
Mouse(TPad) 	 Y<br />
XFree86 	         Y<br />
Sound                 Y<br />
HDD 	                 Y<br />
DVD/CD 	         L(2)<br />
DVD-RW/CD-RW 	 L(2)<br />
SDC                   Y(3)<br />
IEEE1394 	         Not Tested<br />
USB                   Y<br />
USB CDROM         Not Tested<br />
USB FDD             Not Tested<br />
USB Mouse          Y<br />
LAN               M (7)<br />
W-LAN               Y(4)<br />
Bluetooth	        M(5)<br />
Shutdown           Y<br />
Reboot               Y<br />
ACPI                  Y    ACPI: (supports S0 S3 S4 S5)<br />
Suspend             Y(6)<br />
Hibernation 	Y(6)</code></p>
<p><strong>1)</strong> Keyboard:Not all function keys works, the most important ones do like lcd brightness, sound and the disable trackpad one<br />
<strong>2)</strong> DVD-RW: Works but I have a really bad performance. It could be the same thing that affects my desktop and is a pretty common thing on intel chipset<br />
<strong>3)</strong> Card Reader: Works with SDHC (High Capacity), tested on microSDHC 4GB (with adapter)<br />
<strong>4)</strong> W-LAN: Toshiba suggests not needed modifications, for me it worked out of the box<br />
<strong>5)</strong> Bluetooth ref: <a href="http://ubuntuforums.org/showthread.php?t=316358">Ubuntu Forums</a><br />
On toshibas bluetooth is switched off by default on boot. It can be switched on by an acpi call that is pretty easy to make in windows ( press a button ) but not in linux , omnibook make things much easier. First you will need some packages to grab the source from svn and to compile it.<br />
<code><br />
$ sudo apt-get install subversion build-essential linux-source linux-headers-generic</code><br />
Then you can check the svn source and compile<br />
<code>$ cd ~<br />
$ mkdir omnibook<br />
$ cd omnibook<br />
$ svn co https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk<br />
$ cd trunk<br />
$ make<br />
$ sudo make install<br />
</code></p>
<p>The A300 is not directly supported by omnibook module so we have to force it with proper options</p>
<p><code>$ sudo depmod -a<br />
$ sudo modprobe omnibook ectype=12</code></p>
<p>after this bluetooth should work, if you want to load the module on boot make a file called omnibook.modprobe in /etc/modprobe.d/ with the following line:<br />
<code>options omnibook ectype=12 userset=1</code></p>
<p>and then you can finally add &#8220;omnibook&#8221; in /etc/modules</p>
<p>There&#8217;s a bug in Ubuntu that make you unable to receive files ( toshiba side is all working, the bug is in the bluez-utils package) , downgrading is a <a href="http://technology-included.blogspot.com/2008/07/using-bluetooth-on-hardy-ubuntu-804.html">solution</a></p>
<p><strong>6) </strong>Suspend/Hibernation: I had problem with the xorg drivers. After installing Ati Binary drivers it worked liked a charm , I&#8217;m very happy for this.Edit: after waking up from hibernation the bluetooth system is disabled for some reasons. &#8220;echo 1&gt;/proc/omnibook/bluetooth&#8221; will do the job.</p>
<p><strong>7</strong> <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/239852/comments/3">Wired Lan</a>:<br />
<code>rmmod sky2<br />
cd /lib/modules/2.6.24-16-generic/kernel/drivers/net<br />
cp -p sky2.ko{,.orig}<br />
perl -pe 's/\0\0\x6c\x43/\0\0\x55\x43/g' sky2.ko.orig &gt; sky2.ko</code><br />
<strong>Note</strong></p>
<p>I feel that with the newer bios ( 14/07 ) things work better, the fan is less noisy for example</p>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://linux.toshiba-dme.co.jp/linux/eng/installinfo.htm">Linux Information for Toshiba</a></li>
<li><a href="http://www.buzzard.me.uk/toshiba/index.html">Some linux toshiba utilities</a> (you probably wont need these)</li>
</ul>
<p><a title="Linux on Laptops" href="http://www.linux-on-laptops.com/toshiba.html"><br />
<img src="http://www.linux-on-laptops.com/images/linux-on-laptops.gif" border="0" alt="Linux On Laptops" width="110" height="36" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2008-ubuntu-on-toshiba-a300-psaj4e/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sync: Nokia , Thunderbird and Google Calendar</title>
		<link>http://www.lucagasperini.com/blog/2007-sync-nokia-thunderbird-and-google-calendar/</link>
		<comments>http://www.lucagasperini.com/blog/2007-sync-nokia-thunderbird-and-google-calendar/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 16:08:39 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[n95]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-sync-nokia-thunderbird-and-google-calendar/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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. <a href="http://www.scheduleworld.com/">ScheduleWolrd</a> 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.<br />
<span id="more-568"></span></p>
<p><strong>ScheduleWorld Side</strong></p>
<p>After signing up and logging in there are a few things that must be changed in the <a href="http://www.scheduleworld.com/tg/cal/preferences.jsp">scheduleworld configuration page</a>.</p>
<ul>
<li>General Preferences for: as it says those are just general preferences , they have nothing to do with the syncing procedures,can be left as they are</li>
<li>GMail Contact Synchronization: would be handy but gmail sucks under this point. Gmail remembers automatically every address you have sent an email to and this means that after a while you will find a lot of guys called &#8220;unsubscribe&#8221; on your phone contacts, this is the part that sucks.I don&#8217;t use this feature.</li>
<li>Standard SyncML Client Configuration: these are the configuration options we will use on the Nokia, all Nokia N series comes with syncML compliant client and we will use it.</li>
<li>Funambol SyncML Client Configuration: if the application/device you want to sync doesn&#8217;t come with a syncML compliant client there is a possibility that you can install some <a href="http://www.funambol.com/opensource/downloads.php">funambol components</a> to make it work and sync properly with scheduleworld.(for iPod , Windows Mobile, Outlook, theres should be something for BlackBerries too)</li>
<li>Evolution SyncML Configuration (SyncEvolution): for the evolution office suite ( if you don&#8217;t know what it is don&#8217;t bother).I use Gnome but I when I&#8217;m not home I must use windows,so I prefer crossplatform applications like the ones from Mozilla.</li>
</ul>
<p>There are other configuration option at the bottom of the boxes (its actually another wider box in pink and purple colors). If you want to sync with google calendar the configuration options with a pink background are the ones that matter the most.(those ones that come after &#8220;To manually sync with your specific Google Calendar click &#8216;Google Sync&#8217; at the top of the day view.  &#8220;).</p>
<ul>
<li>Authorization: most of people should click on &#8220;Single User/AuthStub&#8221;, if you use google apps for your domain then you should click on &#8220;Hosted Domain/Client Login&#8221;.After that your browser will fire up a google page that asks you if you want to grant permission to scheduleworld.com, you should answear yes.</li>
<li>Corresponding Google Calendar Username (email): your google login</li>
<li>Google Calendar Title:click &#8220;Find&#8221; and chose the calendar you wish to sync with.</li>
<li>Other options: the defaults are ok, maybe you want the &#8220;Automatically sync with this Google Calendar with every SyncML sync&#8221; set to &#8220;yes&#8221; so that every time you sync with scheduleworld you get synced to google calendar automatically.</li>
</ul>
<p><strong>Nokia Side</strong></p>
<p>The syncML client by Nokia is called &#8220;Syncronization&#8221; and it should be under &#8220;Utilities&#8221; (my N95 is in Italian).Options->NewProfile.</p>
<ul>
<li>Profile Name: Anything you want</li>
<li>Applications:we will sync Contacts and Calendar, click on Contacts: Include:yes ; Database: card ; Direction:both; go back.Click on Calendar: Include:yes ; Database: cal ; Direction:both. Pay attention: Contacts database is &#8220;card&#8221;, Calendar database is &#8220;cal&#8221;.</li>
<li>Connection: these info are on the<a href="http://www.scheduleworld.com/tg/cal/preferences.jsp"> scheduleworld configuration page </a> in the &#8220;Standard SyncML Client Configuration&#8221; box. Put the server url in the &#8220;host address&#8221;, do the same for username and password.</li>
</ul>
<p>Now go back with your phone to the syncronization page and click on the new created profile to sync your phone to Scheduleworld and to Google Calendar with it.</p>
<p><strong><br />
Thunderbird Side</strong></p>
<p>You can find Scheduleworld extension for thunderbird <a href="http://www.scheduleworld.com/encv1/syncSW.xpi">here</a>, right click save, fireup thunderbird and under Tools->Add-Ons click on install and select the extension, restart thunderbird. Upon restarting a wizard should show up guiding you to the configuration options,as usual you can find these infos on the <a href="http://www.scheduleworld.com/tg/cal/preferences.jsp">scheduleworld configuration page</a>.After Username and Password you are asked what contacts you want to sync, Personal Address Book are the contacts you created , Collected Address Book are the contacts you know cause you sent or they ahve sent something to you.Next is the Calendars to Syncronize, put a mark on &#8220;Sync&#8221; and chose the calendar to sync, keep going and reading till you finish.Now aunder tools->SyncSW to sync.</p>
<p><strong><br />
Tip for Gnome Users</strong></p>
<p>Gnome has a clock applet that if you click on it it shows you a calendar , that calendar is connected to evolution and it will show in glance all your appointments,pretty handy feature. If you don&#8217;t want to use evolution there&#8217;s a solution <a href="http://c-alt.blogspot.com/2007/09/google-calendar-gnome.html">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-sync-nokia-thunderbird-and-google-calendar/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Come installare Windows senza CD</title>
		<link>http://www.lucagasperini.com/blog/2007-come-installare-windows-senza-cd/</link>
		<comments>http://www.lucagasperini.com/blog/2007-come-installare-windows-senza-cd/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 22:02:38 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-come-installare-windows-senza-cd/</guid>
		<description><![CDATA[Il portatile di mio padre ha il drive del cdrom rotto, in piÃ¹ Ã¨ vecchio e non c&#8217;Ã¨ modo di fare il boot da usb. Per poter installare windows serve un computer desktop con un cdrom ed un floppy funzionante ed in piÃ¹ un adattatore da harddisk per laptop a Ide, una cosa come questa. [...]]]></description>
			<content:encoded><![CDATA[<p>Il portatile di mio padre ha il drive del cdrom rotto, in piÃ¹ Ã¨ vecchio e non c&#8217;Ã¨ modo di fare il boot da usb. Per poter installare windows serve un computer desktop con un cdrom ed un floppy funzionante ed in piÃ¹ un adattatore da harddisk per laptop a Ide, una cosa <a href="http://shop.essedi.it/scheda_art.htm?SID=&#038;ID=34160&#038;ID_MCAT=0&#038;ID_CAT=506&#038;SHOP=5&#038;LST=_BB_&#038;PRT=">come questa</a>.<br />
L&#8217;idea di base Ã¨ di smontare l&#8217;harddisk del portatile, attaccarlo al desktop, formattarlo con dos, copiare il cd di windows xp e far partire l&#8217;installazione.</p>
<p><span id="more-524"></span><br />
<strong>Smontare l&#8217;harddisk</strong></p>
<p>Questa probabilmente Ã¨ la parte piÃ¹ difficile , sul nx9030 della hp/compaq Ã¨ bastato togliere due viti dal fondo per poter estrarre l&#8217;harddisk dal bay interno.</p>
<p><img src='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/130920070011.jpg' alt='Notebook smontato' /></p>
<p>Alla base dell&#8217;harddisk va incastrato l&#8217;adattatore facendo attenzione a non piegare i ponticelli</p>
<p><a href='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/130920070051.jpg' title='hdd con adattatore'><img src='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/130920070051.jpg' alt='hdd con adattatore' /></a></p>
<p><strong>Preparare un floppy per il boot</strong></p>
<p>Serve un floppy per creare un disco di ripristino di Windows 98 per fare il boot&#8230;..giÃ &#8230;.anch&#8217;io ero convinto di non dover piÃ¹ sentire quel nome eppure&#8230;almeno non serve avere windows98 e si puo prendere il file eseguibile per creare il dischetto <a href="http://findfiles.com/list.php?string=boot98se.exe&#038;size=863218&#038;db=Mirrors">da qui</a></p>
<p>Una volta fatto il dischetto copiateci su anche il contenuto di <a href='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/utildos1.zip' title='dos floppy files addons'>questo archivio</a> ( prima va decompresso con winrar o winzip) sovrascrivendo i file dove serve.</p>
<p><strong>Preparare l&#8217;Harddisk</strong></p>
<p>L&#8217;harddisk con l&#8217;adattatore va collegato al cavo ide del desktop , per sicurezza e perchÃ¨ dos Ã¨ stupido consiglio di scollegare tutti gli altri harddisk. Fatto questo si puÃ² fare il boot di dos dal floppy appena creato.<br />
Ora lanciando &#8220;fdisk&#8221; si puo creare una nuova partizione sull&#8217;harddisk, questa procedura <strong>cancellerÃ  TUTTI i dati</strong> sull&#8217;harddisk irreparabilmente.</p>
<p><code>a:\fdisk.exe</code></p>
<p>Il programma avviserÃ  di riavviare il computer (sempre da floppy) per formattare la nuova partizione.Una volta riavviato</p>
<p><code>a:\format c: /s</code></p>
<p>Copiare tutti i file del dischetto sull&#8217;harddisk , <strong>non</strong> sovrascrivere.</p>
<p><code>copy a:\*.* c:\</code></p>
<p>A questo punto si possono ricollegare gli harddisk sul desktop e riavviare il sistema operativo : vi ritroverete l&#8217;harddisk del portatile in gestione risorse . Creare una cartella &#8220;mywin&#8221; sull&#8217;harddisk del portatile e copiateci tutti i file del cd di windows .Ora si puo rimontare l&#8217;harddisk sul portatile</p>
<p><strong>Installare Windows </strong></p>
<p>Fare il boot dall&#8217;harddisk appena inserito nel portatile e</p>
<p><code>c:\mywin\i386\winnt.exe</code></p>
<p>Un po di soldini risparmiati</p>
<p><a href='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/130920070101.jpg' title='installato windows'><img src='http://www.lucagasperini.com/blog/wp-content/uploads/2007/09/130920070101.jpg' alt='installato windows' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-come-installare-windows-senza-cd/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Cuffie bluetooth in linux</title>
		<link>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/</link>
		<comments>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 19:33:09 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/</guid>
		<description><![CDATA[Assieme al cellulare mi sono arrivate un paio di cuffie bluetooth della motorola, il supporto in linux c&#8217;Ã¨ anche se le cose sono in continuo cambiamento. Requisiti: poter compilare , alsa e bluetooth gia testati e funzionanti , detto questo per gentoo dovrebbe solo servire il cvs , per ubuntu invece build-essential libbluetooth2-dev (3.5 or [...]]]></description>
			<content:encoded><![CDATA[<p>Assieme al cellulare mi sono arrivate un paio di cuffie bluetooth della motorola, il supporto in linux c&#8217;Ã¨ anche se le cose sono in continuo cambiamento.</p>
<p>Requisiti:<br />
poter compilare , alsa e bluetooth gia testati e funzionanti , detto questo per gentoo dovrebbe solo servire il cvs , per ubuntu invece</p>
<ul>
<li>build-essential </li>
<li>libbluetooth2-dev (3.5 or newer)</li>
<li>automake </li>
<li>autoconf </li>
<li>cvs </li>
<li>libtool </li>
<li>libasound2-dev </li>
<li>libdbus-1-dev </li>
<li>libdbus-glib-1-dev </li>
</ul>
<p>Io sono su gentoo e sono riuscito a far andare il tutto con bluez-utils>=3.16, la <a href="http://bluetooth-alsa.sourceforge.net/build.html">guida originale</a> Ã¨ per ubuntu</p>
<p><span id="more-523"></span></p>
<p>Per prima cosa bisogna installare un paio di cose da cvs, in particolare libsbc e plugz da sourceforge.  Note: se viene chiesta la password schiacciate invio senza digitare nulla, i comandi sono da utente , sudo significa da superutente,se non si usa sudo allora passate al root con &#8220;su&#8221; + password, poi &#8220;exit&#8221; per tornare all&#8217;utente.</p>
<p>Ora creiamo un file cosÃ¬ da non far uscire con un errore il cvs<br />
<code>touch ~/.cvspass</code><br />
Ora spostatevi in una cartella comoda in cui l&#8217;utente ha diritto di scrittura ,una qualsiasi &#8230;<br />
Installazione di libsbc:<br />
<code>cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc login<br />
cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc co sbc<br />
cd sbc<br />
./bootstrap<br />
./configure --prefix=/usr<br />
make<br />
sudo make install<br />
cd ..</code></p>
<p>Installazione di plugz:<br />
<code>cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa login<br />
cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa co plugz<br />
cd plugz<br />
./bootstrap<br />
./configure --prefix=/usr --sysconfdir=/etc<br />
make<br />
sudo make install</code></p>
<p>Dato che ho delle cuffie senza microfono userÃ² il driver per alsa a2dp che Ã¨ a senso unico ( dal computer alle cuffie e non viceversa ).</p>
<p>Per prima cosa bisogna far si che che il computer si possa connettere alle cuffie via bluetooth, la password di default delle cuffie in genere Ã¨ 0000, quindi basta lanciare questo comando:<br />
<code>passkey-agent --default 0000</code> e<strong> lasciate aperta questa finestra</strong> fino alla fine.</p>
<p>Ora (da un altro terminale) dobbiamo collegare il computer alle cuffie ( metterli in pair ) . Con le cuffie della motorola Ã¨ abbastanza semplice, sulle cuffie ci sono due grossi bottoni con la &#8220;M&#8221; che a cuffie accesse flashano ogni qualche secondo. Si spengono tenendo premuto finchÃ¨ non si vedono un paio di flashate. Da spente bisogna tenere premuto il bottone, ad un certo punto ci saranno un paio di flash (l&#8217;accensione) e mantenendo premuto il led si illuminerÃ  fisso, quando Ã¨ cosÃ¬ le cuffie sono in &#8220;pair mode&#8221; ed Ã¨ quello che ci serve.</p>
<p><code>hcitool scan</code></p>
<p>il risultato del comando dovrebbe dare un indirizzo MAC del tipo: AA-11-22-33-44-FF</p>
<p><code>cp alsa-plugins/a2dpd/sample.a2dprc ~/.a2dprc<br />
nano ~/.a2dprc<br />
</code></p>
<p>questo Ã¨ un file con delle opzioni di default , bisogna cambiare solo un opzione alla fine<br />
<code>address=AA-11-22-33-44-FF</code> ovviamente il vero indirizzo da mettere Ã¨ il risultato del comando &#8220;hcitool scan&#8221; fatto prima.<br />
<code>nano ~/.asoundrc</code> ed inserite<br />
<code>pcm.a2dpd {<br />
            type a2dpd<br />
      }</code></p>
<p>Ok , ora basta far partire il demone (sempre da utente come sopra) : a2dpd (questo terminale va lasciato aperto se si vuole usare le cuffie)</p>
<p>Per testarlo:<br />
<code>mplayer -ao alsa:device=a2dpd ./testsound.mp3</code></p>
<p>Da fare:</p>
<ul>
<li>far partire il tutto con meno menate</li>
<li>fare uno script per cambiare tutte le uscite audio in a2dpd (mplayer, gstreamer,xine)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debrandizzare il Nokia N95</title>
		<link>http://www.lucagasperini.com/blog/2007-debrandizzare-il-nokia-n95/</link>
		<comments>http://www.lucagasperini.com/blog/2007-debrandizzare-il-nokia-n95/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 17:21:49 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[n95]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-debrandizzare-il-nokia-n95/</guid>
		<description><![CDATA[Ho un nokia N95 inglese dell&#8217;azienda &#8220;O2&#8243; che funziona con qualsiasi sim , come si dice &#8220;liberato&#8221;.. In questo momento ho il firmware 11.0.26 e non posso aggiornarlo all&#8217;ultima versione ,cioÃ¨ la 12.0.013.Non posso aggiornarlo perchÃ¨ il telefono ha un codice prodotto per il quale l&#8217;ultimo firmware Ã¨ l&#8217;11.0.26 ovvero un telefono della 02, quello [...]]]></description>
			<content:encoded><![CDATA[<p>Ho un nokia N95 inglese dell&#8217;azienda &#8220;O2&#8243; che funziona con qualsiasi sim , come si dice &#8220;liberato&#8221;..<br />
In questo momento ho il firmware 11.0.26 e non posso aggiornarlo all&#8217;ultima versione ,cioÃ¨ la 12.0.013.Non posso aggiornarlo perchÃ¨ il telefono ha un codice prodotto per il quale l&#8217;ultimo firmware Ã¨ l&#8217;11.0.26 ovvero un telefono della 02, quello che voglio ottenere Ã¨ un telefono della Nokia con un codice prodotto che corrisponde appunto ad un Nokia senza brand / marca.I passi sono semplici ma da seguire con attenzione,la guida funziona anche per quelli Italiani.</p>
<ol>
<li>Installare Nokia software Updater ed installare PcSuite dal sito ufficiale Nokia, <strong>collegare il telefono con Sim e batteria carica ,testare che sia riconosciuto e fare il backup da PcSuite</strong></li>
<li>Andare a <a href="http://www.b-phreaks.co.uk/software.htm">questa pagina</a> ed installare Nemesis Server Suite (in fondo , il primo file dopo &#8220;Nemesis Service Suite Download&#8221;),durante l&#8217;installazione scegliere USB Virtual Device</li>
<li>Aprire il programma e premere il bottone in alto a destra &#8220;Scan for new Devices&#8221; dopo un po si riempiranno i campi vuoti, passare a &#8220;Phone Info&#8221; , cliccare a destra su &#8220;read&#8221; ,sempre nella parte destra dovrebbero esserci dei campi , uno dei quali intitolato &#8220;Product Code&#8221; con un numero, cambiare il numero in 0534841,mettere l&#8217;apice su Enable e cliccare su Write. Ora come test togliere l&#8217;apice da &#8220;Enable&#8221;, cliccare su Read e controllare se il codice prodotto corrisponde al nuovo numero impostato. Chiudere l&#8217;appicazione</li>
<li>( Fatto il Backup???) Lanciare Nokia Software Updater, e seguire i passi.Il telefono verrÃ  &#8220;riflashato&#8221; in un Nokia generico e non di un particolare fornitore di servizio (Tim, Vodafone ,Tre ).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-debrandizzare-il-nokia-n95/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Ubuntu, Debian Etch e le email</title>
		<link>http://www.lucagasperini.com/blog/2007-ubuntu-debian-etch-e-le-email/</link>
		<comments>http://www.lucagasperini.com/blog/2007-ubuntu-debian-etch-e-le-email/#comments</comments>
		<pubDate>Thu, 17 May 2007 13:02:27 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-ubuntu-debian-etch-e-le-email/</guid>
		<description><![CDATA[Ci sono in giro un sacco di howto complicati (sopratutti quelli che parlano di &#8220;Perfetct Setup&#8221;) 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Ci sono in giro un sacco di howto complicati (sopratutti quelli che parlano di &#8220;Perfetct Setup&#8221;) 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.</p>
<p><span id="more-485"></span></p>
<p>Leggendo un po di quei &#8220;Perfect Setup&#8221; ho capito che &#8220;l&#8217;email&#8221; Ã¨ un metodo di comunicazione &#8220;antico&#8221; e quindi Ã¨ un casino da capire, nella mia mente malata ho fatto un paragone coi servizi postali &#8220;veri e non virtuali&#8221;</p>
<ul>
<li>MTA: Mail Transport Agent: Ã¨ quella cosa che mette in comunicazione i server, Ã¨ l&#8217;ufficio postale che manda la posta ad un altro ufficio postale di competenza. Esempio: mando uno cartolina da un paese trento a uno di milano ,la cartolina arriva alle poste di trento che la manda alle poste di milano.Il camion che va da Trento a Milano pieno di lettere Ã¨ l&#8217;MTA.</li>
<li>MDA: Mail Delivery Agent: Ã¨ quella cosa che consegna l&#8217;email in arrivo dal server agli utenti ovvero Ã¨ il postino che in vespa vi porta la cartolina dall&#8217;ufficio di milano a casa vostra</li>
<li>MUA: Mail User Agent: Ã¨ la vostra casella di posta in cui il postino mette la cartolina che verrÃ  presa da chi di dovere ( voi che uscite di casa la mattina rimbambiti dal sonno in pantofole a prendere la posta</li>
</ul>
<p>Fondamentalmente a me serve solo l&#8217;MTA : tutte le lettere spedite da casa mia dovranno andare all&#8217;ufficio Gmail piuttosto che essere smistate internamente.CosÃ¬ facendo posso licenziare il postino smarzo che gira in bici sulle strade di alice e usare quello &#8220;bravo&#8221; di gmail.<br />
Ci sono vari MTA , abolito sendmail causa eccessiva &#8220;antichitÃ &#8221; ovvero non ce ne vengo fuori una mazza, ho preferito usare postfix al posto di exim4.</p>
<p><code>sudo aptitude update<br />
sudo aptitude install postfix mailx</code>(la configurazione di default va bene)</p>
<p>Ora per prima cosa creiamo gli alias ( /etc/aliases o /etc/mail/aliases), ovvero diciamo al sistema che le email ad un utente devono essere reindirizzate ad un altro, faremo in modo che ogni email verso un qualsiasi utente venga reindirizzata ad uno solo, un unico indirizzo &#8220;catch all/prendi tutto&#8221;.In Ubuntu il file alias originale Ã¨ praticamente vuoto e quindi ho preferito usare quello un po piÃ¹ completo di gentoo:</p>
<p><code># Basic system aliases -- these MUST be present.<br />
MAILER-DAEMON:      postmaster<br />
postmaster:         root</p>
<p># General redirections for pseudo accounts.<br />
adm:                root<br />
bin:                root<br />
daemon:             root<br />
exim:               root<br />
lp:                 root<br />
mail:               root<br />
named:              root<br />
nobody:             root<br />
postfix:            root<br />
operator:               root<br />
# Well-known aliases -- these should be filled in!<br />
# root:<br />
# operator:</p>
<p># Standard RFC2142 aliases<br />
abuse:              postmaster<br />
ftp:                root<br />
hostmaster:         root<br />
news:               usenet<br />
noc:                root<br />
security:           root<br />
usenet:             root<br />
uucp:               root<br />
webmaster:          root<br />
www:                webmaster<br />
www-data:        webmaster<br />
# trap decode to catch security attacks<br />
# decode:           /dev/null<br />
</code></p>
<p>Questo file alias reindirizza tutte le mail degli utenti dei sistemi linux piÃ¹ comuni al root, ora dobbiamo impostare un reindirizzamento da root ad un utente specifico e da quell&#8217;utente verso la casella mail esterna, se il vostro utente Ã¨ &#8220;mario&#8221; dovrete aggiungere queste righe:</p>
<p><code><br />
root: mario<br />
mario: nomeutente@caselladipostaesterna.it<br />
</code></p>
<p>poi da root avvisiamo postfix del nuovo cambiamento<br />
<code>postaliases /etc/aliases<br />
/etc/init.d/postfix restart<br />
</code></p>
<p>ora dovrebbe funzionare, non posso provare del tutto la correttezza dell&#8217;howto perchÃ¨ ho un FQD ( fully qualified domain) , ditemi se c&#8217;Ã¨ qualcosa che non va.<br />
Per testare basta mandare da comando una cosa del genere &#8221; il &#8220;.&#8221; (punto) Ã¨ il comando che indica la fine del messaggio</p>
<p><code> mail postmaster<br />
Subject: test mta a postmaster<br />
questo  un test<br />
.<br />
Cc:<br />
</code></p>
<p>se il messaggio viene spedito correttamente le ultime righe del log (/var/log/mail.log) dovrebbero essere queste:</p>
<p><code>May 17 14:56:27 caldaia postfix/pickup[31816]: DBB42D5477: uid=0 from=<root><br />
May 17 14:56:27 caldaia postfix/cleanup[848]: DBB42D5477: message-id=&lt;20070517125627.DBB42D5477@caldaia.homelinux.net><br />
May 17 14:56:28 caldaia postfix/qmgr[24365]: DBB42D5477: from=</root><root @caldaia.homelinux.net>, size=508, nrcpt=1 (queue active)<br />
May 17 14:56:28 caldaia postfix/cleanup[848]: 0D006D5474: message-id=&lt;20070517125627.DBB42D5477@caldaia.homelinux.net><br />
May 17 14:56:28 caldaia postfix/qmgr[24365]: 0D006D5474: from=</root><root @caldaia.homelinux.net>, size=652, nrcpt=1 (queue active)<br />
May 17 14:56:28 caldaia postfix/local[851]: DBB42D5477: to=</root><root @caldaia.homelinux.net>, orig_to=</root><root>, relay=local, delay=0.33, delays=0.23/0/0/0.09, dsn=2.0.0, status=sent (forwarded as 0D006D5474)<br />
May 17 14:56:28 caldaia postfix/qmgr[24365]: DBB42D5477: removed<br />
May 17 14:56:30 caldaia postfix/smtp[852]: 0D006D5474: to=<io @lucagasperini.com>, orig_to=<root>, relay=lucagasperini.com[74.220.202.37]:25, delay=2.2, delays=0.09/0/1.2/0.89, dsn=2.0.0, status=sent (250 OK id=1HofWv-0000x0-JE)<br />
May 17 14:56:30 caldaia postfix/qmgr[24365]: 0D006D5474: removed<br />
</root></io></root></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-ubuntu-debian-etch-e-le-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 4.0 out</title>
		<link>http://www.lucagasperini.com/blog/2007-debian-40-out/</link>
		<comments>http://www.lucagasperini.com/blog/2007-debian-40-out/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 12:19:15 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-debian-40-out/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago Etch <a href="2006-etch-in-freezer"> was freezed</a> now it has been officially released as <a href="http://www.debian.org/News/2007/20070408">Debian 4.0</a></p>
<p><a href="http://www.debian.org/releases/etch/releasenotes">These are the release notes</a> and among the new changes I found:</p>
<ul>
<li>PHP5.x</li>
<li>MySQL 5.x</li>
<li>Apache 2.2.x</li>
<li>GCC v4.1</li>
<li>from XFree86 to X.org v7.1</li>
</ul>
<p><strong>Updating</strong></p>
<p>Fist of all install aptitude<br />
<code>apt-get install aptitude</code></p>
<p>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 &#8220;sarge&#8221; to &#8220;etch&#8221; in /etc/apt/sources.list, mine look like this</p>
<p><code><br />
deb ftp://mirror.switch.ch/mirror/debian/ etch main contrib non-free<br />
#deb http://www.backports.org/debian sarge-backports main contrib non-free<br />
deb http://security.debian.org/ stable/updates main contrib non-free<br />
deb-src http://http.us.debian.org/debian stable main contrib non-free<br />
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free<br />
# TOR<br />
deb     http://mirror.noreply.org/pub/tor etch main<br />
deb-src http://mirror.noreply.org/pub/tor etch main<br />
</code></p>
<p>the &#8220;www.backports&#8221; line is comments out because etch hit stable just today. Backports are binaries compiled for etch and shipped for sarge, sometime you can&#8217;t install a package because it misses a dependency but you can run it because it doesn&#8217;t miss any dependency while it runs, hence that backports that let me use the latest mldonkey with sarge for example.</p>
<p>Then</p>
<p><code><br />
apt-get update<br />
aptitude -f --with-recommends dist-upgrade</code></p>
<p>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.<br />
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.</p>
<p>2 cents about gentoo : I love gentoo and I have no intention to change my desktop distro &#8230;but debian management is damn faster&#8230; 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.<br />
<strong><br />
Edit:</strong> Squid and Shorewall have new configurations:</p>
<ul>
<li>Squid: ( ola ola <a href="http://www.christianschenk.org/blog/transparent-proxy-with-squid/">Christian</a> )delete these lines<code>httpd_accel_host virtual<br />
httpd_accel_port 80<br />
httpd_accel_with_proxy on<br />
httpd_accel_uses_host_header on</code> and add this <code>always_direct allow all</code>.Now look for http_port X.X.X.X  and add &#8220;transparent&#8221; the result should be something like this:<code>http_port 192.168.1.2:8080 transparent<br />
</code>
</li>
<li>Shorewall: have a look at /usr/share/doc/shorewall/examples . Now the file &#8220;zones&#8221; must contain the firewall zone, there are no comments and no display any more so in the end you should find something like this:<code>net     ipv4<br />
loc     ipv4<br />
fw      firewall<br />
</code><br />
ipv4 is the default for normail traffic
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-debian-40-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tor e Privoxy su Debian Sarge</title>
		<link>http://www.lucagasperini.com/blog/2007-tor-e-privoxy-su-debian-sarge/</link>
		<comments>http://www.lucagasperini.com/blog/2007-tor-e-privoxy-su-debian-sarge/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 20:16:17 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[net]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-tor-e-privoxy-su-debian-sarge/</guid>
		<description><![CDATA[Io navigo sempre dietro ad un proxy per migliorare l&#8217;efficienza della rete ( Squid ) e non per motivi di anonimato. Avevo un oretta libera ed ho provato tor. TOR Ã¨ il diminutivo di The Onion Routing , un gruppo di server sparsi per il mondo che hanno il compito di proteggere i dati e [...]]]></description>
			<content:encoded><![CDATA[<p>Io navigo sempre dietro ad un proxy per migliorare l&#8217;efficienza della rete ( Squid ) e non per motivi di anonimato. Avevo un oretta libera ed ho provato tor. <a href="http://tor.eff.org/" target="_blank">TOR</a> Ã¨ il diminutivo di The Onion Routing , un gruppo di server sparsi per il mondo che hanno il compito di proteggere i dati e le comunicazioni personali degli utenti.In parole povere serve a non mostrare il proprio ip ma quello di uno dei computer Onion Router.</p>
<p>Da solo serve a poco o a nulla , c&#8217;Ã¨ bisogno di un proxy anonimo vero con cui Tor puo collaborare , nel caso ho scelto <a href="http://www.privoxy.org/">Privoxy</a> ( ma potevo scegliere il polipo). Con questo setup privoxy Ã¨ il proxy che anonimizza la connessione ( non mostra dati sulle pagine precedentemente visitate e riferimenti di vario tipo) e si appoggia a tor per &#8220;anonimizzare&#8221; l&#8217;ip.</p>
<p><span id="more-356"></span></p>
<p><strong>Installazione</strong></p>
<p>Tor non Ã¨ presente in Sarge ma ci sono dei depositi ufficiali da aggiungere ad /etc/apt/sources.list</p>
<p><code>deb     http://mirror.noreply.org/pub/tor sarge main<br />
deb-src http://mirror.noreply.org/pub/tor sarge main</code></p>
<p>L&#8217;installazione e la configurazione sono semplicissime:<br />
<code>apt-get update<br />
apt-get install tor privoxy<br />
echo "forward-socks4a / localhost:9050 ."  >>/etc/privoxy/config<br />
invoke-rc.d privoxy restart<br />
</code></p>
<p>finita e che non mi vengano a dire che [tag]Linux[/tag] Ã¨ difficile&#8230;</p>
<p><strong>Configurazione del client</strong></p>
<p>Ora bisogna dire al browser di usare un proxy , in firefox Edit &#8212;&gt; Preferenze &#8211;&gt; Avanzate &#8212;&gt; Network &#8212;&gt;Connection</p>
<p>il risultato dovrÃ  essere una cosa di questo tipo</p>
<p><img src="http://www.lucagasperini.com/blog/wp-content/uploads/2007/02/proxy-privoxy1.jpg" alt="proxy-privoxy" /></p>
<p>Per testare basta andare all&#8217;inidirizzo <a href="http://www.whatismyip.org/" target="_blank">http://www.whatismyip.org/</a></p>
<p>L&#8217;ip Ã¨ diverso da quello che compare senza privoxy? Allora funziona</p>
<p><strong>Consigli </strong></p>
<ul>
<li>usare un <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=https%3A%2F%2Faddons.mozilla.org%2Ffirefox%2F125%2F&amp;ei=5xXWRfzlOY6G0QSNzuDnBg&amp;usg=__yErQHiq5lmLf1-kFCmtS9X6ICqA=&amp;sig2=K6lNTMtjcv5QRh2lQa7L4w">addon di firefox</a> per abilitare/disabilitare l&#8217;utilizzo del proxy</li>
<li>usare privoxy solo quando serve perchÃ¨ ogni tanto dire chÃ¨ Ã¨ lento Ã¨ troppo poco</li>
<li><strong>NON</strong> usare Tor per P2P , Ã¨ da idioti</li>
<li>non si puo usare proxy cache non anonimi (tipo Squid) assieme a tor/privoxy</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-tor-e-privoxy-su-debian-sarge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

