X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/38c4da4ccda0c3058526a0af7c2dd3d6ab771f09..95fe715340dda8e1cd69212f7505f8400481883a:/blog/index.rss?ds=inline diff --git a/blog/index.rss b/blog/index.rss index ebbb9bec91..98b79460f2 100644 --- a/blog/index.rss +++ b/blog/index.rss @@ -6,6 +6,40 @@ http://people.skolelinux.org/pere/blog/ + + Sitesummary tip: Listing MAC address of all clients + http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html + http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html + Fri, 14 May 2010 21:10:00 +0200 + +<p>In the recent Debian Edu versions, the +<a href="http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">sitesummary +system</a> is used to keep track of the machines in the school +network. Each machine will automatically report its status to the +central server after boot and once per night. The network setup is +also reported, and using this information it is possible to get the +MAC address of all network interfaces in the machines. This is useful +to update the DHCP configuration.</p> + +<p>To give some idea how to use sitesummary, here is a one-liner to +ist all MAC addresses of all machines reporting to sitesummary. Run +this on the collector host:</p> + +<blockquote><pre> +perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });' +</pre></blockquote> + +<p>This will list all MAC addresses assosiated with all machine, one +line per machine and with space between the MAC addresses.</p> + +<p>To allow system administrators easier job at adding static DHCP +addresses for hosts, it would be possible to extend this to fetch +machine information from sitesummary and update the DHCP and DNS +tables in LDAP using this information. Such tool is unfortunately not +written yet.</p> + + + systemd, an interesting alternative to upstart http://people.skolelinux.org/pere/blog/systemd__an_interesting_alternative_to_upstart.html @@ -396,28 +430,5 @@ der</a> for å se hva de har. - - Debian Edu / Skolelinux based on Lenny released, work continues - http://people.skolelinux.org/pere/blog/Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html - http://people.skolelinux.org/pere/blog/Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html - Thu, 11 Feb 2010 17:15:00 +0100 - -<p>On Tuesday, the Debian/Lenny based version of -<a href="http://www.skolelinux.org/">Skolelinux</a> was finally -shipped. This was a major leap forward for the project, and I am very -pleased that we finally got the release wrapped up. Work on the first -point release starts imediately, as we plan to get that one out a -month after the major release, to include all fixes for bugs we found -and fixed too late in the release process to include last Tuesday.</p> - -<p>Perhaps it even is time for some partying?</p> - -<p>After this first point release, my plan is to focus again on the -next major release, based on Squeeze. We will try to get as many of -the fixes we need into the official Debian packages before the freeze, -and have just a few weeks or months to make it happen.</p> - - -