Wake On LAN

Under Ubuntu I chose the following way to activate wake on LAN on the eth0 device: # 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 Under Debian the following approach has been chosen: ...

March 3, 2012 · 1 min · Michael Rumpf

GUPNP: Failed to get SCPD: Cannot resolve hostname ((null))

The following message occurs when the <urlbase></urlbase> tag of the root device description is empty when trying to autoconnect actions: ** (process:25888): WARNING **: Failed to get SCPD: Cannot resolve hostname ((null)) Changing it to http://localhost fixes the issue. <?xml version="1.0"?> <root xmlns="urn:schemas-upnp-org:device-1-0"> <specVersion> <major>1</major> <minor>0</minor> </specVersion> <URLBase>http://localhost</URLBase> <device> <!-- ... --> </device> </root> The message is a bit misleading. I was first trying to find an issue with my DNS configuration.

June 5, 2011 · 1 min · Michael Rumpf

Compiling GUPnP on Ubuntu 11.04

Because the GUPnP stack is lacking some documentation I describe my experiences with getting it complied under Ubuntu 11.04. 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 Download: 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 - Prerequisites: ...

June 3, 2011 · 2 min · Michael Rumpf