<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Diogo Gomes</title><link>https://diogogomes.com/tags/linux/</link><description>Recent content in Linux on Diogo Gomes</description><generator>Hugo</generator><language>en</language><copyright>{year}</copyright><lastBuildDate>Fri, 13 Jul 2012 16:35:26 +0000</lastBuildDate><atom:link href="https://diogogomes.com/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating a KVM virtual machine using debootstrap</title><link>https://diogogomes.com/2012/07/13/debootstrap-kvm-image/</link><pubDate>Fri, 13 Jul 2012 16:35:26 +0000</pubDate><guid>https://diogogomes.com/2012/07/13/debootstrap-kvm-image/</guid><description>&lt;p&gt;How to create a Debian virtual machine outside a virtualization environment.&lt;/p&gt;
&lt;p&gt;The challenge here proposed is to create a virtual machine inside a remote server and boot it up using KVM. Sure I could have used VNC and go through all the setup steps of the Debian install disk running inside the virtual machine, but that would have taken ages and would be virtually impossible to automate.&lt;/p&gt;
&lt;p&gt;Therefore the next steps detail how to install Debian using debootstrap on a qcow2 image disk and how to successfully boot the debian install using kvm (I&amp;rsquo;m assuming here your kvm environment is already properly setup).&lt;/p&gt;</description></item><item><title>Linux kernel 2.6.38.4 for the Iomega iConnect</title><link>https://diogogomes.com/2011/05/02/iconnect-linux-2-6-38/</link><pubDate>Mon, 02 May 2011 11:21:31 +0000</pubDate><guid>https://diogogomes.com/2011/05/02/iconnect-linux-2-6-38/</guid><description>&lt;p&gt;After a long &lt;a href="https://diogogomes.com/2011/01/31/binary-kernel-iconnect-rc1"&gt;hiatus&lt;/a&gt;, I&amp;rsquo;m back with the latest version of the linux kernel (2.6.38.4) for the iomega iconnect.&lt;/p&gt;
&lt;p&gt;This new kernel brings several improvements to the previous ones, since it improves support for Marvell&amp;rsquo;s Kirkwood platform (on which iConnect is built upon) and finally includes in the main kernel the wireless driver for the RaLink RT3090 Wireless 802.11n 1T/1R PCIe which is built in the iConnect.&lt;/p&gt;
&lt;p&gt;Without further due, here are the files:&lt;/p&gt;</description></item><item><title>Binary Kernel and Modules for the Iomega iConnect running Linux Debian</title><link>https://diogogomes.com/2011/01/31/binary-kernel-iconnect-rc1/</link><pubDate>Mon, 31 Jan 2011 11:21:31 +0000</pubDate><guid>https://diogogomes.com/2011/01/31/binary-kernel-iconnect-rc1/</guid><description>&lt;p&gt;In the last months after I&amp;rsquo;ve published an howto on &lt;a href="https://diogogomes.com/2010/12/23/custom-kerne-iconnect/trackback/"&gt;how to customize the Linux kernel for the Iomega iConnect&lt;/a&gt;, I&amp;rsquo;ve been getting lots of comments from people who would like to have a go at installing it, but which are not proficient Linux users.&lt;/p&gt;
&lt;p&gt;In order to assist those situations, I&amp;rsquo;m hereby making it available binary versions of Linux 2.6.37 configured for the Iomega iConnect, as well as the source code used to compile those binaries.&lt;/p&gt;</description></item><item><title>Customizing a Kernel for the Iomega iConnect</title><link>https://diogogomes.com/2010/12/23/custom-kerne-iconnect/</link><pubDate>Thu, 23 Dec 2010 17:41:16 +0000</pubDate><guid>https://diogogomes.com/2010/12/23/custom-kerne-iconnect/</guid><description>&lt;p&gt;If you have followed my &lt;a href="https://diogogomes.com/2010/11/14/debian-install-iconnect/"&gt;previous post&lt;/a&gt; on how to install Debian to the Iomega iConnect Wireless Data Station you have been dying to read this follow-up post on how to take you iConnect to the next level by customizing the kernel and finally controlling the buttons and leds in the device (not to mention making use of the wireless card).&lt;/p&gt;
&lt;h4&gt;Setting up a cross-compile environment&lt;/h4&gt;
&lt;p&gt;First thing you need is to setup an environment in which you will cross compile the kernel and everything else that needs to go into the iConnect. Don't take me wrong here, the iConnect is a great device and all, but it just can't compete with your state of the art laptop/workstation ;)&lt;/p&gt;</description></item><item><title>Installing Debian on a Iomega iConnect Wireless Data Station</title><link>https://diogogomes.com/2010/11/14/debian-install-iconnect/</link><pubDate>Sun, 14 Nov 2010 17:35:26 +0000</pubDate><guid>https://diogogomes.com/2010/11/14/debian-install-iconnect/</guid><description>&lt;p&gt;Installing Debian on a Iomega iConnect Wireless Data Station is not that difficult but will unavoidably void your warranty. You will need to rip apart the device in order to access the console port.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Requirements:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Access to the Serial Console through a USB to serial interface such as the &lt;a href="http://uk.farnell.com/ftdi/ttl-232r-3v3-we/cable-usb-ttl-ser-conv-wire-end/dp/1740365?Ntt=ttl-232R-3v3-we"&gt;FTDI - TTL-232R-3V3-WE&lt;/a&gt; (some soldering required)&lt;/li&gt;
	&lt;li&gt;USB harddisk or stick (harddisk is advisable since stick tend to wear off)&lt;/li&gt;
	&lt;li&gt;Ethernet Connection for debian installation - &lt;strong&gt;Important!!! you MUST use Gigabit Ethernet!!!&lt;/strong&gt; due to a bug in the Debian Install Kernel&lt;/li&gt;
	&lt;li&gt;Linux Host in order to setup the kernel&lt;/li&gt;
