<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Stuff Jos van der Woude cares about - Geeky stuff</title>
    <link>https://www.veerkade.com/blog/</link>
    <description>A Blog about Art, Cinema, History, Photography, Technology and Travel</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.4.0 - http://www.s9y.org/</generator>
    <pubDate>Fri, 21 Sep 2012 19:24:07 GMT</pubDate>

    <image>
    <url>https://www.veerkade.com/blog/templates/veerkade/img/s9y_banner_small.png</url>
    <title>RSS: Stuff Jos van der Woude cares about - Geeky stuff - A Blog about Art, Cinema, History, Photography, Technology and Travel</title>
    <link>https://www.veerkade.com/blog/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Backup DHCP and DNS services in a home network</title>
    <link>https://www.veerkade.com/blog/archives/9-Backup-DHCP-and-DNS-services-in-a-home-network.html</link>
            <category>Geeky stuff</category>
    
    <comments>https://www.veerkade.com/blog/archives/9-Backup-DHCP-and-DNS-services-in-a-home-network.html#comments</comments>
    <wfw:comment>https://www.veerkade.com/blog/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>https://www.veerkade.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Jos van der Woude)</author>
    <content:encoded>
    &lt;h2&gt;Summary&lt;/h2&gt;&lt;br /&gt;&lt;em&gt;Goal:&lt;/em&gt; Create both primary and (backup) secondary DHCP and DNS services in a small home network.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Needed:&lt;/em&gt; one Linux server, one Windows machine and one DHCP capable router with a telnet interface.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Assumption:&lt;/em&gt; some programming experience.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Contra indication:&lt;/em&gt; not necessary when two Linux servers are available.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Alternative option:&lt;/em&gt; Dual DHCP DNS server, &lt;a href=&quot;http://sourceforge.net/projects/dhcp-dns-server/files/&quot;&gt;sourceforge.net/projects/dhcp-dns-server/files/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Note:&lt;/em&gt; IP addresses, domain names, user names and passwords used here, do not reflect the actual setup.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h2&gt;Overview&lt;/h2&gt;&lt;br /&gt;My home network consists of one server running Linux, a number of wired clients running on Microsoft or Apple operating systems and an seemingly ever growing number of wireless clients running on a variety of platforms. The network infrastructure consists of a managed switch, a dual WAN router with wireless AP, a separate second wireless AP, a cable modem and a ADSL modem. The server is running both ISC DHCPD and ISC Bind providing crucial DHCP and DNS service to clients in the network. &lt;br /&gt;&lt;br /&gt;The goal is to design the network in such a way that when the server is down (for whatever reason) Internet service to known clients is not interrupted. Specifically, known clients are still able to receive DHCP leases and resolve private domain names to IP addresses and vice versa. Obviously other services the server may provide, e.g. smb shares, are interrupted.&lt;br /&gt;&lt;br /&gt;To achieve the stated goal it is necessary to have secondary DHCP and DNS services in case the primary services on the Linux server fail. Figure 1 outlines the design.&lt;br /&gt;&lt;br /&gt;&lt;img width=&quot;500&quot; vspace=&quot;10&quot; hspace=&quot;10&quot; height=&quot;325&quot; align=&quot;left&quot; src=&quot;https://www.veerkade.com/blog/uploads/2012/dhcp-dns_article.jpg&quot; title=&quot;DHCP and DNS services and their backups&quot; class=&quot;serendipity_image_left&quot; /&gt;&lt;br /&gt;Figure 1 DHCP and DNS services and their backups&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;/dhcp-dns&quot;&gt;Read whole article for the details of the setup&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sun, 25 Mar 2012 09:21:59 +0000</pubDate>
    <guid isPermaLink="false">https://www.veerkade.com/blog/archives/9-guid.html</guid>
    <category>geeky stuff</category>

</item>
<item>
    <title>Installing The Link Layer Topology Discovery (LLTD) Protocol Responder For Linux</title>
    <link>https://www.veerkade.com/blog/archives/36-Installing-The-Link-Layer-Topology-Discovery-LLTD-Protocol-Responder-For-Linux.html</link>
            <category>Geeky stuff</category>
    
    <comments>https://www.veerkade.com/blog/archives/36-Installing-The-Link-Layer-Topology-Discovery-LLTD-Protocol-Responder-For-Linux.html#comments</comments>
    <wfw:comment>https://www.veerkade.com/blog/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>https://www.veerkade.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Jos van der Woude)</author>
    <content:encoded>
    How to make your Linux server appear on the Windows Vista/7 network map like in the picture below.&lt;br /&gt;&lt;br /&gt;&lt;img width=&quot;624&quot; height=&quot;522&quot; class=&quot;serendipity_image_center&quot; title=&quot;Windows Vista/7 network map&quot; src=&quot;https://www.veerkade.com/blog/uploads/2011/map.jpg&quot; /&gt;&lt;br /&gt;&lt;br /&gt;It is easy to find info on the net on how to install the lld2d responder on a linux server. However, if the Microsoft provided Sample Code is used as is, your linux box is represented as a wireless AP/switch on the map. This is so because in the sample code information is encoded that defines the machine as a wireless AP/switch. You must change this to reflect the fact that your linux box is wired and not a multifunction switch/bridge. This is not hard to do, see the instructions below. For the details you have to read the protocol specification at: &lt;a href=&quot;http://msdn.microsoft.com/en-us/windows/hardware/gg463061&quot;&gt;Link Layer Topology Discovery Protocol&lt;/a&gt;. Not to worry, this is only for the die-hards ...&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
&lt;h1&gt;Instructions&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Get the &lt;a href=&quot;http://msdn.microsoft.com/en-us/windows/hardware/gg463094&quot;&gt;Rally-LLTD-PortingKit.exe&lt;/a&gt;. Unpack and copy folder to a suitable directory on your Linux server. cd to the Sample Code directory&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Add the line: #include &amp;lt;limits.h&amp;gt; to src/state.c just after the line #include &amp;lt;assert.h&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Edit the file src/osl-linux.c . Make all TLV get-functions relating to wireless/multifunction devices return a simple constant: TLV_GET_FAILED. The functions you must edit are those with the numbers: 5,6,8,9,A,D,14,15,19 and 1A. Do not touch any of the other functions. THIS IS THE CRUCIAL STEP.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; cd to the native-linux directory and run make. Install the resulting executable lld2d to /usr/sbin&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt; Use an icon editor to make a Windows 48x48 pixel icon of your choice. I have used tux, obviously. Copy this *.ico file to /etc on your server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6.&lt;/strong&gt; Edit lld2d.conf to set proper path and name for your own icon&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7.&lt;/strong&gt; Copy lld2d.conf to /etc also&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8.&lt;/strong&gt; Run /usr/sbin/lld2d eth0. If necessary replace eth0 with your own ethernet device&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9.&lt;/strong&gt; Optionally create an &lt;a href=&quot;http://www.howtoforge.com/installing-the-lltd-protocol-responder-for-linux-on-debian-lenny&quot;&gt;init script&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10.&lt;/strong&gt; Generate a new network map in Windows 7/Vista and watch the results in awe ...&lt;br /&gt;&lt;br /&gt;Have fun! 
    </content:encoded>

    <pubDate>Thu, 25 Aug 2011 09:17:31 +0000</pubDate>
    <guid isPermaLink="false">https://www.veerkade.com/blog/archives/36-guid.html</guid>
    <category>geeky stuff</category>

</item>

</channel>
</rss>
