]> pere.pagekite.me Git - homepage.git/blobdiff - blog/tags/english/english.rss
Generated.
[homepage.git] / blog / tags / english / english.rss
index 86a9325a29d2d2666e8912718e496828c60ef60d..e7eb11f564c3763d260bdc76ba312ae198e6dfac 100644 (file)
@@ -6,6 +6,192 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
 
        
+       <item>
+               <title>Freedombox on Dreamplug, Raspberry Pi and virtual x86 machine</title>
+               <link>http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</guid>
+                <pubDate>Fri, 14 Mar 2014 11:00:00 +0100</pubDate>
+               <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;Freedombox
+project&lt;/a&gt; is working on providing the software and hardware for
+making it easy for non-technical people to host their data and
+communication at home, and being able to communicate with their
+friends and family encrypted and away from prying eyes.  It has been
+going on for a while, and is slowly progressing towards a new test
+release (0.2).&lt;/p&gt;
+
+&lt;p&gt;And what day could be better than the Pi day to announce that the
+new version will provide &quot;hard drive&quot; / SD card / USB stick images for
+Dreamplug, Raspberry Pi and VirtualBox (or any other virtualization
+system), and can also be installed using a Debian installer preseed
+file.  The Debian based Freedombox is now based on Debian Jessie,
+where most of the needed packages used are already present.  Only one,
+the freedombox-setup package, is missing.  To try to build your own
+boot image to test the current status, fetch the freedom-maker scripts
+and build using
+&lt;a href=&quot;http://packages.qa.debian.org/vmdebootstrap&quot;&gt;vmdebootstrap&lt;/a&gt;
+with a user with sudo access to become root:
+
+&lt;pre&gt;
+git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
+  freedom-maker
+sudo apt-get install git vmdebootstrap mercurial python-docutils \
+  mktorrent extlinux virtualbox qemu-user-static binfmt-support \
+  u-boot-tools
+make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
+&lt;/pre&gt;
+
+&lt;p&gt;Root access is needed to run debootstrap and mount loopback
+devices.  See the README for more details on the build. If you do not
+want all three images, trim the make line.  But note that thanks to &lt;a
+href=&quot;https://bugs.debian.org/741407&quot;&gt;a race condition in
+vmdebootstrap&lt;/a&gt;, the build might fail without the patch to the
+kpartx call.&lt;/p&gt;
+
+&lt;p&gt;If you instead want to install using a Debian CD and the preseed
+method, boot a Debian Wheezy ISO and use this boot argument to load
+the preseed values:&lt;/p&gt;
+
+&lt;pre&gt;
+url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&lt;/a&gt;
+&lt;/pre&gt;
+
+&lt;p&gt;But note that due to &lt;a href=&quot;https://bugs.debian.org/740673&quot;&gt;a
+recently introduced bug in apt in Jessie&lt;/a&gt;, the installer will
+currently hang while setting up APT sources.  Killing the
+&#39;&lt;tt&gt;apt-cdrom ident&lt;/tt&gt;&#39; process when it hang a few times during the
+installation will get the installation going.  This affect all
+installations in Jessie, and I expect it will be fixed soon.&lt;/p&gt;
+
+Give it a go and let us know how it goes on the mailing list, and help
+us get the new release published. :) Please join us on
+&lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC (#freedombox on
+irc.debian.org)&lt;/a&gt; and
+&lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
+mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>How to add extra storage servers in Debian Edu / Skolelinux</title>
+               <link>http://people.skolelinux.org/pere/blog/How_to_add_extra_storage_servers_in_Debian_Edu___Skolelinux.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_add_extra_storage_servers_in_Debian_Edu___Skolelinux.html</guid>
+                <pubDate>Wed, 12 Mar 2014 12:50:00 +0100</pubDate>
+               <description>&lt;p&gt;On larger sites, it is useful to use a dedicated storage server for
+storing user home directories and data.  The design for handling this
+in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;, is
+to update the automount rules in LDAP and let the automount daemon on
+the clients take care of the rest.  I was reminded about the need to
+document this better when one of the customers of
+&lt;a href=&quot;http://www.slxdrift.no/&quot;&gt;Skolelinux Drift AS&lt;/a&gt;, where I am
+on the board of directors, asked about how to do this.  The steps to
+get this working are the following:&lt;/p&gt;
+
+&lt;p&gt;&lt;ol&gt;
+
+&lt;li&gt;Add new storage server in DNS.  I use nas-server.intern as the
+example host here.&lt;/li&gt;
+
+&lt;li&gt;Add automoun LDAP information about this server in LDAP, to allow
+all clients to automatically mount it on reqeust.&lt;/li&gt;
+
+&lt;li&gt;Add the relevant entries in tjener.intern:/etc/fstab, because
+tjener.intern do not use automount to avoid mounting loops.&lt;/li&gt;
+
+&lt;/ol&gt;&lt;/p&gt;
+
+&lt;p&gt;DNS entries are added in GOsa², and not described here.  Follow the
+&lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/GettingStarted&quot;&gt;instructions
+in the manual&lt;/a&gt; (Machine Management with GOsa² in section Getting
+started).&lt;/p&gt;
+
+&lt;p&gt;Ensure that the NFS export points on the server are exported to the
+relevant subnets or machines:&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+root@tjener:~# showmount -e nas-server
+Export list for nas-server:
+/storage         10.0.0.0/8
+root@tjener:~#
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+
+&lt;p&gt;Here everything on the backbone network is granted access to the
+/storage export.  With NFSv3 it is slightly better to limit it to
+netgroup membership or single IP addresses to have some limits on the
+NFS access.&lt;/p&gt;
+
+&lt;p&gt;The next step is to update LDAP.  This can not be done using GOsa²,
+because it lack a module for automount.  Instead, use ldapvi and add
+the required LDAP objects using an editor.&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+ldapvi --ldap-conf -ZD &#39;(cn=admin)&#39; -b ou=automount,dc=skole,dc=skolelinux,dc=no
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+
+&lt;p&gt;When the editor show up, add the following LDAP objects at the
+bottom of the document.  The &quot;/&amp;&quot; part in the last LDAP object is a
+wild card matching everything the nas-server exports, removing the
+need to list individual mount points in LDAP.&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+add cn=nas-server,ou=auto.skole,ou=automount,dc=skole,dc=skolelinux,dc=no
+objectClass: automount
+cn: nas-server
+automountInformation: -fstype=autofs --timeout=60 ldap:ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
+
+add ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
+objectClass: top
+objectClass: automountMap
+ou: auto.nas-server
+
+add cn=/,ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
+objectClass: automount
+cn: /
+automountInformation: -fstype=nfs,tcp,rsize=32768,wsize=32768,rw,intr,hard,nodev,nosuid,noatime nas-server.intern:/&amp;
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+
+&lt;p&gt;The last step to remember is to mount the relevant mount points in
+tjener.intern by adding them to /etc/fstab, creating the mount
+directories using mkdir and running &quot;mount -a&quot; to mount them.&lt;/p&gt;
+
+&lt;p&gt;When this is done, your users should be able to access the files on
+the storage server directly by just visiting the
+/tjener/nas-server/storage/ directory using any application on any
+workstation, LTSP client or LTSP server.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>New home and release 1.0 for netgroup and innetgr (aka ng-utils)</title>
+               <link>http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html</guid>
+                <pubDate>Sat, 22 Feb 2014 21:45:00 +0100</pubDate>
+               <description>&lt;p&gt;Many years ago, I wrote a GPL licensed version of the netgroup and
+innetgr tools, because I needed them in
+&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux&lt;/a&gt;.  I called the project
+ng-utils, and it has served me well.  I placed the project under the
+&lt;a href=&quot;http://www.hungry.com/&quot;&gt;Hungry Programmer&lt;/a&gt; umbrella, and it was maintained in our CVS
+repository.  But many years ago, the CVS repository was dropped (lost,
+not migrated to new hardware, not sure), and the project have lacked a
+proper home since then.&lt;/p&gt;
+
+&lt;p&gt;Last summer, I had a look at the package and made a new release
+fixing a irritating crash bug, but was unable to store the changes in
+a proper source control system.  I applied for a project on
+&lt;a href=&quot;https://alioth.debian.org/&quot;&gt;Alioth&lt;/a&gt;, but did not have time
+to follow up on it.  Until today. :)&lt;/p&gt;
+
+&lt;p&gt;After many hours of cleaning and migration, the ng-utils project
+now have a new home, and a git repository with the highlight of the
+history of the project.  I published all release tarballs and imported
+them into the git repository.  As the project is really stable and not
+expected to gain new features any time soon, I decided to make a new
+release and call it 1.0.  Visit the new project home on
+&lt;a href=&quot;https://alioth.debian.org/projects/ng-utils/&quot;&gt;https://alioth.debian.org/projects/ng-utils/&lt;/a&gt;
+if you want to check it out.  The new version is also uploaded into
+&lt;a href=&quot;http://packages.qa.debian.org/n/ng-utils.html&quot;&gt;Debian Unstable&lt;/a&gt;.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Testing sysvinit from experimental in Debian Hurd</title>
                <link>http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html</link>
@@ -29,10 +215,10 @@ commands as root to get the machine to accept a IP address from the
 kvm internal DHCP server:&lt;/p&gt;
 
 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
-settrans -fgap /dev/netdde /hurd/netdde 
-kill -9 $(ps -ef|awk &#39;/[p]finet/ { print $2}&#39;)
-kill -9 $(ps -ef|awk &#39;/[d]evnode/ { print $2}&#39;)
-dhclient -v /dev/eth0
+settrans -fgap /dev/netdde /hurd/netdde
+kill $(ps -ef|awk &#39;/[p]finet/ { print $2}&#39;)
+kill $(ps -ef|awk &#39;/[d]evnode/ { print $2}&#39;)
+dhclient /dev/eth0
 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
 
 &lt;p&gt;After this, the machine had internet connectivity, and I could
@@ -55,7 +241,7 @@ EOF
 apt-get update
 apt-get dist-upgrade
 apt-get install -t experimental initscripts sysv-rc sysvinit \
-    sysvinit-core sysvinit-utils 
+    sysvinit-core sysvinit-utils
 update-alternatives --config runsystem
 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;