<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>opensourcetutor.com &#187; ubuntu</title>
	<atom:link href="http://www.opensourcetutor.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opensourcetutor.com</link>
	<description>On Linux, Web Development, Joomla and Magento commerce</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:27:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bigpond NextG ZTE-MF633 modem with Ubuntu 9.10</title>
		<link>http://www.opensourcetutor.com/2010/03/07/bigpond-nextg-zte-mf633-modem-with-ubuntu-9-10/</link>
		<comments>http://www.opensourcetutor.com/2010/03/07/bigpond-nextg-zte-mf633-modem-with-ubuntu-9-10/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 02:56:14 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[bigpond]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[telstra]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zte-mf633]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2010/03/07/bigpond-nextg-zte-mf633-modem-with-ubuntu-9-10/</guid>
		<description><![CDATA[



There&#8217;s some instructions on ZTE forums on how to get this modem working and it *does work* but it&#8217;s convoluted.
I just created a file called /etc/modprobe.d/zte-mf633.conf
and added the following to it:
options usbserial vendor=0x19d2 product=0x0031
and then reboot with the modem in to test it works on a fresh boot. If you insert the modem *after* you have booted, you  may have to unmount/eject the cdrom that it is detect as prior to it being detect in connection manager. The above may also interrupt with other usb devices, though my storage ...]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9469051832075629";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-05-22: opensourcetutor.com
google_ad_channel = "3549963802";
google_color_border = "FFF";
google_color_bg = "FFF";
google_color_link = "333";
google_color_text = "CCCCCC";
google_color_url = "999999";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
There&#8217;s some instructions on ZTE forums on how to get this modem working and it *does work* but it&#8217;s convoluted.</p>
<p>I just created a file called /etc/modprobe.d/zte-mf633.conf</p>
<p>and added the following to it:<br />
<code>options usbserial vendor=0x19d2 product=0x0031</code></p>
<p>and then reboot with the modem in to test it works on a fresh boot. If you insert the modem *after* you have booted, you  may have to unmount/eject the cdrom that it is detect as prior to it being detect in connection manager. The above may also interrupt with other usb devices, though my storage key still works and it&#8217;s all I need for now.</p>
<p>Then it will display as a 3G card and you can use the network wizard to configure it.</p>
<p>Two things to note.<br />
1. You have to &#8220;register/signup&#8221; using a Windows computer &#8211; which I had a lot of problems with and had to end up doing it in store<br />
2. I forget now, but it seemed noteworthy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2010/03/07/bigpond-nextg-zte-mf633-modem-with-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tonidoplug &#8211; a sheeva plugin server that uses 5-12watts</title>
		<link>http://www.opensourcetutor.com/2009/07/30/tonidoplug-a-sheeva-plugin-server-that-uses-5-12watts/</link>
		<comments>http://www.opensourcetutor.com/2009/07/30/tonidoplug-a-sheeva-plugin-server-that-uses-5-12watts/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 23:34:46 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Hardware & Gadgetry]]></category>
		<category><![CDATA[Internet Goodness]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[p2p]]></category>
		<category><![CDATA[sheeva]]></category>
		<category><![CDATA[tonidoplug]]></category>
		<category><![CDATA[Torrent]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2009/07/30/tonidoplug-a-sheeva-plugin-server-that-uses-5-12watts/</guid>
		<description><![CDATA[



TonidoPlug is a tiny, low power, low cost home server based on the 1.2 GHz Sheeva processor that allows you to access your applications, files, photos, music and media from anywhere (Powered by Tonido). 
TonidoPlug comes pre-installed with powerful Tonido Applications &#8211; Photos, Jukebox, Webshare, Workspace, Thots, Explorer, Torrent and Search &#8211; all running on top of embedded Ubuntu Jaunty Linux OS. Additionally, TonidoPlug can be extended by installing new applications from Tonido App store.
Not sure if we are going to see them in Australia anytime soon, and if any ...]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9469051832075629";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-05-22: opensourcetutor.com
google_ad_channel = "3549963802";
google_color_border = "FFF";
google_color_bg = "FFF";
google_color_link = "333";
google_color_text = "CCCCCC";
google_color_url = "999999";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><a target="_blank" href="http://www.tonidoplug.com/">TonidoPlug</a> is a tiny, low power, low cost home server based on the <a target="_blank" href="http://www.marvell.com/featured/plugcomputing.jsp">1.2 GHz Sheeva processor</a> that allows you to access your applications, files, photos, music and media from anywhere (Powered by Tonido). </p>
<p>TonidoPlug comes pre-installed with powerful Tonido Applications &#8211; Photos, Jukebox, Webshare, Workspace, Thots, Explorer, Torrent and Search &#8211; all running on top of embedded Ubuntu Jaunty Linux OS. Additionally, TonidoPlug can be extended by installing new applications from Tonido App store.</p>
<p>Not sure if we are going to see them in Australia anytime soon, and if any adapters will be needed</p>
<p>Here&#8217;s a Youtube review of the TonidoPlug:</p>
<div class="youtube-video"><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/E072dWriCBw&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/E072dWriCBw&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="344" width="425"></embed></object></div>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/sheeva" rel="tag">sheeva</a>, <a class="performancingtags" href="http://technorati.com/tag/tonidoplug" rel="tag">tonidoplug</a>, <a class="performancingtags" href="http://technorati.com/tag/p2p" rel="tag">p2p</a>, <a class="performancingtags" href="http://technorati.com/tag/Torrent" rel="tag">Torrent</a>, <a class="performancingtags" href="http://technorati.com/tag/Jaunty" rel="tag">Jaunty</a>, <a class="performancingtags" href="http://technorati.com/tag/Ubuntu" rel="tag">Ubuntu</a>, <a class="performancingtags" href="http://technorati.com/tag/Embedded" rel="tag">Embedded</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2009/07/30/tonidoplug-a-sheeva-plugin-server-that-uses-5-12watts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Boo Language aspx .Net using xsp2 on Mono and Linux (Ubuntu)</title>
		<link>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/</link>
		<comments>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 10:47:26 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Internet Goodness]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[boo]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xsp]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubunut/</guid>
		<description><![CDATA[I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the &#8220;inline&#8221; samples
http://localhost:8080/InlineBooButtonClick.aspxhttp://localhost:8080/InlineBooExpression.aspxhttp://localhost:8080/InlineBooHelloAspNet.aspx
but if you try and run one of the code behind samples, you get something ...]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.</p>
<p>So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.</p>
<p>So first thing I did was:</p>
<blockquote><p>$ cd /usr/share/doc/boo/examples/asp.net<br />$ xsp2</p></blockquote>
<p>and then from your browser you can run any of the &#8220;inline&#8221; samples</p>
<p>http://localhost:8080/InlineBooButtonClick.aspx<br />http://localhost:8080/InlineBooExpression.aspx<br />http://localhost:8080/InlineBooHelloAspNet.aspx</p>
<p>but if you try and run one of the code behind samples, you get something like this:</p>
<p><img style="max-width: 800px;" src="http://www.opensourcetutor.com/wp-content/uploads/2008/10/parser-error-1225276749810.png" /></p>
<blockquote><p>Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.</p>
<p>Parser Error Message: Cannot find type Boo.Examples.Web.YourName</p>
<p>Source Error:</p>
<p>Line 1: &lt;%@Page Inherits=&#8221;Boo.Examples.Web.YourName&#8221;  %&gt;<br />Line 2: <br />Line 3: </p></blockquote>
<p>The problem is the the boo source code needs to be compiled and the dll&#8217;s must be placed in a bin directory in the folder you are running xsp2 from. There is a nant build script there but after trying to hack it to get it to build, we worked out it was easier to just compile manually.ie:</p>
<blockquote><p>$ sudo mkdir bin<br />$ sudo booc -t:library -o:ScriptRunner.dll ScriptRunner.aspx.boo<br />$ sudo cp ScriptRunner.dll bin</p></blockquote>
<p>from your browser:</p>
<p>http://localhost:8080/ScriptRunner.aspx</p>
<p>You can then use this to play around with some boo as if it were the booshell (booish)</p>
<p>Thanks to Cedric for helping me out in IRC on this.Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/mono" rel="tag">mono</a>, <a class="performancingtags" href="http://technorati.com/tag/python" rel="tag">python</a>, <a class="performancingtags" href="http://technorati.com/tag/boo" rel="tag">boo</a>, <a class="performancingtags" href="http://technorati.com/tag/language" rel="tag">language</a>, <a class="performancingtags" href="http://technorati.com/tag/xsp" rel="tag">xsp</a>, <a class="performancingtags" href="http://technorati.com/tag/ubuntu" rel="tag">ubuntu</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to schedule Linux to mute speaker volume overnight</title>
		<link>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/</link>
		<comments>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 06:35:46 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/</guid>
		<description><![CDATA[
Here&#8217;s a simple method of automatically muting your volume overnight and resetting it in the morning. This is especially good for those who use softphones, skype or an IM client that have sound alerts output to speakers.
We are going to use three command line tools for this: aumix, which and cron. We are also only going to set things up so the commands are run under the user account, rather than as root as cron used incorrectly can open up some security issues.
so, to get started try and run:
:~$ aumix
and ...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#widelinks--><br />
Here&#8217;s a simple method of automatically muting your volume overnight and resetting it in the morning. This is especially good for those who use softphones, skype or an IM client that have sound alerts output to speakers.</p>
<p>We are going to use three command line tools for this: aumix, which and cron. We are also only going to set things up so the commands are run under the user account, rather than as root as cron used incorrectly can open up some security issues.</p>
<p>so, to get started try and run:</p>
<blockquote><p>:~$ aumix</p></blockquote>
<p>and if it&#8217;s not there, try</p>
<blockquote><p>:~$ sudo apt-get install aumix</p></blockquote>
<p> for Debian / Ubuntu or <br />
<blockquote>:~$ yum install aumix</p></blockquote>
<p> for Redhat / Centos / Fedora</p>
<p>Now that we have aumix installed, we want to find out the path to the executable as Cron doesn&#8217;t always use our environmental variables to find executables on our path. So type:</p>
<blockquote><p>:~$ which aumix<br />/usr/bin/aumix </p></blockquote>
<p>We can see it&#8217;s in /usr/bin/aumix</p>
<p>So, kick-off your music player and try playing some music or other audio then run the following commands:</p>
<blockquote><p>:~$ aumix -v 0</p></blockquote>
<p>  then<br />
<blockquote>:~$ aumix -v 100</p></blockquote>
<p>The first command should have dropped your volume down to 0% and the second command should have taken it back to 100%. Now that we have that working, let&#8217;s add it to cron. For myself, I don&#8217;t want to be disturbed between 11pm and 7am, so following cron&#8217;s options, we have</p>
<p>minute-hour-day-month-weekday-command &#8211; and we use 24 hour format. An asterisk means run at every instance of that time period, so:<br /> * * * * * would mean every minute of every day, every month and<br /> 0 0 * * * would mean at midnight every day.</p>
<p>For myself, I want the 23rd hour of every day, every month for the volume to be set down and I want the 7th hour of every day for the volume to be returned to 90%. So we add this to our crontab:</p>
<blockquote><p>0 23 * * * /usr/bin/aumix -v 0<br />00 07 * * * /usr/bin/aumix -v 90</p></blockquote>
<p>To do so as a user, we use:</p>
<blockquote><p>:~$ crontab -e</p></blockquote>
<p>Now if your default editor is vim / vi and you have never used it before, you will need to learn a little vi before we get started. When the editor opens, type <i> to enter insert mode allowing you to copy and paste the above code and modify for your needs, when you are finished editing, press esc then VV to save the file and exit.</p>
<p>If the above vi / vim is too difficult, then you can make nano your default editor (if it&#8217;s not already)</p>
<p></i><br />
<blockquote><i>:~$ EDITOR=/usr/bin/nano</i></p></blockquote>
<p><i> and then run <br /></i><br />
<blockquote><i>:~$ crontab -e</i></p></blockquote>
<p><i></p>
<p>Nano is a simplistic editor with the basic instructions displayed at the bottom of the screen.</p>
<p>So, there you have the very basics of Cron administration &#8211; ie: the Task Scheduler of Linux and how to adjust your volume via the command line.</p>
<p>If you are looking for a GUI tool for Cron Administration, look no further than gnome-schedule:</p>
<p></i><br />
<blockquote><i>:~$ sudo apt-get install gnome-schedule</i></p></blockquote>
<p><i></p>
<p>here&#8217;s our beloved screenshot:</p>
<p></i>
<div align="center"><img style="max-width: 800px;" src="http://www.opensourcetutor.com/wp-content/uploads/2008/04/gnome-schedule.png" /></div>
<p>for raising and lowering the volume.</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/volume" rel="tag">volume</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/crontab" rel="tag">crontab</a>, <a class="performancingtags" href="http://technorati.com/tag/automation" rel="tag">automation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

