<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ubuntu on cat /dev/snapshot</title><link>https://rumpf.eu/michael/tags/ubuntu/</link><description>Recent content in Ubuntu on cat /dev/snapshot</description><generator>Hugo -- 0.154.5</generator><language>en</language><lastBuildDate>Sat, 03 Mar 2012 22:50:00 +0100</lastBuildDate><atom:link href="https://rumpf.eu/michael/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Wake On LAN</title><link>https://rumpf.eu/michael/posts/2012-03-03-wake-on-lan/</link><pubDate>Sat, 03 Mar 2012 22:50:00 +0100</pubDate><guid>https://rumpf.eu/michael/posts/2012-03-03-wake-on-lan/</guid><description>&lt;p&gt;Under Ubuntu I chose the following way to activate wake on LAN on the eth0 device:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;# Install ethtool
sudo apt-get install ethtool
# Create init script to set the wol bit on the device
sudo vi /etc/init.d/wakeonlan
#!/bin/sh
ethtool -s eth0 wol g
exit
# Make the script executable
sudo chmod a+x /etc/init.d/wakeonlan
# Create the init links
sudo update-rc.d wakeonlan defaults
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Under Debian the following approach has been chosen:&lt;/p&gt;</description></item><item><title>GUPNP: Failed to get SCPD: Cannot resolve hostname ((null))</title><link>https://rumpf.eu/michael/posts/2011-06-05-gupnp-failed-to-get-scpd-cannot-resolve_05/</link><pubDate>Sun, 05 Jun 2011 18:23:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-05-gupnp-failed-to-get-scpd-cannot-resolve_05/</guid><description>&lt;p&gt;The following message occurs when the &lt;code&gt;&amp;lt;urlbase&amp;gt;&amp;lt;/urlbase&amp;gt;&lt;/code&gt; tag of the root device description is empty when trying to autoconnect actions:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;** (process:25888): WARNING **: Failed to get SCPD: Cannot resolve hostname ((null))
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Changing it to &lt;strong&gt;http://localhost&lt;/strong&gt; fixes the issue.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34;?&amp;gt;
&amp;lt;root xmlns=&amp;#34;urn:schemas-upnp-org:device-1-0&amp;#34;&amp;gt;
  &amp;lt;specVersion&amp;gt;
    &amp;lt;major&amp;gt;1&amp;lt;/major&amp;gt;
    &amp;lt;minor&amp;gt;0&amp;lt;/minor&amp;gt;
  &amp;lt;/specVersion&amp;gt;
&amp;lt;URLBase&amp;gt;http://localhost&amp;lt;/URLBase&amp;gt;
  &amp;lt;device&amp;gt;
    &amp;lt;!-- ... --&amp;gt;
  &amp;lt;/device&amp;gt;
&amp;lt;/root&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The message is a bit misleading. I was first trying to find an issue with my DNS configuration.&lt;/p&gt;</description></item><item><title>Compiling GUPnP on Ubuntu 11.04</title><link>https://rumpf.eu/michael/posts/2011-06-03-compiling-gupnp-on-ubuntu-1104/</link><pubDate>Fri, 03 Jun 2011 15:55:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-03-compiling-gupnp-on-ubuntu-1104/</guid><description>&lt;p&gt;Because the &lt;a href="http://gupnp.org/"&gt;GUPnP&lt;/a&gt; stack is lacking some documentation I describe my experiences with getting it complied under Ubuntu 11.04. &lt;br&gt;
The commands will setup an environment that does not interfere with the Ubuntu provided packages, which are older than the ones compiled here. The library files will be installed under the location:
~/workspaces/openwrt/upnp&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Download:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;mkdir -p ~/workspaces/openwrt/upnp
cd ~/workspaces/openwrt/upnp
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.11.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-0.16.1.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.10.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-tools-0.8.3.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-dlna-0.6.1.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-av-0.8.0.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gssdp-0.10.0.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-vala-0.8.0.tar.gz | tar xvfz -
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>