<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-80168360663649604</atom:id><lastBuildDate>Mon, 20 Feb 2012 08:45:39 +0000</lastBuildDate><category>audio</category><category>virtualbox</category><category>weld</category><category>osgi</category><category>java</category><category>keepass</category><category>openwrt</category><category>dropbox</category><category>upnp</category><category>maven</category><category>ssh</category><category>ubuntu</category><category>gupnp</category><title>cat /dev/snapshot</title><description /><link>http://dev-snapshot.blogspot.com/</link><managingEditor>noreply@blogger.com (Michael Rumpf)</managingEditor><generator>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/cat/dev/snapshot" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="cat/dev/snapshot" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-7383062932439110271</guid><pubDate>Sat, 31 Dec 2011 15:36:00 +0000</pubDate><atom:updated>2012-01-02T09:56:40.954+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">weld</category><category domain="http://www.blogger.com/atom/ns#">osgi</category><category domain="http://www.blogger.com/atom/ns#">maven</category><title>Deploying weld-osgi to jcoderz.org repository</title><description>For deploying weld-osgi to the jcoderz.org repository the following modifications to the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pom.xml&lt;/span&gt; files are necessary (after applying the wagon-ssh extensions to the your Maven installation, see previous post):&lt;br /&gt;
&lt;br /&gt;
1. Deploy the WELD API packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;git clone -b WELD-963 http://github.com/mathieuancelin/api.git WELD-963&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;cd WELD-963&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;vi pom.xml&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;# Add the following XMl fragment to the maven-deploy-plugin&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;build&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;plugins&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;plugin&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;maven-deploy-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;skip&amp;gt;true&amp;lt;/skip&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependencies&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.wagon&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;wagon-ssh&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;2.2&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependencies&amp;gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/plugin&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/plugins&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/build&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn -e clean install &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;-Dmaven.test.skip=true&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;mvn
 -e deploy 
-DaltDeploymentRepository=jcoderz-snapshots::default::scp://jcoderz.org/var/www/repos/maven2-snapshot/
 -Dmaven.test.skip=true&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd ..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
2. Deploy the WELD OSGi packages&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;git clone -b weld-osgi http://github.com/mathieuancelin/core.git weld-osgi&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;cd weld-osgi&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;vi &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;pom.xml &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: xx-small;"&gt; &lt;span style="font-size: x-small;"&gt;# Add the following XML into the &amp;lt;build&amp;gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;plugins&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: x-small;"&gt; tag section&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;plugin&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;maven-deploy-plugin&amp;lt;/artifactId&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependencies&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.wagon&amp;lt;/groupId&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;wagon-ssh&amp;lt;/artifactId&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;2.2&amp;lt;/version&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependencies&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/plugin&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn -e clean install &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;-Dmaven.test.skip=true&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;mvn
 -e deploy 
-DaltDeploymentRepository=jcoderz-snapshots::default::scp://jcoderz.org/var/www/repos/maven2-snapshot/
 -Dmaven.test.skip=true&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;cd environments/osgi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;# Deploy weld-osgi-parent pom.xml to the repository (Is there a way to include the parent pom.xml in the previous run?)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;mvn
 -e -N deploy 
-DaltDeploymentRepository=jcoderz-snapshots::default::scp://jcoderz.org/var/www/repos/maven2-snapshot/
 -Dmaven.test.skip=true&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
With those deployments the repository is prepared to compile the m3server project...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-7383062932439110271?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/12/for-deploying-weld-osgi-to-jcoderz.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-3363517613385088476</guid><pubDate>Sat, 31 Dec 2011 15:08:00 +0000</pubDate><atom:updated>2012-01-01T09:44:34.977+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">ssh</category><category domain="http://www.blogger.com/atom/ns#">maven</category><title>Maven 3: SSH deployment to foreign repository</title><description>&lt;br /&gt;
Using the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;maven-deploy-plugin&lt;/span&gt; to deploy artifacts to a repository that is not the original target repository of a project is getting complicated with Maven 3 when the wagon SSH provider is not part of the Maven distribution.&lt;br /&gt;
&lt;br /&gt;
The following JAR files must be added to the Maven distribution into the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;lib/ext&lt;/span&gt; extension folder:&lt;br /&gt;
&lt;ul style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;jsch-0.1.44-1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;plexus-utils-3.0.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;plexus-interactivity-api-1.0-alpha-6.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;wagon-ssh-2.2.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;wagon-ssh-external-2.2.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;wagon-ssh-common-2.2.jar&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
Then the parent &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pom.xml&lt;/span&gt; of the project must be extended by the&amp;nbsp; following lines:&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;build&gt;&lt;/build&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;build&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;lt;plugins&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;plugin&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupid&amp;gt;org.apache.maven.plugins&amp;lt;/groupid&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactid&amp;gt;maven-deploy-plugin&amp;lt;/artifactid&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dependencies&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dependency&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupid&amp;gt;org.apache.maven.wagon&amp;lt;/groupid&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactid&amp;gt;wagon-ssh&amp;lt;/artifactid&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;2.2&amp;lt;/version&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/dependencies&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/plugin&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; &amp;lt;/plugins&amp;gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;      &amp;lt;/build&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;settings.xml&lt;/span&gt; contains the user credentials and looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;  

&amp;lt;servers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;server&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;id&amp;gt;myrepo-snapshots&amp;lt;/id&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;username&amp;gt;username&amp;lt;/username&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;privatekey&amp;gt;${user.home}/.ssh/id_rsa&amp;lt;/privatekey&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;passphrase&amp;gt;key-passphrase&amp;lt;/passphrase&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filepermissions&amp;gt;666&amp;lt;/filepermissions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;directorypermissions&amp;gt;777&amp;lt;/directorypermissions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/server&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/servers&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; 