&lt;/ul&gt;
First step is to rip apart the iConnect and reach the serial port as depicted &lt;a href="http://doip.org/iconnect_console"&gt;here&lt;/a&gt;.
&lt;p&gt;After connecting your host to the iconnect through the usb serial adapter you should be getting a prompt:&lt;/p&gt;</description></item><item><title>Bypassing a restrictive Firewall using SSH</title><link>https://diogogomes.com/2009/02/20/bypassing-a-restrictive-firewall-using-ssh/</link><pubDate>Fri, 20 Feb 2009 14:52:19 +0000</pubDate><guid>https://diogogomes.com/2009/02/20/bypassing-a-restrictive-firewall-using-ssh/</guid><description>&lt;p&gt;If you are faced with a restrictive firewall implemented by your local admin. But luckily enough to have access to a SSH server! You can use the following tip:&lt;/p&gt;
&lt;p&gt;A &lt;a href="http://en.wikipedia.org/wiki/SOCKS"&gt;SOCKS&lt;/a&gt; proxy can easily be setup using SSH, in a terminal type:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ssh -D 8080 -Nf your.sshserver.com&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then just change your Browser/Application settings to point towards &lt;em&gt;localhost&lt;/em&gt; port &lt;em&gt;8080&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://diogogomes.com/images/2009/02/picture-2.png"&gt;&lt;img class="aligncenter size-medium wp-image-236" title="ProxyConf" src="https://diogogomes.com/images/2009/02/picture-2-300x241.png" alt="ProxyConf" width="300" height="241" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>GLUA Tech Sessions</title><link>https://diogogomes.com/2008/10/21/glua-tech-sessions/</link><pubDate>Tue, 21 Oct 2008 21:51:05 +0100</pubDate><guid>https://diogogomes.com/2008/10/21/glua-tech-sessions/</guid><description>&lt;p&gt;O &lt;a href="http://glua.ua.pt"&gt;GLUA&lt;/a&gt; organiza no próximo dia 8 de Novembro um evento técnico que visa reunir em Aveiro utilizadores e entusiastas do sistema operativo Linux e do Software Open Source.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://glua.ua.pt/TechSessions"&gt;&lt;img src="https://diogogomes.com/images/2008/10/banner_tech-300x95.png" alt="GLUA TechSessions" title="glua_tech_sessions_08" width="300" height="95" class="size-medium wp-image-158" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Este evento conta com a presença de algumas pessoas que desenvolvem em Portugal (e não só) Software Open Source e que neste evento irão partilhar um pouco da sua experiência.
A entrada é livre mas sujeita a inscrições pelo que devem consultar o &lt;a href="http://glua.ua.pt/TechSessions"&gt;site do evento&lt;/a&gt;&lt;/p&gt;</description></item><item><title>DebianDayPT2008</title><link>https://diogogomes.com/2008/07/24/debiandaypt2008/</link><pubDate>Thu, 24 Jul 2008 09:48:26 +0100</pubDate><guid>https://diogogomes.com/2008/07/24/debiandaypt2008/</guid><description>&lt;p&gt;Nunca é de mais relembrar a realização do &lt;a href="http://debianday.debianpt.org/"&gt;DebianDayPT2008&lt;/a&gt; que se realiza já no próximo dia 16 de Agosto (para os mais distraídos é daqui a menos de um mês) na &lt;a href="http://www.ua.pt"&gt;Universidade de Aveiro&lt;/a&gt; e conta com a colaboração do &lt;a href="http://glua.ua.pt"&gt;GLUA&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;O Encontro é feito de entusiastas Debian mas não só uma vez que está aberto a comunidade em geral.&lt;/p&gt;
&lt;p&gt;É ainda de referir que este evento marca o 15º aniversário desta distribuição do GNU/Linux.&lt;/p&gt;</description></item><item><title>Top 10</title><link>https://diogogomes.com/2008/04/11/top-10/</link><pubDate>Fri, 11 Apr 2008 22:31:13 +0100</pubDate><guid>https://diogogomes.com/2008/04/11/top-10/</guid><description>&lt;p&gt;Answering Alfredo&amp;rsquo;s &lt;a href="http://www.digitalself.org/2008/04/10/top-ten/"&gt;challenge&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;My MacBook:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ history|awk &lt;span style="color:#e6db74"&gt;&amp;#39;{a[$2]++ } END{for(i in a){print a[i] &amp;#34; &amp;#34; i}}&amp;#39;&lt;/span&gt;|sort -rn|head
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;148&lt;/span&gt; ssh
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;63&lt;/span&gt; ls
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;50&lt;/span&gt; cd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;29&lt;/span&gt; ping
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;28&lt;/span&gt; sudo
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;23&lt;/span&gt; traceroute
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;21&lt;/span&gt; scp
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;17&lt;/span&gt; vi
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;17&lt;/span&gt; ifconfig
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;15&lt;/span&gt; route
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;My Linux Workstation:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ history|awk &lt;span style="color:#e6db74"&gt;&amp;#39;{a[$2]++ } END{for(i in a){print a[i] &amp;#34; &amp;#34; i}}&amp;#39;&lt;/span&gt;|sort -rn|head
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;111&lt;/span&gt; vi
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;67&lt;/span&gt; make
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;66&lt;/span&gt; cd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;61&lt;/span&gt; svn
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;54&lt;/span&gt; ls
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;39&lt;/span&gt; sudo
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;22&lt;/span&gt; pwd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;10&lt;/span&gt; man
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;8&lt;/span&gt; grep
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;7&lt;/span&gt; more
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>