<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Infrastructure &amp; Networking on Pablo Seminario</title><link>https://seminar.io/categories/infrastructure--networking/</link><description>Recent content in Infrastructure &amp; Networking on Pablo Seminario</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 23 Apr 2016 21:35:00 +0000</lastBuildDate><atom:link href="https://seminar.io/categories/infrastructure--networking/index.xml" rel="self" type="application/rss+xml"/><item><title>Notes about Android and IPsec on Linux</title><link>https://seminar.io/posts/notes-about-android-and-ipsec-on-linux/</link><pubDate>Sat, 23 Apr 2016 21:35:00 +0000</pubDate><guid>https://seminar.io/posts/notes-about-android-and-ipsec-on-linux/</guid><description>&lt;p&gt;Here&amp;rsquo;s some personal notes about the excellent Jeff Sharkey&amp;rsquo;s article &lt;a href="http://jsharkey.org/blog/2012/09/22/deploying-a-pure-ipsec-pki-vpn-server-for-android-devices/"&gt;Deploying a pure-IPsec PKI VPN server for Android devices&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;My setup is a little bit different to that of Jeff, I have a 1Gbps fiber plan, a Linux server natted behind my ISP&amp;rsquo;s router and my IPsec VPN server is running on a Linux container (LXC), so this container doesn&amp;rsquo;t have a public IP address. The OS used in all the servers is Ubuntu Trusty 14.04.&#10;On the VPN client side I&amp;rsquo;m using Android 6.0 Mashmallow.&lt;/p&gt;</description></item><item><title>DNS resolution for LXC in Ubuntu 14.04</title><link>https://seminar.io/posts/dns-resolution-for-lxc-in-ubuntu-trusty/</link><pubDate>Sun, 27 Jul 2014 15:28:00 +0000</pubDate><guid>https://seminar.io/posts/dns-resolution-for-lxc-in-ubuntu-trusty/</guid><description>&lt;p&gt;Working with &lt;a href="https://linuxcontainers.org/"&gt;LXC&lt;/a&gt; (Linux containers) in Ubuntu&#10;is very easy but by default you need to know the IP address of new containers&#10;to connect to services (ssh, database, webserver, etc.) running on them.&lt;/p&gt;&#10;&lt;p&gt;With some minor configuration you can connect to your containers using a domain&#10;name like that&lt;/p&gt;&#10;&#10;&#10;&#10;&#10;&lt;div class="code-block code-block--term"&gt;&#10; &lt;div class="code-block__bar"&gt;&#10; &lt;span&gt;terminal&lt;/span&gt;&#10; &lt;span&gt;bash&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ sudo lxc-create --name container1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ sudo lxc-start --name container1 --daemon&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ ssh ubuntu@container1.lxc&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;In Ubuntu 14.04 Trusty Tahr, &lt;code&gt;lxc-create&lt;/code&gt; use by default the Ubuntu template&#10;and it will create a user called &lt;code&gt;ubuntu&lt;/code&gt;, to change it take a look at the&#10;template options with &lt;code&gt;lxc-create -t ubuntu -h&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>World IPv6 day</title><link>https://seminar.io/posts/world-ipv6-day/</link><pubDate>Wed, 06 Jun 2012 21:53:00 +0000</pubDate><guid>https://seminar.io/posts/world-ipv6-day/</guid><description>&lt;p&gt;To celebrate the &lt;a href="http://www.worldipv6launch.org/"&gt;world IPv6 day&lt;/a&gt;&#10;I decided to activate IPv6 on this blog.&#10;Now you can visit my site with native IPv6 connectivity.&lt;/p&gt;&#10;&lt;p&gt;If you want to know more about IPv6 you can start reading this&#10;&lt;a href="http://www.google.com/intl/en/ipv6/"&gt;overview&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Installing Solr on Debian 6.0</title><link>https://seminar.io/posts/installing-solr-on-debian-6-0/</link><pubDate>Tue, 22 Feb 2011 19:29:00 +0000</pubDate><guid>https://seminar.io/posts/installing-solr-on-debian-6-0/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; this is an old blog post, Solr is now included in Debian since 7.0, it can be installed through apt-get by calling &lt;code&gt;apt-get install solr-tomcat&lt;/code&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Recently I&amp;rsquo;ve been working on a Django project that uses the&#10;&lt;a href="http://haystacksearch.org/"&gt;Haystack&lt;/a&gt; search API and the&#10;&lt;a href="http://lucene.apache.org/solr/"&gt;Solr&lt;/a&gt; search engine to perform full text&#10;searching on indexed data.&lt;/p&gt;&#10;&lt;p&gt;This project was initially deployed on a Debian 5.0 (Lenny) server with some&#10;issues with Tomcat, but using the latest stable release of Debian (code named&#10;&lt;a href="http://www.debian.org/releases/squeeze/"&gt;Squeeze&lt;/a&gt;) install Tomcat 6 and Solr is&#10;very easy.&lt;/p&gt;</description></item><item><title>ext4 support in Ubuntu Intrepid 8.10</title><link>https://seminar.io/posts/ext4-support-in-ubuntu-intrepid-8-10/</link><pubDate>Wed, 01 Jul 2009 01:34:00 +0000</pubDate><guid>https://seminar.io/posts/ext4-support-in-ubuntu-intrepid-8-10/</guid><description>&lt;p&gt;This is just a simple tip to use ext4 filesystems in Ubuntu Intrepid Ibex 8.10.&#10;On Ubuntu Jaunty ext4 filesystems is fully supported but in Intrepid was on development.&#10;To use it we must load the module &lt;code&gt;ext4dev&lt;/code&gt;&lt;/p&gt;&#10;&#10;&#10;&#10;&#10;&lt;div class="code-block code-block--term"&gt;&#10; &lt;div class="code-block__bar"&gt;&#10; &lt;span&gt;terminal&lt;/span&gt;&#10; &lt;span&gt;bash&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo modprobe ext4dev&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;to check the filesystems supported by the kernel we can do&lt;/p&gt;&#10;&#10;&#10;&#10;&#10;&lt;div class="code-block code-block--term"&gt;&#10; &lt;div class="code-block__bar"&gt;&#10; &lt;span&gt;terminal&lt;/span&gt;&#10; &lt;span&gt;bash&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cat /proc/filesystems&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;there should be a line with &lt;code&gt;ext4dev&lt;/code&gt;.&#10;Now, if we try to mount a formatted partition as ext4, we will see that it&amp;rsquo;s not possible&lt;/p&gt;</description></item><item><title>Instalando una TDM400P sobre Etch</title><link>https://seminar.io/posts/instalando-una-tdm400p-sobre-etch/</link><pubDate>Wed, 22 Nov 2006 12:23:00 +0000</pubDate><guid>https://seminar.io/posts/instalando-una-tdm400p-sobre-etch/</guid><description>&lt;h3 id="introducción"&gt;Introducción&lt;/h3&gt;&#10;&lt;p&gt;Para que &lt;a href="http://www.asterisk.org/"&gt;Asterisk&lt;/a&gt; pueda hacer uso de la red telefónica conmutada (PSTN) es necesario contar con una interfaz, la misma la proveen los módulos de hardware FXS o FXO, que permiten la interconexión directamente a teléfonos o a las líneas telefónicas. En mi caso tengo una TDM400P que tiene integrados dos módulos FXO y dos módulos FXS. Todo esto lo haremos funcionar sobre un Debian GNU/Linux Etch con kernel 2.6.17.&lt;/p&gt;</description></item></channel></rss>