&lt;/span&gt;&lt;/pre&gt;
Then the deploy phase can be executed like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn deploy -DaltDeploymentRepository=myrepo-snapshots::default::scp://host:port/var/www/repos/maven2-snapshot/&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-3363517613385088476?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/12/maven-3-ssh-deploy-to-foreign.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-6858830863491161727</guid><pubDate>Tue, 06 Dec 2011 22:11:00 +0000</pubDate><atom:updated>2011-12-07T00:09:43.831+01:00</atom:updated><title>Building weld-osgi</title><description>In case you want to use &lt;a href="http://seamframework.org/Weld"&gt;Weld&lt;/a&gt; inside your OSGi application you first need to compile a few branches on your own:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/mathieuancelin/api/tree/WELD-963"&gt;WELD-963&lt;/a&gt; branch of the weld/api project &lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/mathieuancelin/core/tree/weld-osgi"&gt;weld-osgi&lt;/a&gt; branch from the weld/core project&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Those branches will soon be merged into the official Weld codebase. But in the meantime you need to follow the steps below in order to get the packages compiled.&lt;br /&gt;
A prerequisite is that git and Maven 3 is available &lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;git clone -b WELD-963 http://github.com/mathieuancelin/api.git WELD-963&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;cd WELD-963&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn clean install&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;cd ..&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;git clone -b weld-osgi http://github.com/mathieuancelin/core.git weld-osgi&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;cd weld-osgi&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn clean install -Dmaven.test.skip=true&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;find . -name "weld-osgi-core*SNAPSHOT.jar" -exec cp {} . \;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: inherit;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: inherit;"&gt;
The last command above copies the following files into your current directory:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;weld-osgi-core-api-1.1.5-SNAPSHOT.jar&lt;/li&gt;
&lt;li&gt;weld-osgi-core-extension-1.1.5-SNAPSHOT.jar&lt;/li&gt;
&lt;li&gt;weld-osgi-core-integration-1.1.5-SNAPSHOT.jar&lt;/li&gt;
&lt;li&gt;weld-osgi-core-mandatory-1.1.5-SNAPSHOT.jar&lt;/li&gt;
&lt;li&gt;weld-osgi-core-spi-1.1.5-SNAPSHOT.jar&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="font-family: inherit;"&gt;
You can now deploy those packages into your local repository so that they can be used in your own project's pom.xml.&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;mvn deploy:deploy-file -DgroupId=org.jboss.weld.osgi \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                       -DartifactId=weld-osgi-core-api \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                       -Dversion=1.1.5-SNAPSHOT \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                       -Dpackaging=jar \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                       -Dfile=weld-osgi-core-api-1.1.5-SNAPSHOT.jar&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;mvn install:install-file -DgroupId=org.jboss.weld.osgi  \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -DartifactId=weld-osgi-core-extension  \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dversion=1.1.5-SNAPSHOT \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dpackaging=jar \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dfile=weld-osgi-core-extension-1.1.5-SNAPSHOT.jar
mvn install:install-file -DgroupId=org.jboss.weld.osgi  \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -DartifactId=weld-osgi-core-integration  \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dversion=1.1.5-SNAPSHOT \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dpackaging=jar \&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: bash; title: ; notranslate" style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" title=""&gt;&lt;span style="font-size: x-small;"&gt;                         -Dfile=weld-osgi-core-integration-1.1.5-SNAPSHOT.jar&lt;/span&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn install:install-file -DgroupId=org.jboss.weld.osgi&amp;nbsp; \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -DartifactId=weld-osgi-core-mandatory&amp;nbsp; \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dversion=1.1.5-SNAPSHOT \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dpackaging=jar \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dfile=weld-osgi-core-mandatory-1.1.5-SNAPSHOT.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;mvn install:install-file -DgroupId=org.jboss.weld.osgi&amp;nbsp; \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -DartifactId=weld-osgi-core-spi&amp;nbsp; \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dversion=1.1.5-SNAPSHOT \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dpackaging=jar \&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dfile=weld-osgi-core-spi-1.1.5-SNAPSHOT.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
The pom.xml of your assembly package might look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.jboss.weld.osgi&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;weld-osgi-core-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;1.1.5-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;runtime&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.jboss.weld.osgi&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;weld-osgi-core-extension&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;1.1.5-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;runtime&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.jboss.weld.osgi&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;weld-osgi-core-integration&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;1.1.5-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;runtime&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.jboss.weld.osgi&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;weld-osgi-core-mandatory&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;1.1.5-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;runtime&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.jboss.weld.osgi&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;weld-osgi-core-spi&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;1.1.5-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;runtime&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-6858830863491161727?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/12/building-weld-osgi.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-2757859677681897195</guid><pubDate>Fri, 19 Aug 2011 23:45:00 +0000</pubDate><atom:updated>2011-08-20T01:56:41.357+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>m3player version 0.1.3 released</title><description>&lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3player version 0.1.3&lt;/a&gt; has the following new features:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;m3player can be run as a daemon with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-d&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--daemonise&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The name of the UPnP Media Renderer can be configured by &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-n&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--name&lt;/span&gt;. This is done by copying the XML files from /usr/share/m3player to /var/lib/m3player and filtering place-holders in some of the files. &lt;/li&gt;
&lt;li&gt;The version of the MediaRenderer device can be configured by &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-r&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--root&lt;/span&gt;. The default is &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;MediaRendererV2.xml&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: inherit;"&gt;The UPnP server can be bound to a network interface, specified by &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-i&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--interface&lt;/span&gt;. Example: &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;eth0&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;The help output shows an overview of all the parameters available:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$ ./m3player -h&lt;br /&gt;
Usage:&lt;br /&gt;
&amp;nbsp; m3player [OPTION...]&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Help Options:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -h, --help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Show help options&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Application Options:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -c, --config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Path to the config file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: /etc/m3player/m3player.ini)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -p, --pid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Path to the pid file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: /var/run/m3player.pid)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -s, --xmlsource&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Path to the XML source folder&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: /usr/share/m3player)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -t, --xmltarget&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Path to the XML target folder&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: /var/lib/m3player)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -n, --name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The name of the player instance&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: HOSTNAME)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -r, --root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The name of the root device file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: MediaRendererV2.xml)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -l, --log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The name of the log file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Default: /var/log/m3player.log)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -i, --interface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The name of the interface the process&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is bound to (e.g. eth0)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp; -d, --daemonise&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fork the player as daemon&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-2757859677681897195?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/08/m3player-version-013-released.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-7942773626519283194</guid><pubDate>Thu, 11 Aug 2011 19:29:00 +0000</pubDate><atom:updated>2011-08-12T09:28:53.793+02:00</atom:updated><title>Turning m3player into a daemon</title><description>As most of the public HOWTOs seem to be either incomplete or a bit outdated and because I have no copy of the book &lt;a href="http://www.amazon.com/Programming-Environment-Addison-Wesley-Professional-Computing/dp/0201563177"&gt;Advanced Programming in the UNIX Environment&lt;/a&gt;, I was happy to find the following microHOWTOs:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microhowto.info/howto/cause_a_process_to_become_a_daemon.html"&gt;Cause a process to become a daemon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microhowto.info/howto/cause_a_process_to_become_a_daemon_in_c.html"&gt;Cause a process to become a daemon in c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;By following the steps, described there I was able to turn &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3player&lt;/a&gt; into a daemon. The daemon behavior can be turned on by passing the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-d&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--daemon&lt;/span&gt; switches to the command line. When the daemon switch is specified, all output (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;stdout&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;stderr&lt;/span&gt;) gets redirected into the log file at the default location &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/var/log/m3player.log&lt;/span&gt; or to the location, specified by the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-l&lt;/span&gt; or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--logfile&lt;/span&gt; switch.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-7942773626519283194?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/08/turning-m3player-into-daemon.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-8140233438173603395</guid><pubDate>Sun, 31 Jul 2011 23:22:00 +0000</pubDate><atom:updated>2011-08-01T01:33:36.523+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>m3player version 0.1.2 released</title><description>I just released version 0.1.2 of &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3player&lt;/a&gt;. The new version includes:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Compilation and packaging for OpenWRT&lt;/li&gt;
&lt;li&gt;Installation of the ipkg package on the TL-WR1043ND device&lt;/li&gt;
&lt;li&gt;Support for command-line parameters:&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;config - Path to the config file (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/m3player/m3player.ini&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;pidfile - Location of the PID file (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/var/run/m3player.pid&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;xmlfolder - Location of the descriptor XML files (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/share/m3player&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;name - Set the name of the player instance (Hostname or m3player)&lt;/li&gt;
&lt;li&gt;filename - The name of the root device file (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;MediaRenderedV1.xml&lt;/span&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Support for an INI file (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/m3player/m3player.ini&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;Fixes to the GStreamer pipeline to work in the stripped down OpenWRT environment with only a few plugins &lt;/li&gt;
&lt;/ul&gt;When launching the &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3player&lt;/a&gt; it starts playing the first entry from the preset list.&lt;br /&gt;
&lt;br /&gt;
The next version will include support for preset switching via the QSS button.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-8140233438173603395?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/08/m3player-version-012-released.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-9217706134517399241</guid><pubDate>Sun, 31 Jul 2011 21:48:00 +0000</pubDate><atom:updated>2011-08-09T10:37:43.302+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Building a TP-Link TL-WR1043ND OpenWRT 10.03 image for MP3 audio playback</title><description>This article gives a step-by-step description on how to get the &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3ddity-player&lt;/a&gt; working on the TP-Link TL-WR1043ND device, using the stable version of OpenWRT 10.03 (backfire). &lt;br /&gt;
&lt;br /&gt;
First you need to checkout the OpenWRT 10.03 (backfire) branch:&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;svn co svn://svn.openwrt.org/openwrt/branches/backfire&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd backfire &lt;/div&gt;&lt;br /&gt;
Then the feed for the &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3ddity-player&lt;/a&gt; must be added:&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cp feeds.conf.default feeds.conf&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo "src-svn jcoderz http://www.jcoderz.org/svn/m3dditiez/branches/openwrt-10.3/packages" &amp;gt;&amp;gt; feeds.conf&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;./scripts/feeds update ./scripts/feeds install -a  &lt;/div&gt;&lt;br /&gt;
Now run menuconfig and select the necessary modules:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;make menuconfig&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
The following list shows only menuconfig entries where settings have been changed. Settings not shown here are left untouched.&lt;br /&gt;
&lt;br /&gt;
Target System (Atheros AR71xx/AR7240/AR913x)&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; Target Profile (TP-Link TL-WR1043ND v1)&lt;br /&gt;
&lt;br /&gt;
Global build settings ---&amp;gt;&lt;br /&gt;
&amp;nbsp; [*] Remove ipkg/opkg status/data files in final images&lt;br /&gt;
&amp;nbsp; [ ] Enable ipv6 support in packages&lt;br /&gt;
&lt;br /&gt;
[*] Build the OpenWRT based toolchain&lt;br /&gt;
[*] Image configuration ---&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;192.168.0.5) &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;LAN DNS server&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;192.168.0.5) &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;LAN Gateway&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;(255.255.255.0) LAN Network Mask&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;192.168.0.111&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;) LAN IP Address&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; &lt;br /&gt;
Base system&lt;br /&gt;
&amp;nbsp; &amp;lt;*&amp;gt; block-mount&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; dnsmasq&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; firewall&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Kernel Modules&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Filesystems&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-fs-ext3 (for USB drive)&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-nls-utf8&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Other modules&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;lt;*&amp;gt; kmod-ledtrig-netdev&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Sound Support&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-sound-core&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; USB Support&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-core&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt;&amp;nbsp;&amp;nbsp; kmod-usb-audio&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-ohci&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-storage (for USB drive)&lt;br /&gt;
&lt;br /&gt;
Network&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; ppp&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; iptables&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Time Synchronization&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;lt;*&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; ntpdate&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; Multimedia&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-alsa&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-mad&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-souphttpsrc&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gstreamer&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; m3ddity-player (only with &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/openwrt-packages"&gt;jCoderZ.org&lt;/a&gt; modules) &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Utilities&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; alsa-utils (for alsamixer/alsactl)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;After the configuration step is completed, the image can be compiled with the following command:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;make&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
The next steps assume that the router is already running a stable version of OpenWRT (flashed initially via the original vendor UI). If that is the case you can now connect to the router by running:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;telnet 192.168.0.111 # The IP configured during menuconfig&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now copy the new image to a location on the router with enough space, for example a USB stick (/dev/sda1): &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mkdir /mnt/usb&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mount -t ext2 /dev/sda1 /mnt/usb&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; cd /mnt/usb&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;scp USERNAME@HOST:HOME/backfire/bin/ar71xx/openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now drop the caches:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then reflash the image with the following command:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mtd -r write openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin firmware&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The router will reboot and you can connect again after reboot:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;telnet 192.168.0.111&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Replace the USB stick with the USB audio device and run the m3ddity-player with the following command:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;m3player&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now you should hear a sound as the m3player starts playing one of its presets from the config file /etc/m3player/m3player.ini.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-9217706134517399241?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/building-tp-link-tl-wr1043nd-openwrt.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-659908601942599654</guid><pubDate>Sun, 24 Jul 2011 22:44:00 +0000</pubDate><atom:updated>2011-07-25T07:31:58.329+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Music player fully integrated into the OpenWRT build process</title><description>The &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;m3ddity-player&lt;/a&gt; and the GUPnP libraries, on which the player depends upon, can now easily be build for OpenWRT, just follow the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Checkout the trunk version of OpenWRT&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;svn co svn://svn.openwrt.org/openwrt/trunk&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;cd trunk&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
2. Add the &lt;a href="http://www.jcoderz.org/m3dditiez/"&gt;jCoderZ&lt;/a&gt; package repository to the list of feeds&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;cp feeds.conf.default feeds.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;echo "src-svn jcoderz " \&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "http://www.jcoderz.org/svn/m3dditiez/trunk/" \&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "openwrt/packages" &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&amp;gt;&amp;gt; feeds.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;./scripts/feeds update&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;./scripts/feeds install -a&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. Run menuconfig and select the packages as described &lt;a href="http://dev-snapshot.blogspot.com/2011/07/building-openwrt-image-optimized-for.html"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
make menuconfig&lt;/div&gt;&lt;br /&gt;
4. Additionally select the package Multimedia/m3ddity-player. This automatically selects the necessary GUPnP libraries.&lt;br /&gt;
&lt;br /&gt;
5. Finally, you can build the image&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
make -j 5&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;But be warned, the trunk version of OpenWRT might be broken and flashing the image might result in a bricked device that can only be restored via the serial console. For the TL-WR1043ND, this even involves soldering! &lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-659908601942599654?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/music-player-fully-integrated-into.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-1029235620529050360</guid><pubDate>Sun, 24 Jul 2011 11:31:00 +0000</pubDate><atom:updated>2011-07-24T13:31:42.365+02:00</atom:updated><title>jCoderZ.org</title><description>The OpenWRT music player, which I have blogged about recently, has found a&amp;nbsp; home at &lt;a href="http://www.jcoderz.org/m3dditiez/"&gt;http://www.jcoderz.org/m3dditiez/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-1029235620529050360?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/jcoderzorg.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-8928152157089007017</guid><pubDate>Tue, 19 Jul 2011 18:21:00 +0000</pubDate><atom:updated>2011-08-12T00:03:45.323+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Quest for a USB audio device part 2...</title><description>&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif; line-height: 18px;"&gt;The new audio devices arrived but unfortunately they show the same glitches as the devices I tested &lt;a href="http://dev-snapshot.blogspot.com/2011/07/seeking-cheap-usb-audio-device-that.html"&gt;before&lt;/a&gt;:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;1.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://www.logilink.eu/showproduct/UA0053.htm"&gt;USB Soundkarte mit Virtual 3D Soundeffekt LogiLink®&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;This device is also based on the chipset &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Tenx Technology, Inc. TP6911 Audio Headset&lt;/span&gt; and has the same issues as the previous device (USB Sound Audio), i.e. the output is far too loud.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;2.&amp;nbsp;&lt;a href="http://www.logilink.eu/showproduct/UA0078.htm"&gt;USB Soundkarte mit Virtual 7.1 Soundeffekt LogiLink®&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;The sound is good but as with the previous device a clicking noise is heard during reboot, power-off, power-on, plug-in/out. The chipset is&amp;nbsp;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;C-Media Electronics, Inc. Audio Adapter&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;So both adapters use the same chipsets and show the same issues. It seems as if there are not too many different cheap USB audio devices on the market, just rebranded stuff from the same manufacturer.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;... to be continued!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-8928152157089007017?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/quest-for-usb-audio-device-part-2.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-5658636499521421669</guid><pubDate>Wed, 13 Jul 2011 20:48:00 +0000</pubDate><atom:updated>2011-07-17T18:57:19.731+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Seeking a cheap USB audio device that works with the TP-Link TL-WR1043ND under OpenWRT</title><description>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;I'm seeking for a USB audio device that works with&amp;nbsp;the TP-Link TL-WR1043ND under OpenWRT. Until now I tried 2 different devices with unacceptable issues.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;1.&amp;nbsp;&lt;/span&gt;USB Sound Audio (Amazon)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/-qWqnVo0dbP8/Th4AOAsdarI/AAAAAAAAElw/m7Hwk4flU3U/s1600/TP6911.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-qWqnVo0dbP8/Th4AOAsdarI/AAAAAAAAElw/m7Hwk4flU3U/s200/TP6911.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The device gets detected under Linux as &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Tenx Technology, Inc. TP6911 Audio Headset&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;. The following warnings are reported by&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dmesg&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; when connecting the device:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: x-small; line-height: 18px;"&gt;usb_audio: Warning! Unlikely big volume range (=13568), cval-&amp;gt;res is probably wrong.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;usb_audio: [2] FU [PCM Playback Volume] ch = 2, val = 2560/16128/1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;usb_audio: Warning! Unlikely big volume range (=6096), cval-&amp;gt;res is probably wrong.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 0/6096/1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The issue with this device is that the volume level is so high that it cannot be controlled. Between mute and&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;10% the output sounds distorted. At 20% the volume level is at its maximum, with no audible change between 20% and 100%.&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;2. auvisio Visual Sound Technologies (pearl.de)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://1.bp.blogspot.com/-7uen3q5pdPQ/Th4AVGQtxQI/AAAAAAAAEl0/vizbd1NDDCU/s1600/auvisio-virtual-7-1-usb.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="166" src="http://1.bp.blogspot.com/-7uen3q5pdPQ/Th4AVGQtxQI/AAAAAAAAEl0/vizbd1NDDCU/s200/auvisio-virtual-7-1-usb.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; line-height: 18px;"&gt;The device gets detected as&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;C-Media Electronics, Inc. Audio Adapter&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; line-height: 18px;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;The issue with the device is that a very loud clicking sound gets played when the OpenWRT router starts-up or during shutdown/power-off. The sound is quite loud and it will be very annoying when using the router as a music-player.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;b&gt;Next&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;Both devices are unsuitable for using them with the router. The next try will be with the following devices...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: #1e2515; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;a href="http://www.logilink.eu/showproduct/UA0078.htm"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; font-weight: bold;"&gt;USB Soundkarte mit Virtual 7.1 Soundeffekt LogiLink®&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #1e2515; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"&gt;&lt;a href="http://www.logilink.eu/showproduct/UA0053.htm"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; font-weight: bold;"&gt;USB Soundkarte mit Virtual 3D Soundeffekt LogiLink®&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-5658636499521421669?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/seeking-cheap-usb-audio-device-that.html</link><author>noreply@blogger.com (Michael Rumpf)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-qWqnVo0dbP8/Th4AOAsdarI/AAAAAAAAElw/m7Hwk4flU3U/s72-c/TP6911.jpg" height="72" width="72" /><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-2209399897671280754</guid><pubDate>Wed, 13 Jul 2011 19:36:00 +0000</pubDate><atom:updated>2011-07-17T18:32:26.194+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Make ALSA settings persistent on OpenWRT</title><description>The command-line tool &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alsamixer&lt;/span&gt; can be used to control the volume of the USB audio output:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-EHJmq1aKXrI/Th3tP-sqcLI/AAAAAAAAEls/SGdLN4yRHo4/s1600/alsamixer.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="212" src="http://2.bp.blogspot.com/-EHJmq1aKXrI/Th3tP-sqcLI/AAAAAAAAEls/SGdLN4yRHo4/s320/alsamixer.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Unfortunately the setting does not survive a reboot. Another tool from the alsa-utils package can be used for this purpose: &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alsactl&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
After setting the volume with &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alsamixer&lt;/span&gt;, the following command persists the current setting in the file-system for device 0:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alsactl -f /etc/alsa/alsa0.state store 0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
During startup, the state must be restored again. This can be achieved by adding the following command to &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/rc.local&lt;/span&gt;:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alsactl -f /etc/alsa/alsa0.state restore 0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-2209399897671280754?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/make-alsa-settings-persistent-on.html</link><author>noreply@blogger.com (Michael Rumpf)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-EHJmq1aKXrI/Th3tP-sqcLI/AAAAAAAAEls/SGdLN4yRHo4/s72-c/alsamixer.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-4649488311850165342</guid><pubDate>Wed, 13 Jul 2011 18:36:00 +0000</pubDate><atom:updated>2011-07-24T13:19:48.729+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Building an OpenWRT image optimized for MP3 audio playback</title><description>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;For the audio-renderer, see revious posts, I decided to switch to the trunk version of OpenWRT.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial;"&gt;I experienced some issues with the USB audio hardware and the trunk version should prove that there are no issues with the USB audio drivers which are already fixed.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial;"&gt;The following configuration is for the bleeding-edge version, some module names have changed so it cannot be applied to the Kamikaze (10.3) version without modification (e.g. block-mount contains the overlay functionality and kmod-fs-ext4 has support for all ext file-system versions).&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;b&gt;NOTE: This configuration has stripped all modules which are not necessary for USB audio and Wireless LAN.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Target System: Atheros AR71xx/AR7240/AR913x/AR934x)&lt;br /&gt;
Target Profile: TP-Link TL-WR1043ND v1&lt;br /&gt;
&lt;br /&gt;
Global build settings ---&amp;gt;&lt;br /&gt;
&amp;nbsp; [*] Remove ipkg/opkg status/data files in final images&lt;br /&gt;
&amp;nbsp; [ ] Enable ipv6 support in packages&lt;br /&gt;
&lt;br /&gt;
LATER: Strip unnecessary exports from kernel image&lt;br /&gt;
LATER: Strip unnecessary functions from libraries&lt;br /&gt;
&lt;br /&gt;
[*] Build the OpenWRT Image Builder&lt;br /&gt;
[*] Build the OpenWRT SDK&lt;br /&gt;
[*] Build the OpenWRT based toolchain&lt;br /&gt;
[*] Image configuration ---&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LAN Gateway: 192.168.0.5&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LAN Network Mask:&amp;nbsp;&lt;a href="tel:255.255.255.0" target="_blank" value="+492552552550"&gt;255.255.255.0&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LAN IP Address: 192.168.0.111&lt;br /&gt;
&lt;br /&gt;
Base system&lt;br /&gt;
&amp;nbsp; &amp;lt;*&amp;gt; block-mount&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; dnsmasq&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; firewall&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Kernel Modules&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Filesystems&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-fs-ext4 (for USB drive)&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Native Language Support&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-nls-utf8&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; &amp;nbsp; Sound Support&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-sound-core&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-audio&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; USB Support&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-ohci&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;*&amp;gt; kmod-usb-storage (for USB drive)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; Other Modules (not sure yet whether they are needed)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ??? *gpio* ??? (Buttons for preset-switching ???)&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Network&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt; &amp;gt; ppp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Firewall&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt; &amp;gt; iptables&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; Time Synchronization&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;lt;*&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; ntpclient&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt; Multimedia&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-alsa&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-mad&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gst-mod-souphttpsrc&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gstreamer&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; gstreamer-utils (for gst-* tools)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;Utilities&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;lt;*&amp;gt; alsa-utils (for alsamixer/alsactl)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;After the configuration step is completed, the image can be compiled with the following command:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;make -j 5 # on a quad-core machine&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;With the configuration above the compiled image is 5248kB large, which means 2944kB are free for modules and configuration in the /overlay file-system.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Then you can connect to the router with the following command (assuming that OpenWRT is already installed):&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;telnet 192.168.0.111&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Copy the new image to a location on the router with enough space (I use a 32MB USB stick with ext2 file-system which I mount under /mnt/usb):&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;scp USERNAME@HOST:HOME/openwrt-trunk/bin/ar71xx/openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin .&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Now drop the caches:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Then reflash the image with the following command:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;mtd -r write&amp;nbsp;openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin firmware&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;The router will reboot and when connecting via telnet again, the&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;setup can be tested with the following command:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;gst-launch souphttpsrc location=http://87.248.219.60/stream/swr_mp3_m_swr1bwa ! mad ! alsasink&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Et viola, the USB audio device will play the radio station! Hopefully&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;.....&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp;;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-4649488311850165342?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/building-openwrt-image-optimized-for.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-995797967880655202</guid><pubDate>Sat, 09 Jul 2011 13:40:00 +0000</pubDate><atom:updated>2011-07-17T18:32:55.355+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">keepass</category><category domain="http://www.blogger.com/atom/ns#">dropbox</category><title>Using a password safe on multiple platforms</title><description>After the Playstation Network Hack I decided to change to secure passwords for all my accounts. The drawback is that nobody can remember secure passwords anymore, so there is no way around using a password safe.&lt;br /&gt;
&lt;br /&gt;
The only application that is available on all the different platforms I use is KeePass (V1.x on Windows, KeePassX under Linux, and KeePassDroid on Android). Under Windows the the 1.x version must be used in order to stick to the same file format as the KeePassX and the KeePassDroid applications.&lt;br /&gt;
&lt;br /&gt;
Using one database file on many different devices has proven to be a challenge as the file must be located where it can be accessed from all the different devices.&lt;br /&gt;
&lt;br /&gt;
My first approach was to use a WebDAV folder which is available from hosters like web.de or 1&amp;amp;1 in Germany.&lt;br /&gt;
The Linux support for WebDAV is good, dav2fs does what I was looking for and I found absolutely no issues while using it.&lt;br /&gt;
Unfortunately Windows 7 64Bit support for WebDAV is severly broken. Access to the online folder was working a few days but it stopped working, being unable to connect anymore (Error 0x80070043). All the hints and workarounds I found did not work for my business notebook. I also tried the different WebDAV client tools like &lt;a href="http://www.netdrive.net/"&gt;NetDrive&lt;/a&gt; for example. None of them was working reliably in a corporate environment behind a proxy and I did not want to find workarounds for the issues of the WebDAV clients.&lt;br /&gt;
There is also no free WebDAV support available&amp;nbsp;on Android, making the protocol unusable on my phone and tablet. The consequence would be either to copy the file manually or to extend KeePassDroid in order to access databases via HTTPS/WebDAV.&lt;br /&gt;
&lt;br /&gt;
After a few weeks of pain when trying to log into an account with a secure password I decided to give DropBox a try. Clients are available for all the devices I have and adding an account is very easy and can be setup in under a minute.&lt;br /&gt;
&lt;br /&gt;
DropBox has been configured to create a new folder and not to sync the whole user's home folder:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Windows: C:\Users\(USERNAME)&lt;username&gt;\Dropbox&lt;/username&gt;&lt;/li&gt;
&lt;li&gt;Linux: /home/(USERNAME)&lt;username&gt;/Dropbox&lt;/username&gt;&lt;/li&gt;
&lt;li&gt;Android: /mnt/sdcard/dropbox&lt;/li&gt;
&lt;/ul&gt;On all platforms the extension "kdb" has been associated with the KeePass application, so opening the DropBox folder and double-clicking/pressing on the kdb file opens KeePass/KeePassX/KeePassDroid which asks for the database password.&lt;br /&gt;
&lt;br /&gt;
So far DropBox seems to be the solution to my problem. I can access the database with only 2 passwords to remember, the one for the password safe file and the other one for the DropBox account.&lt;br /&gt;
&lt;br /&gt;
However, one issue with concurrent access to the same KeePass file remains. The KeePass application writes a lock file to signal that the database is being used by an instance of the application. Different instances create and delete the lock file so that the file is completely useless in the scenario, described above. The message that a lock file has been found and whether the database should be opened read-only must either be ignored or followed. When followed new entries can be added on one device only.&lt;br /&gt;
&lt;br /&gt;
When you add an entry to the database on one platform this change is propagated to the other devices because of the DropBox sync. Unfortunately running instancs of KeePass do not recognize that a file has changed in the DropBox folder. Only when you add an account there and you try to save the database file you get a message that the file in the file-system has changed.&lt;br /&gt;
The&lt;br /&gt;
&lt;br /&gt;
The solution to this issue would be that KeePass reloads the file on a regular basis as long as no entries have been added. In case a user has added an entry KeePass could do a merge of the two database files by comparing entries one by one and adding new ones to the loaded database before persisting it again.&lt;br /&gt;
&lt;br /&gt;
As long as this has not been implemented the only work-around is to do some configuration on the clients so that the application/database is likely to be closed each time you switch the device.&lt;br /&gt;
One setting is not minimize the application window into the system tray. That keeps the window open and reminds you, when you, for example, cleanup the desktop of your business notebook in evening, to close the application. The next morning you need to reopen the database and load all entries that have been added last evening on your other devices.&lt;br /&gt;
&lt;br /&gt;
A small step into the merge direction would be to notify the user when the database in the file-system has changed. If such a notification pops-up the database can be closed and re-opened again.&lt;br /&gt;
&lt;br /&gt;
I have created feature requests for each of the three projects:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;KeePass:&amp;nbsp;&lt;a href="https://sourceforge.net/tracker/?func=detail&amp;amp;aid=3362189&amp;amp;group_id=95013&amp;amp;atid=609908"&gt;3362189&lt;/a&gt;&amp;nbsp;(Closed, Rejected:&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: #555555; line-height: 19px;"&gt;&lt;a href="http://keepass.info/help/base/multiuser.html"&gt;http://keepass.info/help/base/multiuser.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;KeePassX:&amp;nbsp;&lt;a href="https://sourceforge.net/tracker/?func=detail&amp;amp;aid=3362184&amp;amp;group_id=166631&amp;amp;atid=839782"&gt;3362184&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;KeePassDroid:&amp;nbsp;&lt;a href="http://code.google.com/p/keepassdroid/issues/detail?id=206"&gt;206&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-995797967880655202?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/07/using-password-safe-on-multiple.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-2299081279877188325</guid><pubDate>Mon, 27 Jun 2011 21:26:00 +0000</pubDate><atom:updated>2011-07-17T18:33:10.538+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Radio presets</title><description>&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;One important feature for the audio renderer is the support for &lt;b&gt;presets&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;I do not want to search for my mobile phone in order to select a music source when I enter the kitchen in the morning. The use-case where you turn on your analog radio and the tuning wheel is right at the position of your favorite radio station is unbeatable simple.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Therefore the audio-renderer has a list of MP3 streaming URLs where the first one will be played upon startup of the process. The channels can be switched by sending a signal to the server process:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;kill -USR1 &amp;lt;PID of audio-renderer&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;This is a good way to hijack an unused button of your router &lt;/span&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;(for example the QSS button of the TP-Link WR1043ND) &lt;/span&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;and write a simple script as shown here: &lt;a href="http://wiki.openwrt.org/doc/howto/hardware.button"&gt;http://wiki.openwrt.org/doc/howto/hardware.button&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: inherit; font-size: small;"&gt;There is currently no support for M3U files as this is not supported by Gstreamer.&lt;/span&gt;&lt;span style="font-size: small;"&gt; The MP3 streams must be extracted manually from the M3U files.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-2299081279877188325?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/radio-presets.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-515693795501759649</guid><pubDate>Mon, 27 Jun 2011 21:05:00 +0000</pubDate><atom:updated>2011-08-02T14:48:26.481+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>UPnP audio renderer released</title><description>A very early version of my UPnP audio-renderer had been released on Gitorius https://gitorious.org/gupnp-audio-renderer (&lt;b&gt;Update 2011-08-01&lt;/b&gt;: It has been renamed to m3player and been moved to &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;here&lt;/a&gt;). It implements the necessary parts of the UPnP MediaRenderer specification. &lt;br /&gt;
&lt;br /&gt;
The implementation is based on excellent frameworks like:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.gupnp.org/"&gt;GUPnP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gstreamer.freedesktop.org/"&gt;GStreamer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.gnome.org/glib/"&gt;GLib&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;The initial target for the renderer is the &lt;a href="http://www.openwrt.org/"&gt;OpenWRT&lt;/a&gt; platform (see previous articles about a WiFi music player). I decided to use C instead of Vala (that was a decision against Rygel) as the memory constraints are very limited and I need to save memory whereever possible. Although my C language skills are a bit rusty, I did not want to learn another language. Additionally, the usage of Vala would increase the effort to port the whole vala stuff to the OpenWRT build-system. Luckily GStreamer and GLib are already available on OpenWRT.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update 2011-07-31&lt;/b&gt;: Porting Vala packages to OpenWRT seems to be less complex as many source tarballs already contain the C source, generated by the valac pre-compiler, so no valac must be available during the OpenWRT build process.&lt;br /&gt;
&lt;br /&gt;
The requirements for the implementation are:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;audio-only renderer (usually routers do not have displays) with a focus on MP3&lt;/li&gt;
&lt;li&gt;small memory footprint (my router has only 32MB available)&lt;/li&gt;
&lt;li&gt;easy porting to different platforms (not dependent to where Vala has been ported)&lt;/li&gt;
&lt;li&gt;support for presets (which can be switched by pressing a button on the router device)&lt;/li&gt;
&lt;/ol&gt;The renderer is being tested with the UPnP Control Point &lt;a href="http://bebopfreak.wordpress.com/upnplayer/"&gt;UPnPlay&lt;/a&gt; on my HTC Legend. &lt;br /&gt;
&lt;br /&gt;
The next steps are:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Rounding the rough edges&lt;/li&gt;
&lt;li&gt;Packaging for Debian/Ubuntu&lt;/li&gt;
&lt;li&gt;Makefiles for OpenWRT&lt;/li&gt;
&lt;li&gt;Cleaning up the codebase&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Update 2011-07-31&lt;/b&gt;: The gupnp-audio-renderer has been renamed to m3ddity-player and it found a home &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-515693795501759649?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/upnp-audio-renderer-released.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-7359915366930899050</guid><pubDate>Mon, 13 Jun 2011 15:53:00 +0000</pubDate><atom:updated>2011-07-17T18:33:48.876+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Compile a development version of GUPnP from HEAD</title><description>Follow the commands below in order to setup a local environment for working with the latest development version of the GUPNP framework.&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mkdir $(pwd)/base&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;git clone&amp;nbsp;http://git.gnome.org/browse/gssdp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd gssdp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd ..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;git clone http://git.gnome.org/browse/gupnp&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd gupnp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PKG_CONFIG_PATH=$(pwd)/../base/lib/pkgconfig ./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd ..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;git clone http://git.gnome.org/browse/gupnp-tools&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd gupnp-tools&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PKG_CONFIG_PATH=$(pwd)/../base/lib/pkgconfig ./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd ..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Run the following commands for setting the environment to use the fresh compiled libraries instead of the OS provided ones (Empathy under Ubuntu 11.04 uses an older version of the GUPNP libraries. I ran into segmentation faults because the libraries did not match):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export PATH=$(pwd)/base/bin&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$(pwd)/gupnp/examples&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;:$PATH&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export LD_LIBRARY_PATH=$(pwd)/base/lib&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$LD_LIBRARY_PATH&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export PKG_CONFIG_PATH=$(pwd)/base/lib/pkgconfig:$PKG_CONFIG_PATH&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Now you can execute several examples or tests to check whether everything works as expected:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;light-server &amp;amp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;gupnp-universal-cp &amp;amp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The GUI application GUPnP Universal Control Point shows an entry "Kitchen Lights", which is provided by the light-server application started above.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-7359915366930899050?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/compile-development-version-of-gupnp.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-2901214019266367170</guid><pubDate>Sun, 12 Jun 2011 14:36:00 +0000</pubDate><atom:updated>2011-07-17T18:33:54.433+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Building a custom OpenWRT image for the TP-Link TL-WR1043ND</title><description>&lt;table style="text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;&lt;a href="http://1.bp.blogspot.com/-My4aqk4nBL4/TfSaA1akJ5I/AAAAAAAAEkg/GpWbxKqabLs/s1600/IMAG0292.jpg" imageanchor="1"&gt;&lt;img border="0" height="133" src="http://1.bp.blogspot.com/-My4aqk4nBL4/TfSaA1akJ5I/AAAAAAAAEkg/GpWbxKqabLs/s200/IMAG0292.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt; &lt;td&gt;&lt;a href="http://3.bp.blogspot.com/-eqzxpdUiMJ8/TfSaC26_9QI/AAAAAAAAEkk/5lGKpLAiEvs/s1600/IMAG0293.jpg" imageanchor="1"&gt;&lt;img border="0" height="133" src="http://3.bp.blogspot.com/-eqzxpdUiMJ8/TfSaC26_9QI/AAAAAAAAEkk/5lGKpLAiEvs/s200/IMAG0293.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
For my low-budget wireless music player I had to tweak OpenWRT in order to support my setup. For initial tests I decided to use the&amp;nbsp;&lt;a href="http://mpd.wikia.com/"&gt;Music Player Daemon&lt;/a&gt;&amp;nbsp;and &lt;a href="http://www.underbit.com/products/mad/"&gt;madplay&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The following steps describe how to setup OpenWRT on the TP-Link WR1043ND. It assumes that the OpenWRT 10.03.1-rc4 firmware has already been installed, that the IP address of the router has been set to 192.168.0.111, and that an USB audio, as well as that an USB stick has been connected to the device via an USB hub.&lt;br /&gt;
&lt;br /&gt;
Checkout the 10.03 branch (currently 10.03.1-rc5)&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ svn co svn://svn.openwrt.org/openwrt/branches/backfire&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ cd backfire&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Download and install all packages:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ ./scripts/feeds update -a&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ ./scripts/feeds install -a&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Run menuconfig and select a few more items so that they are available without the need to install packages first:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ make menuconfig&lt;/span&gt;&lt;br /&gt;
-&amp;gt; Target Profile: TP-Link TL-WR1043ND&lt;br /&gt;
-&amp;gt; [*] Build the OpenWrt Image Builder&lt;br /&gt;
-&amp;gt; [*] Build the OpenWrt SDK&lt;br /&gt;
-&amp;gt; [*] Build the OpenWrt based Toolchain&lt;br /&gt;
-&amp;gt; [*] Image Configuration&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;() LAN Gateway: &lt;gw-address&gt;&lt;/gw-address&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;(192.168.1.1) LAN Network Address: 192.168.0.111&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Exit&lt;br /&gt;
-&amp;gt; Base System&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; block-hotplug&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; block-extroot&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Exit&lt;br /&gt;
-&amp;gt; Kernel Modules&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Filesystems&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; kmod-fs-ext2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; USB Support&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; kmod-usb-core&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; &amp;nbsp; kmod-usb-audio&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; &amp;nbsp; kmod-usb-ohci&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; &amp;nbsp; kmod-usb-storage&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; &amp;nbsp; kmod-usb-storage-extras&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;*&amp;gt; &amp;nbsp; kmod-usb-usb2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exit&lt;br /&gt;
-&amp;gt; Sound&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;m&gt; mpd&lt;/m&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;m&gt; mpc&lt;/m&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;m&gt; madplay&lt;/m&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Exit&lt;br /&gt;
Exit&lt;br /&gt;
&lt;br /&gt;
On quad core machines you can run make with 5 parallel jobs:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ make -j 5&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Install the new image by running the following commands:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ telnet 192.168.0.111&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ scp USER&lt;user&gt;@HOST&lt;host&gt;:HOME&lt;home&gt;/workspaces/openwrt/backfire/bin/ar71xx/openwrt-ar71xx-tl-wr1043nd-v1-squashfs-sysupgrade.bin .&lt;/home&gt;&lt;/host&gt;&lt;/user&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ cd /tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ mtd -r write openwrt-ar71xx-tl-wr1043nd-v1-squashfs-sysupgrade.bin firmware&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Because WLAN will not be configured after flashing a new image, you need a cable connection.&lt;br /&gt;
After the reboot is finished you can connect to the device like this:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ telnet 192.168.0.111&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Because mpd and madplay consume more space than the router has available on its root partition, the extroot feature must be enabled.&amp;nbsp;Enable extroot for the USB stick by modifiying fstab:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ vi /etc/config/fstab&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;config mount&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option target &amp;nbsp; /overlay&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option device &amp;nbsp; &lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;/dev/sda1&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option fstype &amp;nbsp; &lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;ext2&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option options &amp;nbsp;rw,sync&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option enabled &amp;nbsp;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; option enabled_fsck 0&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;Reboot the device again so that the extroot overlay becomes available:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;$ reboot&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Connect to the device again:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ telnet 192.168.0.111&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I have setup an Apache on my desktop machine in order to easily provide the packages to the device. For using the local HTTP server, opkg must be configured like this (my desktop machine has IP 192.168.0.17):&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ vi /etc/opkg.conf&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;src/gz packages http://192.168.0.17/packages&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;When this is done you can update the package list:&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ opkg update&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now the packages mpd, mpc, and madplay can be installed:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ opkg install mpd mpc madplay&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;mpd&amp;nbsp;daemon needs some special folder setup:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ mkdir -p ~/.mpd/playlists&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Make sure mpd starts when the device boots up by adding the follownig line to rc.local:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ vi /etc/rc.local&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mpd /etc/mpd.conf&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;In oder to disconnect the wired LAN connection, you need to setup&amp;nbsp;WLAN:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ vi /etc/config/wireless&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Change the following entries:&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;config wifi-device &amp;nbsp;radio0&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;# REMOVE THIS LINE TO ENABLE WIFI:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;#option disabled 1&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;config wifi-iface&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;option mode sta # Client mode&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;option ssid mySSID # Your SSID&lt;ssid&gt;&lt;/ssid&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;option encryption psk2 # WPA-PSK2&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;option key 12345678901234567890 # Your network key&lt;/b&gt;&lt;/span&gt;&lt;psk&gt;&lt;/psk&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;Configure DHCP so that the device asks the DHCP server for an IP address:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ vi /etc/config/network&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Change the lan interface (eth0.1) like this:&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;config 'interface' 'lan'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;option 'ifname'&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;'eth0.1'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;option 'proto'&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;'dhcp'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;================================&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;Now you can start WiFi like this:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ wifi up&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
After that you can unplug the LAN cable. The router should be connected to your WLAN and it should acquire an IP address from your local network DHCP server. Make sure that you do not gave a MAC Filter enabled in case it does not work ;)&lt;br /&gt;
&lt;br /&gt;
For an intial test you can updload a MP3 file to the device:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ scp &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;USER&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;user&gt;@HOST&lt;host&gt;:HOME&lt;home&gt;/test.mp3 /tmp&lt;/home&gt;&lt;/host&gt;&lt;/user&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;user&gt;&lt;host&gt;&lt;home&gt;&lt;br /&gt;
&lt;/home&gt;&lt;/host&gt;&lt;/user&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
With madplay the MP3 can be played like this:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ madplay /tmp/test.mp3&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
With the following script running on your desktop machine you can make the Music Play Daemon play a Shoutcast audio stream:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ export MPD_HOST=192.168.0.111&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ mpc add http://89.179.179.5:8040&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ mpc play&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-2901214019266367170?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/building-custom-openwrt-image-for-tp.html</link><author>noreply@blogger.com (Michael Rumpf)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-My4aqk4nBL4/TfSaA1akJ5I/AAAAAAAAEkg/GpWbxKqabLs/s72-c/IMAG0292.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-3940647580067742283</guid><pubDate>Sun, 12 Jun 2011 11:17:00 +0000</pubDate><atom:updated>2011-07-17T18:34:00.682+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">openwrt</category><category domain="http://www.blogger.com/atom/ns#">audio</category><category domain="http://www.blogger.com/atom/ns#">upnp</category><title>Low-budget WiFi Music Player</title><description>&lt;span class="Apple-style-span" style="font-family: 'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="content"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;After searching the net for quite a while I could not find a pure wireless music player for small money. In case&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;you want to equip multiple rooms in your house with a music player it will cost you a lot of money. All products&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;on the market come with a lot of features, of which most are not necessary.&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The following links show interesting hacks on how to build your own WiFi music player based on OpenWRT:&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.instructables.com/id/Build-your-own-Wifi-radio/"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://www.instructables.com/id/Build-your-own-Wifi-radio/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://robhardwick.wordpress.com/2008/07/21/3/"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://robhardwick.wordpress.com/2008/07/21/3/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://devices.natetrue.com/musicap/"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://devices.natetrue.com/musicap/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://neophob.com/2008/02/openwrt-mp3-player-screenshots/"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://neophob.com/2008/02/openwrt-mp3-player-screenshots/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.thilloy.com/integrations/musicplayer.html"&gt;http://www.thilloy.com/integrations/musicplayer.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/"&gt;http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://blog.josefsson.org/2007/09/25/home-audio-server/"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://blog.josefsson.org/2007/09/25/home-audio-server/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Using routers as a platform is a very good choice as they produced in high volume and thus the price for the&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;hardware can be very low. Every platform evaluation board is much more expensive, especially when you&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;want to have WiFI connectivity (&amp;gt; EURO 150). Those evaluation boards or development kits are produced&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;in very small volume and thus the price is not competitive.&lt;/span&gt;

&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I decided to use a router as the base for my player. My current setup is this:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.tp-link.com/de/products/productDetails.asp?pmodel=TL-WR1043ND"&gt;TP-Link TL-WR1043ND&lt;/a&gt;: &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;EUR 43,59&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.amazon.de/gp/product/B003IVHBDW/ref=oss_product"&gt;3D-Sound USB-Audio&lt;/a&gt;: &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;EUR 7,48&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.amazon.de/gp/product/B000P1RQSI/"&gt;Delock HUB USB 2.0 extern 4 Port&lt;/a&gt;: EUR 12,49&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;32MB USB Stick: EUR 3,00 (for a 1GB Stick)&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;This makes EUR 66,56 for the music player without loud-speakers. I guess the price can be further reduced&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;because the sound-card was more expensive than expected (additional shipping costs), and there are much&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cheaper USB Hubs available, but this one I already had around.&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The router TP-Link TL-WR1043ND is the TP-Link flagship consumer product, choosing another (maybe a&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;used one) one where you can easily solder a USB port, would also do.&lt;/span&gt;

&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;For the second version of the music player I expect the price to drop around EUR 30.&lt;/span&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;pre class="content"&gt;&lt;/pre&gt;&lt;pre class="content"&gt;&lt;/pre&gt;&lt;pre class="content"&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-3940647580067742283?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/low-budget-wifi-music-player.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-8469525967008850633</guid><pubDate>Sun, 05 Jun 2011 16:23:00 +0000</pubDate><atom:updated>2011-07-17T18:54:46.130+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gupnp</category><category domain="http://www.blogger.com/atom/ns#">audio</category><title>GUPNP: Failed to get SCPD: Cannot resolve hostname ((null))</title><description>The following message occurs when the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;urlbase&gt;&lt;/urlbase&gt;&lt;/span&gt; tag of the root device description is empty when trying to autoconnect actions:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;** (process:25888): WARNING **: Failed to get SCPD: Cannot resolve hostname ((null))&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Changing it to &lt;b&gt;http://localhost&lt;/b&gt; fixes the issue.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;
&amp;lt;root xmlns="urn:schemas-upnp-org:device-1-0"&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;specVersion&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;major&amp;gt;1&amp;lt;/major&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;minor&amp;gt;0&amp;lt;/minor&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/specVersion&amp;gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red;"&gt;&amp;nbsp; &amp;lt;URLBase&amp;gt;http://localhost&amp;lt;/URLBase&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;device&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/device&amp;gt;&lt;br /&gt;
&amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The message is a bit misleading. I was first trying to find an issue with my DNS configuration.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-8469525967008850633?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/gupnp-failed-to-get-scpd-cannot-resolve_05.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-6599666300098670433</guid><pubDate>Fri, 03 Jun 2011 13:55:00 +0000</pubDate><atom:updated>2011-07-17T18:54:52.725+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gupnp</category><category domain="http://www.blogger.com/atom/ns#">audio</category><title>Compiling GUPnP on Ubuntu 11.04</title><description>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&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.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The commands will setup an environment that does not interfere with the Ubuntu provided packages, which are older than the ones compiled here.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The library files will be installed under the location: &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Download:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;mkdir -p ~&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ~&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.11.tar.gz | tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-0.16.1.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;| tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.10.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;| tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-tools-0.8.3.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;| tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-dlna-0.6.1.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;| tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-av-0.8.0.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;| tar xvfz -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gssdp-0.10.0.tar.gz | tar xvfz -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;wget -O -&amp;nbsp;http://gupnp.org/sites/all/files/sources/gupnp-vala-0.8.0.tar.gz | tar xvfz -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;$ sudo apt-get install gstreamer0.10-dev uuid-dev&amp;nbsp;libsoup2.4-dev&amp;nbsp;libxml2-dev&amp;nbsp;libgstreamer-plugins-base0.10-dev&amp;nbsp;gtk+3.0&amp;nbsp;libgtk-3-dev&amp;nbsp;valac-0.12 libgee-dev libgconf2-dev&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Compilation:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gssdp-0.10.0&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gssdp-0.10.0$&amp;nbsp;make &amp;amp;&amp;amp;&amp;nbsp;make install&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../gupnp-0.16.1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-0.16.1$ PKG_CONFIG_PATH=~/workspaces/openwrt/upnp/gssdp-0.10.0 ./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;make &amp;amp;&amp;amp;&amp;nbsp;make install&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-av-0.8.0&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;PKG_CONFIG_PATH=~/workspaces/openwrt/upnp/gupnp-0.16.1 ./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-av-0.8.0$&amp;nbsp;make &amp;amp;&amp;amp;&amp;nbsp;make install&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-dlna-0.6.1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../gupnp-igd-0.1.11&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;PKG_CONFIG_PATH=~/workspaces/openwrt/upnp/gupnp-0.16.1 ./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-tools-0.8.3&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;PKG_CONFIG_PATH=~/workspaces/openwrt/upnp/gupnp-0.16.1 ./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;cd ../&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;gupnp-vala-0.8.3&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman';"&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;PKG_CONFIG_PATH=~/workspaces/openwrt/upnp/gssdp-0.10.0 ./configure --prefix ~/workspaces/openwrt/upnp --exec-prefix ~/workspaces/openwrt/upnp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The gupnp-media-renderer (version 0.1) is out of scope here as it is not maintained anymore. The code has been integrated into &lt;a href="http://live.gnome.org/Rygel"&gt;Rygel&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman';"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-6599666300098670433?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/06/compiling-gupnp-on-ubuntu-1104.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-813384336523235253</guid><pubDate>Sun, 29 May 2011 11:55:00 +0000</pubDate><atom:updated>2011-07-17T18:34:42.177+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">virtualbox</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>VirtualBox 4.0.2 on Ubuntu 11.04</title><description>&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;After an update to Ubuntu 11.04 VirtualBox was not running anymore. Startup fails with a hint that the kernel modules exited in error and that I should use DKMS to reconfigure the kernel module.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Running the vboxdrv setup command also led to an error:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ sudo /etc/init.d/vboxdrv setup&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[sudo] password for desktop:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Stopping VirtualBox kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Uninstalling old VirtualBox DKMS kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Trying to register the VirtualBox kernel modules using DKMS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Error! Bad return status for module build on kernel: 2.6.38-8-generic (x86_64)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Consult the make.log in the build directory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/var/lib/dkms/vboxhost/4.0.2/build/ for more information.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Failed, trying without DKMS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Recompiling VirtualBox kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;* Look at /var/log/vbox-install.log to find out what went wrong&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The log file indicates that a header file was missing:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;less /var/lib/dkms/vboxhost/4.0.2/build/make.log&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;fatal error: linux/autoconf.h: No such file or directory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The following link led me to the solution (workaround):&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://forums.virtualbox.org/viewtopic.php?f=7&amp;amp;t=38584"&gt;http://forums.virtualbox.org/viewtopic.php?f=7&amp;amp;t=38584&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ln -s /usr/src/linux-headers-`uname -r`/include/generated/autoconf.h /usr/src/linux-headers-`uname -r`/include/linux/autoconf.h&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;After the link has been created, the vboxdrv setup command just ran fine:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;micha@micha-desktop:~$ sudo /etc/init.d/vboxdrv setup&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&amp;nbsp;* Stopping VirtualBox kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&amp;nbsp;* Uninstalling old VirtualBox DKMS kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&amp;nbsp;* Trying to register the VirtualBox kernel modules using DKMS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&amp;nbsp;* Starting VirtualBox kernel modules &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp;done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: seagreen; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-813384336523235253?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2011/05/virtualbox-402-on-ubuntu-1104.html</link><author>noreply@blogger.com (Michael Rumpf)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-6796475093653011627</guid><pubDate>Thu, 12 Jan 2006 04:46:00 +0000</pubDate><atom:updated>2011-04-15T23:55:47.728+02:00</atom:updated><title>New version of smpppd-web</title><description>The original versions of &lt;a href="http://www.suse.de/~cwh/"&gt;smppd-web&lt;/a&gt; by Christopher Hofmann neither support adding and removing links on the fly nor do they support dial-on-demand ISDN interfaces. That is the reason why I extended the original codebase by these features.&lt;br /&gt;
Further more the users for which I developed the software are german speaking only so that gettext support was also an important feature. Initially I added &amp;nbsp;support for german and english languages.&lt;br /&gt;
&lt;br /&gt;
As I'm not a SuSE user in general, the new version probably does not follow the SuSE directory guidelines and it does not come packaged as a RPM. Therefore it would be great if someone with SuSE RPM packaging know-how would create a successor RPM package out of Christopher's original version. Or even better Christopher packages a new version for &lt;a href="http://old-en.opensuse.org/User:Cwh"&gt;OpenSuSE&lt;/a&gt; ;)&lt;br /&gt;
&lt;br /&gt;
Please see the README in the &lt;a href="http://michael.rumpfonline.de/projects/smpppd-web.tgz"&gt;tarball&lt;/a&gt; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update 20060113&lt;/strong&gt;: Christopher Hofmann was so kind to create a &lt;a href="http://www.suse.de/~cwh/rpms/10.0/"&gt;RPM&lt;/a&gt; for OpenSuSE 10.0 and promised to feed it into OpenSuSE 10.1:&amp;nbsp;&lt;a href="https://build.opensuse.org/package/view_file?file=smpppd-web.spec&amp;amp;package=smpppd-web&amp;amp;project=network&amp;amp;srcmd5=29258e9f29b1461712d123aac39c510a"&gt;smpppd-web.spec&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="line number111 index110 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;Fri Jan&lt;/code&gt; &lt;code class="spec value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(160, 22, 22) !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;13 &lt;/code&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;2006 cwh@suse.de&lt;/code&gt;&lt;/div&gt;&lt;div class="line number112 index111 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec spaces" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;version 3.00&lt;/code&gt;&lt;/div&gt;&lt;div class="line number113 index112 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;- now supports adding and removing links on the fly&lt;/code&gt;&lt;/div&gt;&lt;div class="line number114 index113 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;- support dial-on-demand interfaces&lt;/code&gt;&lt;/div&gt;&lt;div class="line number115 index114 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;- supports multiple languages with gettext (currently included is&lt;/code&gt;&lt;/div&gt;&lt;div class="line number116 index115 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: white !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: #444444; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 1em !important; padding-right: 1em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;"&gt;&lt;code class="spec spaces" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="spec plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-color: initial; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-style: initial; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; color: black !important; float: none !important; font-family: 'Bitstream Vera Sans Mono', monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;german and english)&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-6796475093653011627?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2006/01/new-version-of-smpppd-web.html</link><author>noreply@blogger.com (Michael Rumpf)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-707606463252256357</guid><pubDate>Wed, 19 Oct 2005 05:31:00 +0000</pubDate><atom:updated>2011-06-12T13:24:01.719+02:00</atom:updated><title>Creating an ISDN Gateway with SuSE 9.3</title><description>In Germany flatrates are available for DSL only, so people, living in areas where DSL is not available, have to pay expensive time based fees for slowly connecting to the Internet. The problem is that M$ Windows and many of the installed tools are known for initiating internet connections although the user did not ask them to do so. Therefore it is crucial to reliably disconnect the ISDN line so that those unwanted connection attempts will not succeed. ISDN routers, which might be of help here, are hard to find nowadays and do not offer the comfort as new DSL routers do.&lt;br /&gt;
&lt;br /&gt;
A solution should fulfill the following additional requirements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;provide secure internet access&lt;/li&gt;
&lt;li&gt;provide a secure way to do remote administration&lt;/li&gt;
&lt;li&gt;provide centralized storage&lt;/li&gt;
&lt;li&gt;provide a Wiki for documentation&lt;/li&gt;
&lt;li&gt;should also be usable as a client machine&lt;/li&gt;
&lt;/ul&gt;After doing some investigation I found the following possible solutions:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Tools on a Windows server&lt;/li&gt;
&lt;li&gt;Linux Diskless Router based solution&lt;/li&gt;
&lt;li&gt;Scripts from a Windows client executed on the Linux Server&lt;/li&gt;
&lt;li&gt;Linux server with a web based approach&lt;/li&gt;
&lt;/ol&gt;The first category solutions, for example &lt;a href="http://www.bysoft.com/internet_remote_control.php"&gt;Internet Remote Control&lt;/a&gt;, fall short because the Windows machine is connected directly to the Internet and thus vulnerable to all kind of attacks (Who really trusts the Windows XP firewall?).&lt;br /&gt;
&lt;br /&gt;
With software from the second class it is not possible to provide centralized storage via &lt;a href="http://www.samba.org/"&gt;Samba&lt;/a&gt;. I know that this is by far the most secure way but it would mean booting another machine with no other purpose than Internet access.&lt;br /&gt;
&lt;br /&gt;
The third and fourth solution can be deployed together on one Linux server machine, which can also be used as a desktop. This machine provides secure Internet access via ISDN and at the same time centralized storage to the Windows clients on the network. The script based solution has one deficiency, it does not allow continous feedback on the connection state of the ISDN interface. Therefore the last solution is by far the one with the greatest flexibility and has been chosen to build a final solution.&lt;br /&gt;
&lt;br /&gt;
The machine has been installed with SuSE Linux 9.3 as a desktop machine. The following services have been enabled:&lt;span class="Apple-style-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Apache2&lt;/li&gt;
&lt;li&gt;Samba&lt;/li&gt;
&lt;li&gt;SSH&lt;/li&gt;
&lt;/ul&gt;The &lt;code&gt;ddclient&lt;/code&gt; package is used to update dyndns.org records when the ISDN connection is established. This allows easy remote administration, as the IP address gets updated automatically.&lt;br /&gt;
&lt;br /&gt;
As a little gimmick I added the script &lt;code&gt;xsend.py&lt;/code&gt; from the &lt;a href="http://xmpppy.sourceforge.net/"&gt;xmpppy&lt;/a&gt; project which sends a message with the ippp0 configuration to my Jabber account so that I get notified when the machine is connected to the Internet.&lt;br /&gt;
&lt;br /&gt;
Both scripts &lt;code&gt;xsend.py&lt;/code&gt; and &lt;code&gt;ddclient&lt;/code&gt; are executed when the connection is established. This is done by the script &lt;code&gt;/etc/ppp/ip-up.local&lt;/code&gt; which gets called by the ISDN stack upon connection establishment.&lt;br /&gt;
&lt;br /&gt;
The excellent tool smpppd and smpppd-web is used to manage the ISDN connections.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-707606463252256357?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2005/10/creating-isdn-gateway-with-suse-93.html</link><author>noreply@blogger.com (Michael Rumpf)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-80168360663649604.post-3728855255054899088</guid><pubDate>Thu, 28 Jul 2005 22:43:00 +0000</pubDate><atom:updated>2011-02-05T19:22:37.473+01:00</atom:updated><title>Setting up a free Microsoft C++ compile environment on Windows XP</title><description>This is a guide on how to install a free Microsoft C++ development environment on Windows XP SP2. The &lt;a href="http://research.microsoft.com/sn/detours/"&gt;Detours 1.5&lt;/a&gt;&amp;nbsp;package is used as an example in this guide. When following the steps outlined below you will be able to compile the Detours package and run the Detours examples.&lt;br /&gt;
&lt;br /&gt;
At the beginning the following packages need to be downloaded and installed. &lt;i&gt;NOTE: Do not use the default install folder as they contain spaces in folder names, instead use similar short folder names as shown in the list below&lt;/i&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm"&gt;Platform SDK XP SP2&lt;/a&gt;&amp;nbsp;(236MB):&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\platsdk&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&amp;amp;displaylang=en"&gt;Microsoft .NET Framework Version 1.1 Redistributable Package&lt;/a&gt;&amp;nbsp;(23MB)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&amp;amp;displaylang=en"&gt;Microsoft .NET Framework 1.1&lt;/a&gt;&amp;nbsp;(106MB):&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\dotnsdk&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/visualc/vctoolkit2003/"&gt;Visual C++ Toolkit 2003&lt;/a&gt;&amp;nbsp;(31MB): &lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\vc2003&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://research.microsoft.com/sn/detours/"&gt;Detours 1.5&lt;/a&gt;&amp;nbsp;(0.5MB): &lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\detours&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;The following batch script can be used to initialize the environment (Store the batch file under &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\setenv.cmd&lt;/span&gt;):&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;@echo offecho "Setting M$ C++ environment..."&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;call c:\msdev\dotnsdk\v1.1\Bin\sdkvars.bat&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;call c:\msdev\platsdk\SetEnv.bat&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;call c:\msdev\vc2003\vcvars32.bat&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;set path=c:\msdev\tools;%path%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Unfortunately there are additional tools &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bscmake.exe&lt;/span&gt; and &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lib.exe&lt;/span&gt;&amp;nbsp;that are missing from the packages downloaded and installed before.&lt;br /&gt;
The &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bscmake.exe&lt;/span&gt;&amp;nbsp;tool is provided only in the purchased version of Visual Studio. It is responsible for creating class browser files that are read by Visual Studio. The fake &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bscmake.exe&lt;/span&gt;&amp;nbsp;utility that can be downloaded from &lt;a href="http://www3.symbian.com/faq.nsf/0/E961EA6C04EA6BF080256EDD0055D063?OpenDocument"&gt;this&lt;/a&gt;&amp;nbsp;page makes &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;nmake&lt;/span&gt; believe that the class browse information generation was successful so that the build process continues.&lt;br /&gt;
The second tool is &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lib.exe&lt;/span&gt;&amp;nbsp;which is used for creating lib files from dynamic link libraries. The functionality of this tool is also present in the Microsoft linker with the following command line switch: &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;link.exe /lib&lt;/span&gt;. To simulate the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lib.exe&lt;/span&gt;&amp;nbsp;utility create a batch file &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lib.cmd&lt;/span&gt;&amp;nbsp;with the following content:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;@echo off&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;if "%1" == "" goto nocmd&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;echo %* &amp;gt; cmdline.tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;link /lib @cmdline.tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;del cmdline.tmp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;goto end&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;:nocmd&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;link /lib&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;:end&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Put both tools into a folder &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;c:\msdev\tools&lt;/span&gt;&amp;nbsp;which has already been included in the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PATH&lt;/span&gt;&amp;nbsp;variable settings above.&lt;br /&gt;
&lt;br /&gt;
Now everything should be ready to compile the Detours example project. Type the following commands to start the build process:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cmd /K cd /D c:\msdev &amp;amp;&amp;amp; setenv.cmd&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd detours\src&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;set CFLAGS=/nologo /DDEBUG /DWIN32_LEAN_AND_MEAN /W4 /WX /Zi \&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;/FR "/Fd$(LIBD)\detours.pdb" /MTd /Gy /Gs /Gi- /Gm- /Zl /O \&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;-D_WIN32_WINNT=0x403 /wd4733&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;nmake /E&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;REM Wait for the DLL compile to complete&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;set CFLAGS=&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd ..\samples&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;nmake&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
After a successful completion you can check whether the compile was successful by starting the logging demon example provided by the Detours package with the script &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Test.bat&lt;/span&gt;&amp;nbsp;in the folder &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;samples\syelog&lt;/span&gt;. This batch script will start the logging demon and a test application that sends some logging messages to the demon. &lt;i&gt;NOTE: You might need to exclude these applications from the Windows XP Firewall when the firewall warning message pops-up&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
This guide has been derived from the following references that cover the same topic of a free C++ compile environment but for different projects. If you want to compile other projects and are missing some build tools you should have a look at the references below as they might already explain where to get those tools from.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Symbian C++ Development FAQ: FAQ-1099 BSCMake.exe (Link no longer available)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wiki.tcl.tk/11431"&gt;Building Tcl with the free VC++ toolkit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wiki.tcl.tk/11431"&gt;&lt;/a&gt;MaxDB - MS C++ Toolkit&amp;nbsp;(Link no longer available)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit"&gt;&lt;/a&gt;&lt;a href="http://wiki.wxwidgets.org/wiki.pl?Installing_WxWin_For_MS_Free_Tools"&gt;Installing WxWin For MS Free Tools&amp;amp;lt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wiki.wxwidgets.org/wiki.pl?Installing_WxWin_For_MS_Free_Tools"&gt;&lt;/a&gt;&lt;a href="http://www.perlmonks.org/?node_id=387070"&gt;Free MSVC tools + Activestate to compile CPAN Modules&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80168360663649604-3728855255054899088?l=dev-snapshot.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://dev-snapshot.blogspot.com/2005/07/setting-up-free-microsoft-c-compile.html</link><author>noreply@blogger.com (Michael Rumpf)</author></item></channel></rss>

