<?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>An It-Slave in the digital saltmine &#187; Ubuntu</title>
	<atom:link href="http://www.it-slav.net/blogs/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.it-slav.net/blogs</link>
	<description>Another Blog from a Geek that has no life</description>
	<lastBuildDate>Fri, 02 Jul 2010 07:33:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Share your internet connection</title>
		<link>http://www.it-slav.net/blogs/2010/02/12/share-your-internet-connection/</link>
		<comments>http://www.it-slav.net/blogs/2010/02/12/share-your-internet-connection/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:32:06 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1592</guid>
		<description><![CDATA[&#160;
Background
I&#160;was with my geekfriends at a ski resort and I&#160;managed to get an Internet connection using a cellphone. Of course I&#160;wanted to share it with my friends. As geeks we brought a switch and a couple of ethernetcables.
&#160;
Solution
Using this script on a Ubuntu 9.10 I&#160;managed to share my connection:

sudo ifconfig eth0 10.8.16.1
sudo sysctl -w net.ipv4.ip_forward=1
sudo [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>I&nbsp;was with my geekfriends at a ski resort and I&nbsp;managed to get an Internet connection using a cellphone. Of course I&nbsp;wanted to share it with my friends. As geeks we brought a switch and a couple of ethernetcables.</p>
<p>&nbsp;</p>
<h2>Solution</h2>
<p>Using this script on a Ubuntu 9.10 I&nbsp;managed to share my connection:</p>
<pre>
sudo ifconfig eth0 10.8.16.1
sudo sysctl -w net.ipv4.ip_forward=1
sudo sysctl -w net.ipv4.conf.default.forwarding=1
sudo sysctl -w net.ipv4.conf.all.forwarding=1
sudo iptables -P FORWARD ACCEPT
sudo iptables --table nat -A POSTROUTING -o ppp0 -j MASQUERADE</pre>
<p>Conmnect everymachine with the switch and the clients just needed to use a 10.0.0.0/8 network adress and add 10.8.16.1 as default gateway and it works!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/02/12/share-your-internet-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Bluetooth phone to connect to Internet on Linux</title>
		<link>http://www.it-slav.net/blogs/2010/01/31/use-bluetooth-phone-to-connect-to-internet-on-linux/</link>
		<comments>http://www.it-slav.net/blogs/2010/01/31/use-bluetooth-phone-to-connect-to-internet-on-linux/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 18:50:52 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Bluetoth]]></category>
		<category><![CDATA[Cell Phone]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Phone]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1567</guid>
		<description><![CDATA[My laptop and cellular phone has both Bluetooth and it has annoyed me for a while that I have not managed to get a working Internet connection using Bluetooth. I have only managed to get it working with a USB&#160;cable between my phone and laptop.
&#160;
After some Google search and reading of man pages I finally [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop and cellular phone has both Bluetooth and it has annoyed me for a while that I have not managed to get a working Internet connection using Bluetooth. I have only managed to get it working with a USB&nbsp;cable between my phone and laptop.</p>
<p>&nbsp;</p>
<p>After some Google search and reading of man pages I finally get it working.</p>
<p><span id="more-1567"></span></p>
<p>&nbsp;</p>
<p>My setup is a <a href="http://www.it-slav.net/blogs/2009/11/19/review-nokia-e52/" target="_blank">Nokia E52</a> and a IBM T60 laptop running Ubuntu 9.10. I have tested it with a Ericsson P1i and a Dell D630 aswell and I think the guidlines below will work with many other setups. One exception is probably iPhone <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>From a bash shell run:</p>
<pre>
peter@svarten:~$ sdptool search DUN
Inquiring ...
Searching for DUN on A8:7E:33:20:40:0F ...
Service Name: Dial-Up Networking
Service RecHandle: 0x10030
Service Class ID List:
  &quot;Dialup Networking&quot; (0x1103)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 5
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  &quot;Dialup Networking&quot; (0x1103)
    Version: 0x0100

peter@svarten:~$ sudo rfcomm connect 1 A8:7E:33:20:40:0F 5
[sudo] password for peter:
Connected /dev/rfcomm1 to A8:7E:33:20:40:0F on channel 5
Press CTRL-C for hangup
</pre>
<p>Now my phone asks if I accept the connection and I choose &quot;yes&quot;.</p>
<p>&nbsp;</p>
<p>And now the networkmanager has a new &quot;Mobile Broadband connection&quot;. Just choose your operator and it will work.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/01/31/use-bluetooth-phone-to-connect-to-internet-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto turn on and off services permanently in Ubuntu</title>
		<link>http://www.it-slav.net/blogs/2009/09/24/howto-turn-on-and-off-services-permanently-in-ubuntu/</link>
		<comments>http://www.it-slav.net/blogs/2009/09/24/howto-turn-on-and-off-services-permanently-in-ubuntu/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 19:08:10 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1367</guid>
		<description><![CDATA[In RedHat, CentOs and Suse and probaly other Linux distributions, the way of enabling and disabling a service at reboot is by using chkconfig.  In ubuntu, the way of turning on and off a services at boot is by using update-rc.d.  It changes the links for the init scripts.
&#160;
To start a script in [...]]]></description>
			<content:encoded><![CDATA[<p>In RedHat, CentOs and Suse and probaly other Linux distributions, the way of enabling and disabling a service at reboot is by using chkconfig.  In ubuntu, the way of turning on and off a services at boot is by using update-rc.d.  It changes the links for the init scripts.</p>
<p>&nbsp;</p>
<p>To start a script in the default run levels:</p>
<pre>
sudo update-rc.d appname defaults</pre>
<p>To remove a script from all runlevels:</p>
<pre>
sudo update-rc.d appname remove</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/09/24/howto-turn-on-and-off-services-permanently-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Wordpress permalinks on the fly.</title>
		<link>http://www.it-slav.net/blogs/2009/08/20/change-wordpress-permalinks-on-the-fly/</link>
		<comments>http://www.it-slav.net/blogs/2009/08/20/change-wordpress-permalinks-on-the-fly/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 17:36:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[permalinks]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1191</guid>
		<description><![CDATA[I have moved my blog from one system to another and at the same time upgrade to the latest and greatest Wordpress version. Using the default link structure in Wordpress gives links like: http://www.it-slav.net/blogs/?p=115 when a more logical link name is: http://www.it-slav.net/blogs/2008/11/17/op5-monitor-or-nagios-plugins-for-1-wire-temperature-measurement/
The more logical name gives date and title of the blog post instead of [...]]]></description>
			<content:encoded><![CDATA[<p>I have moved my blog from one system to another and at the same time upgrade to the latest and greatest Wordpress version. Using the default link structure in Wordpress gives links like: <a href="http://www.it-slav.net/blogs/?p=115" target="_self">http://www.it-slav.net/blogs/?p=115</a> when a more logical link name is: <a href="http://www.it-slav.net/blogs/2008/11/17/op5-monitor-or-nagios-plugins-for-1-wire-temperature-measurement/" target="_blank">http://www.it-slav.net/blogs/2008/11/17/op5-monitor-or-nagios-plugins-for-1-wire-temperature-measurement/</a></p>
<p>The more logical name gives date and title of the blog post instead of a cryptic number.  Changing from one to another is rather simple, just change it in the wordpress settings, but there is several drawbacks:</p>
<ul>
<li>Referers stop working, if someone is refering to your pages they will stop working until someone updates the link</li>
<li>Search engines will refer to the wrong page until the pages are indexed again and very likely the rank will drop</li>
<li>Wordpress internal references will stop working, so the mainpage links will stop working. This is real stupid and I do not understand why Wordpress behaves like this.</li>
</ul>
<p>The solution is to install the plugin&nbsp; &quot;<a href="http://www.microkid.net/wordpress/permalinks-moved-permanently/" target="_blank">Permalinks Moved Permanently</a>&quot; which fixes this problem, make sure that the webserver allows rewrite.</p>
<p>&nbsp;</p>
<p>Links</p>
<ul>
<li>The plugin used <a href="http://www.microkid.net/wordpress/permalinks-moved-permanently/" target="_blank">Permalinks Moved Permanently</a></li>
<li>A webpage describing howto <a href="http://ubuntuforums.org/showthread.php?t=255556" target="_blank">enable mod_rewrite for Ubuntu Server</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/08/20/change-wordpress-permalinks-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webex on Ubuntu 9.04</title>
		<link>http://www.it-slav.net/blogs/2009/07/03/webex-on-ubuntu-904/</link>
		<comments>http://www.it-slav.net/blogs/2009/07/03/webex-on-ubuntu-904/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:07:21 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[webex]]></category>
		<category><![CDATA[webex ubuntu]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1167</guid>
		<description><![CDATA[At op5 we are using Webex as conferance tool. I&#8217;ve been struggeling to get it running on Ubuntu 9.04 and I have finally got it to work.
Just run:

sudo apt-get install ubuntu-restricted-extras
sudo apt-get install libstdc++5
and now it works perfectly well.
]]></description>
			<content:encoded><![CDATA[<p>At op5 we are using Webex as conferance tool. I&rsquo;ve been struggeling to get it running on Ubuntu 9.04 and I have finally got it to work.</p>
<p>Just run:</p>
<pre>
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install libstdc++5</pre>
<p>and now it works perfectly well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/07/03/webex-on-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Install and configure SNMP on Ubuntu</title>
		<link>http://www.it-slav.net/blogs/2009/02/05/install-and-configure-snmp-on-ubuntu/</link>
		<comments>http://www.it-slav.net/blogs/2009/02/05/install-and-configure-snmp-on-ubuntu/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 19:44:08 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[SNMP Ubuntu]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=697</guid>
		<description><![CDATA[This guide describe howto install and configure SNMP on Ubuntu.
In an earlier article I have described howto set it up on RHES or CentOS, it is slightly different in Ubuntu.
&#160;
&#160;
1.Installation

root@ibsen:~# sudo apt-get install snmpd
Reading package lists... Done
Building dependency tree&#160;&#160;&#160;&#160;&#160;&#160;
Reading state information... Done
The following packages were automatically installed and are no longer required:
&#160; libmpich1.0gf libdc1394-22 genisoimage [...]]]></description>
			<content:encoded><![CDATA[<p>This guide describe howto install and configure SNMP on Ubuntu.</p>
<p>In an earlier <a href="http://www.it-slav.net/blogs/?p=250" target="_blank">article</a> I have described howto set it up on RHES or CentOS, it is slightly different in Ubuntu.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>1.Installation</h3>
<pre>
root@ibsen:~# sudo apt-get install snmpd
Reading package lists... Done
Building dependency tree&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Reading state information... Done
The following packages were automatically installed and are no longer required:
&nbsp; libmpich1.0gf libdc1394-22 genisoimage linux-headers-2.6.27-7 libgfortran2 dvd+rw-tools linux-headers-2.6.27-7-generic libcarp-clan-perl libxml-xql-perl libparse-yapp-perl
&nbsp; rdate python-xml localechooser-data gcc-4.2-base libimage-size-perl libdebconfclient0 libvisual-0.4-0 libmyth-python perlmagick libvisual-0.4-plugins libavdevice52
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
&nbsp; libperl5.10 libsensors3 libsnmp-base libsnmp15
Suggested packages:
&nbsp; lm-sensors
The following NEW packages will be installed:
&nbsp; libperl5.10 libsensors3 libsnmp-base libsnmp15 snmpd
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 2463kB of archives.
After this operation, 7987kB of additional disk space will be used.
Do you want to continue [Y/n]? </pre>
<p>answer y</p>
<p><span id="more-697"></span></p>
<p>&nbsp;</p>
<h3>2. Configuration</h3>
<p>Move existing /etc/snmp/snmpd.conf configuration file to /etc/snmp/snmpd.conf.org</p>
<pre>
mv /etc/snmp/snmpd.conf  /etc/snmp/snmpd.conf.org</pre>
<p>Create a new /etc/snmp/snmpd.conf file:</p>
<pre>
rocommunity&nbsp; public
syslocation&nbsp; &quot;PDC, Peters DataCenter&quot;
syscontact&nbsp; peter@it-slav.net</pre>
<p>Make snmpd use the newly created file and make it listen to all interfaces:</p>
<p>Edit /etc/default/snmpd</p>
<p>Change from:</p>
<pre>
# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'</pre>
<p>To:</p>
<pre>
# snmpd options (use syslog, close stdin/out/err).
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid -c /etc/snmp/snmpd.conf'</pre>
<p>and restart snmpd</p>
<pre>
/etc/init.d/snmpd restart</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>3. Test</h3>
<p>Do a snmpwalk from another host against your newly configured host.</p>
<pre>
[root@op5 ~]# snmpwalk -v 1 -c public -O e ibsen
SNMPv2-MIB::sysDescr.0 = STRING: Linux ibsen 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (68869) 0:11:28.69
SNMPv2-MIB::sysContact.0 = STRING: peter@it-slav.net
SNMPv2-MIB::sysName.0 = STRING: ibsen
SNMPv2-MIB::sysLocation.0 = STRING: &quot;PDC, Peters DataCenter&quot;
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip</pre>
<p>Yes it works!!</p>
<p>&nbsp;</p>
<h3>4. Monitor example</h3>
<p>Below is an example of how it looks using <a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> a Nagios based Enterprise Monitor solution.</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2009/02/optimussnmp-eth0.png"><img width="602" height="192" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/02/optimussnmp-eth0.png" alt="" title="optimussnmp-eth0" class="aligncenter size-full wp-image-1683" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>5. Useful links</h3>
<ul>
<li><a href="http://www.op5.com/op5/products/network-statistics">op5 Statistics</a>, a cacti based graph tool</li>
<li><a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a>, an Enterprise Class Monitoring system based on Nagios</li>
<li><a href="http://www.net-snmp.org">Net-SNMP</a>, an open source implementation of SNMP</li>
<li><a href="http://www.cacti.net/">Cacti</a>, an open source graph tool</li>
<li><a href="http://www.nagios.org">Nagios</a>, the number 1 monitor tool</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/02/05/install-and-configure-snmp-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>New MythTV system part 2 backend configuration</title>
		<link>http://www.it-slav.net/blogs/2009/01/28/new-mythtv-system-part-2-backend-configuration/</link>
		<comments>http://www.it-slav.net/blogs/2009/01/28/new-mythtv-system-part-2-backend-configuration/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 20:25:26 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[mythbuntu]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=609</guid>
		<description><![CDATA[Part1 can be found here.
Start

To configure the newly installed MythTV system run:
mythtv-setup
The settings will we be default if nothing else is mentioned.

1. General settings
In general settings change the Ip-adress from 127.0.0.1 to the real ip-adress. This makes it possible for a frontend system on the network to communicate with with the backend.
Security PIN: 0000 (means [...]]]></description>
			<content:encoded><![CDATA[<p>Part1 can be found <a href="http://www.it-slav.net/blogs/?p=596" target="_blank">here</a>.</p>
<h2>Start<br />
</h2>
<p>To configure the newly installed <a href="http://www.mythtv.org/" target="_blank">MythTV</a> system run:</p>
<pre>mythtv-setup</pre>
<p>The settings will we be default if nothing else is mentioned.</p>
<p><span id="more-609"></span></p>
<h3>1. General settings</h3>
<p>In general settings change the Ip-adress from 127.0.0.1 to the real ip-adress. This makes it possible for a frontend system on the network to communicate with with the backend.</p>
<p>Security PIN: 0000 (means no security)</p>
<p>TV format: choose the one you have, in my case PAL-BG</p>
<p>Channel frequency table: europe-west</p>
<p><br class="spacer_" /></p>
<h3>2.Capture cards</h3>
<p>This is were the TV card is configured. I did the mistake to use v4l Hauppgage PVR-350 driver which was the suggested driver. That did not work. Use MPEG Hauppgage PVR-350 driver instead where the builtin MPEG decoder will be used, thats why I could use such modest CPU PIII 800Mhz.</p>
<p><br class="spacer_" /></p>
<h3>3. Video sources</h3>
<p>When entering this menu, the mythtv system scans for grabbers. Unfortunately there is a timeout of 25 seconds and my hardware do not deliver the list of all grabbers in that time. The result is that no grabbers show up. The workaround is to move all the XMLTV grabbers to another directory except the one I will use:</p>
<pre>cd /usr/bin</pre>
<pre>sudo mkdir tv_grabbackup/</pre>
<pre>sudo mv tv_grab_* tv_grabbackup/</pre>
<pre>sudo mv tv_grabbackup/tv_grab_se_swedb .</pre>
<p>Name a new grabber i.e. Sweden and next.</p>
<p>Now the MythTV system appear to hang but with alt-tab you can change to a newly open terminal window.</p>
<p>Answer yes to all the channels you have.</p>
<p>In my case I found a list at http://www.comhem.se/ and it looked like this:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<h3><span>Fasta kanaler</span></h3>
</td>
</tr>
<tr>
<td><span>SVT 1 Analog</span></td>
<td><span>VHF 5</span></td>
</tr>
<tr>
<td><span>SVT 2 Analog</span></td>
<td><span>VHF 7</span></td>
</tr>
<tr>
<td><span>TV4 Analog</span></td>
<td><span>VHF 6</span></td>
</tr>
<tr>
<td><span>Lokalkanal</span></td>
<td><span>VHF 9</span></td>
</tr>
<tr>
<td colspan="2">
<p><br class="spacer_" /></p>
<h3><span>Rörliga kanaler</span></h3>
</td>
</tr>
<tr>
<td><span>TV3</span></td>
<td><span>VHF 11</span></td>
</tr>
<tr>
<td><span>Kanal 5</span></td>
<td><span>S 11</span></td>
</tr>
<tr>
<td><span>TV4 Sport</span></td>
<td><span>S 17</span></td>
</tr>
<tr>
<td><span>Kanal 9</span></td>
<td><span>S 36</span></td>
</tr>
<tr>
<td><span>MTV</span></td>
<td><span>S 16</span></td>
</tr>
<tr>
<td><span>TV6</span></td>
<td><span>VHF 8</span></td>
</tr>
<tr>
<td colspan="2">
<p><br class="spacer_" /></p>
<h3><span>Radiokanaler</span></h3>
</td>
</tr>
<tr>
<td><span>Samtliga på FM-bandet mellan 87,0-108,0 MHz</span></td>
<td></td>
</tr>
<tr>
<td><span>P1</span></td>
<td></td>
</tr>
<tr>
<td><span>P2</span></td>
<td></td>
</tr>
<tr>
<td><span>P3</span></td>
<td></td>
</tr>
<tr>
<td><span>P4</span></td>
<td></td>
</tr>
<tr>
<td><span>Samt inom området förekommande närradio stationer</span></td>
<td></td>
</tr>
<tr>
<td colspan="2">
<p><br class="spacer_" /></p>
<h3><span>Extra kanaler</span></h3>
</td>
</tr>
<tr>
<td><span>SVT24</span></td>
<td><span>VHF 10</span></td>
</tr>
<tr>
<td><span>SVT Barn&amp;Kunskap</span></td>
<td><span>S 13</span></td>
</tr>
<tr>
<td><span>TV8</span></td>
<td><span>K57</span></td>
</tr>
<tr>
<td><span>FTV</span></td>
<td><span>S 12</span></td>
</tr>
<tr>
<td><span>TV4 Plus</span></td>
<td><span>S 14</span></td>
</tr>
<tr>
<td><span>Upplåten kanal</span></td>
<td><span>S 6</span></td>
</tr>
</tbody>
</table>
<p><br class="spacer_" /></p>
<h3>4. Input connections</h3>
<p>Choose the correct input hardware to the grabber, in my case:</p>
<p>MPEG: /dev/video0 (Tuner1) -&gt; Sweden</p>
<p><br class="spacer_" /></p>
<h3>5. Channel editor</h3>
<p>I managed to get my MythTV system to scan all the frequenses. The list created was not in the same format as the list from my Cable TV provider.</p>
<p>After analysing the list I figured out that the following channelnumbers matched the list above:</p>
<p>Kanal 5  SE11</p>
<p>Kanal 9  S36</p>
<p>MTV      SE16</p>
<p>TV4 Plus   SE14</p>
<p>TV4Sport  SE17</p>
<p>SVT1  E5</p>
<p>SVT2   E7</p>
<p>SVT 24   E10</p>
<p>SVT Kunskapskanalen/Barnkanalen   SE13</p>
<p>TV3   E11</p>
<p>TV4   E6</p>
<p>TV6   E8</p>
<p>Go in to every channel and enter the channelnumber.</p>
<p><br class="spacer_" /></p>
<h3>6.Storage Directories</h3>
<p>I did not change anything here</p>
<h2>Wrap it up<br />
</h2>
<p>After configured the mythtvbackend, run:</p>
<p>mythfilldatabase &#8211;manual</p>
<p>Answer default to all of the questions.</p>
<p><br class="spacer_" /></p>
<h3>MySQL access from the frontend to the backend</h3>
<p>The frontend must be able to access the MySQL running at the backend. To provide that run the following commands:</p>
<p>mysql -u root mythconverg<br />
 mysql&gt; grant all on mythconverg.* to mythtv@&#8221;%&#8221; identified by &#8220;mythtv&#8221;;<br />
 mysql&gt; flush privileges;</p>
<p><strong>Note</strong>: This will let any machine have access to your MythTV database and should only be used in a controlled environment.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Congratulations, now you have configured your MythTV backend system.</p>
<p>Next step will be configure the Xbox frontend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/01/28/new-mythtv-system-part-2-backend-configuration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New MythTV system part 1</title>
		<link>http://www.it-slav.net/blogs/2009/01/23/new-mythtv-system/</link>
		<comments>http://www.it-slav.net/blogs/2009/01/23/new-mythtv-system/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 07:52:27 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=596</guid>
		<description><![CDATA[My MythTV systems root disk crashed so I need to reinstall it. I will keep my progress posted in this blog.
The Backend hardware:

IBM Desktop
PIII 800Mhz
512 Mb memory
120 Gb disk
Hauppauge PVR-350

The frontend hardware is an old Xbox, with XBMC.
I downloaded Mythbuntu and installed it on the MythTV backend system.
During boot my TV card was detected and [...]]]></description>
			<content:encoded><![CDATA[<p>My MythTV systems root disk <a href="http://www.it-slav.net/blogs/?p=589" target="_blank">crashed</a> so I need to reinstall it. I will keep my progress posted in this blog.</p>
<p>The Backend hardware:</p>
<ul>
<li>IBM Desktop</li>
<li>PIII 800Mhz</li>
<li>512 Mb memory</li>
<li>120 Gb disk</li>
<li>Hauppauge PVR-350</li>
</ul>
<p>The frontend hardware is an old Xbox, with XBMC.</p>
<p>I downloaded <a href="http://www.mythbuntu.org" target="_blank">Mythbuntu</a> and installed it on the MythTV backend system.</p>
<p>During boot my TV card was detected and the firmware was loaded, last time this took several nights to understand.</p>
<p><br class="spacer_" /></p>
<p>dmesg gives:</p>
<pre>--snipp--
[   18.764273] Linux video capture interface: v2.00
[   19.191631] ivtv:  Start initialization, version 1.4.0
[   19.191999] ivtv0: Initializing card #0
[   19.192060] ivtv0: Autodetected Hauppauge card (cx23415 based)
[   19.245036] ivtv 0000:01:0d.0: enabling device (0000 -&gt; 0002)
[   19.245073] ivtv 0000:01:0d.0: PCI INT A -&gt; GSI 21 (level, low) -&gt; IRQ 21
[   19.245098] ivtv 0000:01:0d.0: setting latency timer to 64
[   19.299891] tveeprom 0-0050: Hauppauge model 48134, rev J347, serial# 2756181
[   19.299905] tveeprom 0-0050: tuner model is LG TP18PSB01D (idx 47, type 28)
[   19.299915] tveeprom 0-0050: TV standards PAL(B/G) (eeprom 0x04)
[   19.299925] tveeprom 0-0050: audio processor is MSP4418 (idx 25)
[   19.299935] tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
[   19.299944] tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
[   19.299954] ivtv0: Autodetected Hauppauge WinTV PVR-350</pre>
<pre>--snip--</pre>
<pre>[   21.864260] saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
[   21.888601] msp3400 0-0040: MSP4418G-A2 found @ 0x80 (ivtv i2c driver #0)
[   21.888614] msp3400 0-0040: msp3400 supports nicam and radio, mode is autodetect and autoselect
[   21.898458] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   22.203952] tuner-simple 0-0061: creating new instance
[   22.203968] tuner-simple 0-0061: type set to 28 (LG PAL_BG+FM (TPI8PSB01D))
[   22.217306] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[   22.217591] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[   22.217780] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[   22.217962] ivtv0: Registered device video24 for encoder PCM (320 kB)
[   22.218140] ivtv0: Registered device radio0 for encoder radio
[   22.218319] ivtv0: Registered device video16 for decoder MPG (1024 kB)
[   22.218489] ivtv0: Registered device vbi8 for decoder VBI (64 kB)
[   22.218661] ivtv0: Registered device vbi16 for decoder VOUT
[   22.218875] ivtv0: Registered device video48 for decoder YUV (1024 kB)
[   22.218886] ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
[   22.220588] ivtv:  End initialization
--snipp--</pre>
<pre>[   46.100093] firmware: requesting v4l-cx2341x-enc.fw
[   46.423446] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   46.423590] firmware: requesting v4l-cx2341x-dec.fw
[   46.567632] ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[   46.764454] ivtv0: Encoder revision: 0x02060039
[   46.764597] ivtv0: Decoder revision: 0x02020023
[   46.831434] firmware: requesting v4l-cx2341x-init.mpg
[   46.939513] ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)</pre>
<p>The next step is to configure my newly installed system.<br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/01/23/new-mythtv-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>64 bit vs 32 bit</title>
		<link>http://www.it-slav.net/blogs/2009/01/20/64-bit-vs-32-bit/</link>
		<comments>http://www.it-slav.net/blogs/2009/01/20/64-bit-vs-32-bit/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 18:46:41 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[32 bit]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=579</guid>
		<description><![CDATA[I have a modern laptop with 4Gb memory so in theory I should gain from running 64 bit Linux.
I installed Ubuntu 8.10 Desktop x86_64 and had som problems with:

Java based webpages 
Flash 

I spend several hours with google and tested several versions av java and flash plugins. I managed to get flash running but it [...]]]></description>
			<content:encoded><![CDATA[<p>I have a modern laptop with 4Gb memory so in theory I should gain from running 64 bit Linux.</p>
<p>I installed Ubuntu 8.10 Desktop x86_64 and had som problems with:</p>
<ul>
<li>Java based webpages </li>
<li>Flash </li>
</ul>
<p>I spend several hours with google and tested several versions av java and flash plugins. I managed to get flash running but it was incredible unstable and java never worked. Both were installed as 32 bit applications.</p>
<p><br class="spacer_" /></p>
<p>I reinstalled and used Ubuntu 8.10 Desktop i386 instead and went to a flash page and installed acrobat flash player plugin from the suggestions that poped up and the same with java. It worked perfectly well.</p>
<p>We run WebEx as a conference application at op5 and they say that any day they will have a Linux 32 bit client, so that is another reason to use 32 bit Linux. Otherwise I have to install a virtual windows just for one application.</p>
<p><br class="spacer_" /></p>
<p>This really show why interoperability is important and why open standards should be used. As far as I understand Java is GPLd these days so why a 64 bit version does not exist is something I do not understand or if it exist why did it install a 32 bit version? Why does not Acrobat release their flashplayer as opensource?</p>
<p><br class="spacer_" /></p>
<p>Well, now I&#8217;m stucked with using only 3.6 Gb of memory but the application works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/01/20/64-bit-vs-32-bit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Use your P1i as a modem with Ubuntu</title>
		<link>http://www.it-slav.net/blogs/2008/11/28/use-your-p1i-as-a-modem-with-ubuntu/</link>
		<comments>http://www.it-slav.net/blogs/2008/11/28/use-your-p1i-as-a-modem-with-ubuntu/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 09:53:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[GSM]]></category>
		<category><![CDATA[modem]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=160</guid>
		<description><![CDATA[I have a Ericsson P1I and sometimes I use it to connect to internet.
I found an excellent how to get it running at:
http://bayanijuan.blogspot.com/2007/09/howto-connect-to-internet-using-se.html
It will work with several phones and many Linux flavors.

]]></description>
			<content:encoded><![CDATA[<p>I have a Ericsson P1I and sometimes I use it to connect to internet.</p>
<p>I found an excellent how to get it running at:</p>
<p><a href="http://bayanijuan.blogspot.com/2007/09/howto-connect-to-internet-using-se.html" target="_blank">http://bayanijuan.blogspot.com/2007/09/howto-connect-to-internet-using-se.html</a></p>
<p>It will work with several phones and many Linux flavors.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/11/28/use-your-p1i-as-a-modem-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
