<?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>...Details...</title>
	<atom:link href="http://blog.deepreflect.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.deepreflect.net</link>
	<description>Thoughts that&#039;s escape, only details.</description>
	<lastBuildDate>Mon, 14 May 2012 00:57:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Remote Desktop Licensing service to fail to start</title>
		<link>http://blog.deepreflect.net/2012/05/14/remote-desktop-licensing-service-to-fail-to-start/</link>
		<comments>http://blog.deepreflect.net/2012/05/14/remote-desktop-licensing-service-to-fail-to-start/#comments</comments>
		<pubDate>Mon, 14 May 2012 00:49:28 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Daemon]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[licence]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1191</guid>
		<description><![CDATA[Remote Desktop Licensing service to fail to start, with error code %%-1073672191. The Terminal Services Licensing service cannot start. The following error occurred: Can&#8217;t initialize Cryptographic &#8211; error code 5. Sometime happens a problem with Remote Desktop Licensing services not starting. The Terminal Licensing MachineKeys have permissions for Administrators and/or TermServLicensing  but the service starts using the &#8220;Network Service&#8221; account&#8230; Why?????? You can fix the problem [...]]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop Licensing service to fail to start, with error code %%-1073672191.</p>
<p>The Terminal Services Licensing service cannot start. The following error occurred: Can&#8217;t initialize Cryptographic &#8211; error code 5.</p>
<p>Sometime happens a problem with Remote Desktop Licensing services not starting.<br />
The Terminal Licensing MachineKeys have permissions for Administrators and/or TermServLicensing  but the service starts using the &#8220;Network Service&#8221; account&#8230; Why??????</p>
<p>You can fix the problem adding Network Service account (read only privileges it&#8217;s ok), on follow directory (you can force ownership propagation for reapply the correct privilege tree):</p>
<p>C:\Documents and Settings\all users\Application Data\Microsoft\Crypto\RSA\MachineKeys</p>
<p>Then the service start, correctly.</p>
<p>&nbsp;</p>
<p>For further information you can take a look at microsoft KB:</p>
<p>Default permissions for the MachineKeys folders:</p>
<p>http://support.microsoft.com/kb/278381</p>
<p>http://msdn.microsoft.com/en-us/library/bb909654%28v=vs.90%29.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/05/14/remote-desktop-licensing-service-to-fail-to-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lotus Domino server linux process 100% CPU usage</title>
		<link>http://blog.deepreflect.net/2012/04/30/lotus-domino-server-linux-process-100-cpu-usage/</link>
		<comments>http://blog.deepreflect.net/2012/04/30/lotus-domino-server-linux-process-100-cpu-usage/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 23:37:23 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Daemon]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[high]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lotus domino]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1184</guid>
		<description><![CDATA[There was a kernel change from version 2.6.x that causes statistics to suck 100% of CPU, even though the system is lightly loaded, that cause a server crash when loading platform statistics You can disable this feature by adding this to your notes.ini and restarting the Domino server. PLATFORM_STATISTICS_DISABLED=1]]></description>
			<content:encoded><![CDATA[<p>There was a kernel change from version 2.6.x that causes statistics to suck 100% of CPU, even though the system is lightly loaded, that cause a server crash when loading platform statistics</p>
<p>You can disable this feature by adding this to your notes.ini and restarting the Domino server.<br />
PLATFORM_STATISTICS_DISABLED=1</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/04/30/lotus-domino-server-linux-process-100-cpu-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovery HFS partition table</title>
		<link>http://blog.deepreflect.net/2012/03/25/recovery-hfs-partition-table/</link>
		<comments>http://blog.deepreflect.net/2012/03/25/recovery-hfs-partition-table/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 15:48:13 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[hfs]]></category>
		<category><![CDATA[lost]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[testdisk]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1175</guid>
		<description><![CDATA[First think, scan your damage disk with a tool like &#8220;testdisk&#8221; (http://www.cgsecurity.org/wiki/TestDisk) look for lost partitions, unfortunately HFS is not fully supported by this great tool, then you need to use pdisk or other partition software. Disk /dev/rdisk3 &#8211; 1000 GB / 931 GiB &#8211; CHS 121601 255 63 Partition Start End Size in sectors [...]]]></description>
			<content:encoded><![CDATA[<p>First think, scan your damage disk with a tool like &#8220;testdisk&#8221; (http://www.cgsecurity.org/wiki/TestDisk) look for lost partitions, unfortunately HFS is not fully supported by this great tool, then you need to use pdisk or other partition software.</p>
<blockquote><p>Disk /dev/rdisk3 &#8211; 1000 GB / 931 GiB &#8211; CHS 121601 255 63<br />
Partition Start End Size in sectors<br />
&gt;P HFS 262208 1953525151 1953262944</p></blockquote>
<p>In my case, I&#8217;ve used pdisk directly on OS X:</p>
<blockquote><p>leobook4-w:~ root# pdisk /dev/rdisk3<br />
pdisk: No valid block 1 on &#8216;/dev/rdisk3&#8242;<br />
Edit /dev/rdisk3 -<br />
Command (? for help): i<br />
A physical block is 512 bytes:<br />
A logical block is 512 bytes:<br />
size of &#8216;device&#8217; is 1953525168 blocks (512 byte blocks):<br />
new size of &#8216;device&#8217; is 1953525168 blocks (512 byte blocks)<br />
Command (? for help): c<br />
First block: 262208<br />
Length in blocks: 1953262944<br />
Name of partition: recover_leo<br />
Command (? for help): w<br />
Writing the map destroys what was there before. Is that okay? [n/y]: y<br />
The partition table has been altered!</p>
<p>Command (? for help): q</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/03/25/recovery-hfs-partition-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL &#8211; client connect</title>
		<link>http://blog.deepreflect.net/2012/03/02/openssl-client-connect/</link>
		<comments>http://blog.deepreflect.net/2012/03/02/openssl-client-connect/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 15:22:21 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1161</guid>
		<description><![CDATA[Memo for testing ssl/startls connection: StarTLS: [leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:25 -starttls smtp CONNECTED(00000003) [...] Verify return code: 0 (ok) --- 220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast! SSL: [leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:465 CONNECTED(00000003) [...] Verify return code: 0 (ok) --- 220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast!]]></description>
			<content:encoded><![CDATA[<p>Memo for testing ssl/startls connection:</p>
<p>StarTLS:</p>
<blockquote><p><code>[leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:25 -starttls smtp<br />
CONNECTED(00000003)</p>
<p>[...]</p>
<p>    Verify return code: 0 (ok)<br />
---<br />
220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast!</p>
<p></code></p></blockquote>
<p>SSL:</p>
<blockquote><p><code></p>
<p>[leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:465 </p>
<p>CONNECTED(00000003)</p>
<p>[...]</p>
<p>    Verify return code: 0 (ok)<br />
---<br />
220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast!<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/03/02/openssl-client-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux RHEL &#8211; Change hostname</title>
		<link>http://blog.deepreflect.net/2012/02/26/linux-rhel-change-hostname/</link>
		<comments>http://blog.deepreflect.net/2012/02/26/linux-rhel-change-hostname/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 07:26:11 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1156</guid>
		<description><![CDATA[3 step for change hostname to RHEL Linux: 1. edit: /etc/hosts 127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost 2. edit: /etc/sysconfig/network HOSTNAME=srv03.mil11.wide-net.org 3. past into kernel new hostname echo "srv03.mil1.wide-net.org" &#62; /proc/sys/kernel/hostname Or sysctl kernel.hostname=srv03.mil1.wide-net.org Consider a restart net services /etc/init.d/network restart but is not strictly required.]]></description>
			<content:encoded><![CDATA[<p>3 step for change hostname to RHEL Linux:</p>
<p>1. edit: /etc/hosts<br />
<code>127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost<br />
</code></p>
<p>2. edit: /etc/sysconfig/network<br />
<code>HOSTNAME=srv03.mil11.wide-net.org</code></p>
<p>3. past into kernel new hostname<br />
<code>echo "srv03.mil1.wide-net.org" &gt; /proc/sys/kernel/hostname</code></p>
<p>Or</p>
<p><code>sysctl kernel.hostname=srv03.mil1.wide-net.org</code></p>
<p>Consider a restart net services <code>/etc/init.d/network restart</code> but is not strictly required.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/02/26/linux-rhel-change-hostname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid Ubuntu &#8211; Grub recovery on RAID</title>
		<link>http://blog.deepreflect.net/2012/02/05/stupid-ubuntu-grub-recovery-on-raid/</link>
		<comments>http://blog.deepreflect.net/2012/02/05/stupid-ubuntu-grub-recovery-on-raid/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 17:18:29 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1152</guid>
		<description><![CDATA[I definitely hate Ubuntu, is not linux. root@ubuntu:~# cd /mnt root@ubuntu:/mnt# mkdir md1 root@ubuntu:/mnt# mount /dev/md1 /mnt/md1/ root@ubuntu:~# mount -o bind /sys /mnt/md1/sys root@ubuntu:~# mount -o bind /dev /mnt/md1/dev root@ubuntu:~# mount -o bind /proc /mnt/md1/proc root@ubuntu:~# chroot /mnt/md1 /bin/bash root@ubuntu:~# ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 9 2012-02-05 11:00 455c4bdc-37d5-46ef-bb8b-d5b50c9e4e9a -> ../../md1 [...]]]></description>
			<content:encoded><![CDATA[<p>I definitely hate Ubuntu, is not linux.</p>
<p><code></p>
<blockquote><p>root@ubuntu:~# cd /mnt<br />
root@ubuntu:/mnt# mkdir md1<br />
root@ubuntu:/mnt# mount /dev/md1 /mnt/md1/<br />
root@ubuntu:~# mount -o bind /sys /mnt/md1/sys<br />
root@ubuntu:~# mount -o bind /dev /mnt/md1/dev<br />
root@ubuntu:~# mount -o bind /proc /mnt/md1/proc<br />
root@ubuntu:~# chroot /mnt/md1 /bin/bash</p>
<p>root@ubuntu:~# ls -l /dev/disk/by-uuid/<br />
total 0<br />
lrwxrwxrwx 1 root root  9 2012-02-05 11:00 455c4bdc-37d5-46ef-bb8b-d5b50c9e4e9a -> ../../md1</p>
<p>root@ubuntu:/# vim /boot/grub/grub.cfg </p>
<p>root@ubuntu:/# update-grub<br />
Generating grub.cfg ...<br />
Found linux image: /boot/vmlinuz-2.6.32-33-generic-pae<br />
Found initrd image: /boot/initrd.img-2.6.32-33-generic-pae<br />
Found linux image: /boot/vmlinuz-2.6.32-28-generic-pae<br />
Found initrd image: /boot/initrd.img-2.6.32-28-generic-pae<br />
Found memtest86+ image: /boot/memtest86+.bin<br />
done<br />
root@ubuntu:/# grub-install /dev/sda<br />
Installation finished. No error reported.<br />
root@ubuntu:/# grub-install --recheck /dev/sda<br />
Installation finished. No error reported.</p>
<p>root@ubuntu:/# cfdisk /dev/sda</p></blockquote>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/02/05/stupid-ubuntu-grub-recovery-on-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AirOS &#8211; Rate Algorithm</title>
		<link>http://blog.deepreflect.net/2012/01/29/airos-rate-algorithm/</link>
		<comments>http://blog.deepreflect.net/2012/01/29/airos-rate-algorithm/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 19:48:04 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1148</guid>
		<description><![CDATA[Rate Algorithm: defines data rate algorithm convergence: Optimistic Algorithm is aggressive enough to move to a higher rate but yet tries to conservatively capture the fluctuations of the RSSI. It starts with the highest possible rate and then decreases till the rate can be supported while periodically transmitting packets at higher rates and computing the [...]]]></description>
			<content:encoded><![CDATA[<p>Rate Algorithm: defines data rate algorithm convergence:</p>
<p>Optimistic Algorithm is aggressive enough to move to a higher rate but yet tries to conservatively capture the fluctuations of the RSSI. It starts with the highest possible rate and then decreases till the rate can be supported while periodically transmitting packets at higher rates and computing the transmission time. The optimistic rate algorithm always looks to achieve highest throughput while sacrificing noise immunity and robustness.</p>
<p>Rate Algorithm selection<br />
Conservative Algorithm is less sensitive to individual packet failure as it is based on a function of number of successful and erroneous transmission/retransmission over a sampling period. It steps down to a lower rate after continuous packet failure and steps up after number of successful packets. The conservative rate algorithm provides the best case stability / robustness, but may compromise maximum throughput. It is recommended to select conservative rate algorithm when the signal strength is low due to noisy environment or link distance.</p>
<p>EWMA Algorithm is trying to move to a higher rate but is continuously monitoring the packet failure counters. The Exponential Weighted Moving Average (EWMA) Algorithm (also known as minstrel) is a hybrid of the Conservative and Optimistic Algorithm. It is the compromise for most of the wireless network use cases. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/01/29/airos-rate-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; Google Earth</title>
		<link>http://blog.deepreflect.net/2012/01/06/linux-google-earth/</link>
		<comments>http://blog.deepreflect.net/2012/01/06/linux-google-earth/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 18:56:47 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[earth]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1143</guid>
		<description><![CDATA[[leo@thinkleo2 ~]$ /opt/google/earth/free/google-earth Google Earth appears to be running already. Please kill the existing process, or delete /home/leo/.googleearth/instance-running-lock if this is an error. [leo@thinkleo2 ~]$ rm /home/leo/.googleearth/instance-running-lock [leo@thinkleo2 ~]$ /opt/google/earth/free/google-earth]]></description>
			<content:encoded><![CDATA[<p><code></p>
<blockquote><p>[leo@thinkleo2 ~]$ /opt/google/earth/free/google-earth<br />
Google Earth appears to be running already. Please kill the<br />
 existing process, or delete /home/leo/.googleearth/instance-running-lock if this is an error.<br />
[leo@thinkleo2 ~]$ rm /home/leo/.googleearth/instance-running-lock<br />
[leo@thinkleo2 ~]$ /opt/google/earth/free/google-earth
</p></blockquote>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2012/01/06/linux-google-earth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX &#8211; loopmount</title>
		<link>http://blog.deepreflect.net/2011/12/19/aix-loopmount/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/aix-loopmount/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 04:10:49 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[loopmount]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1133</guid>
		<description><![CDATA[Finally on aix 6.1 ibm have introduced mounting of iso directly without raw copy on lv: Check if necessary loopback device is available # lsdev -C &#124; grep loop if nothing returned, run: # mkdev -c loopback -s node -t loopback loop0 Available If the device is not present on system you get this error: [...]]]></description>
			<content:encoded><![CDATA[<p>Finally on aix 6.1 ibm have introduced mounting of iso directly without raw copy on lv:</p>
<p>Check if necessary loopback device is available </p>
<blockquote><p><code># lsdev -C | grep loop</code></p></blockquote>
<p>if nothing returned, run:</p>
<blockquote><p><code># mkdev -c loopback -s node -t loopback<br />
loop0 Available</code>
</p></blockquote>
<p>If the device is not present on system you get this error:</p>
<blockquote><p>1320-003 loopmount: Specified loopback device is not found in ODM</p></blockquote>
<p>Now for mount:</p>
<blockquote><p><code># loopmount -i /iso/dvd.iso -l loop0 -o "-V cdrfs -o ro" -m /mnt/dvd</code>
</p></blockquote>
<p>And umount:</p>
<blockquote><p><code># loopumount -l loop0 -m /mnt/dvd</code></p></blockquote>
<p>Attention: an image file can be associated with only one loopback device.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/aix-loopmount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIO &#8211; iso virtual DVD</title>
		<link>http://blog.deepreflect.net/2011/12/19/vio-iso-virtual-dvd/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/vio-iso-virtual-dvd/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 03:48:50 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[powervm]]></category>
		<category><![CDATA[vios]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=984</guid>
		<description><![CDATA[Example of PowerVM virtual dvd setup: login: padmin padmin's Password: 1 unsuccessful login attempt since last login. Last unsuccessful login: Mon Jan 31 18:51:28 CST 2011 on /dev/vty0 Last login: Mon Jan 31 18:28:29 CST 2011 on /dev/vty0 $ $ mkrep -sp rootvg -size 10G Virtual Media Repository Created Repository created within "VMLibrary" logical volume [...]]]></description>
			<content:encoded><![CDATA[<p>Example of PowerVM virtual dvd setup:</p>
<blockquote><p><code>login: padmin<br />
padmin's Password:<br />
1 unsuccessful login attempt since last login.<br />
Last unsuccessful login: Mon Jan 31 18:51:28 CST 2011 on /dev/vty0<br />
Last login: Mon Jan 31 18:28:29 CST 2011 on /dev/vty0</p>
<p>$<br />
$ mkrep -sp rootvg -size 10G<br />
Virtual Media Repository Created<br />
Repository created within "VMLibrary" logical volume<br />
$ mkvopt -name 6_1_6osp.iso -dev cd0 -ro<br />
$<br />
$ mkvdev -vadapter vhost1 -fbo -dev vcd1<br />
vcd0 Available<br />
$ loadopt -vtd vcd0 -disk 6_1_6osp.iso<br />
$ unloadopt -vtd vcd0</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/vio-iso-virtual-dvd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; IBM LinTape driver</title>
		<link>http://blog.deepreflect.net/2011/12/19/linux-ibm-lintape-driver/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/linux-ibm-lintape-driver/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 03:41:43 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[lintape]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lin_tape]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1082</guid>
		<description><![CDATA[If you need to user ibm lto tape drive inside IBM, Adic, Dell tapelibrary, with Tivoli Storage Manager is necessary to use Download latest driver from IBM Fixcentral: Storage Systems =&#62; Tape Systems =&#62; Tape device drivers and software =&#62; Linux Get two two RPMs (my system is an RHEL 5 on 32bit hardware) : [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to user ibm lto tape drive inside IBM, Adic, Dell tapelibrary, with Tivoli Storage Manager is necessary to use</p>
<p>Download latest driver from IBM Fixcentral:<br />
Storage Systems =&gt; Tape Systems =&gt; Tape device drivers and software =&gt; Linux</p>
<p>Get two two RPMs (my system is an RHEL 5 on 32bit hardware) :<br />
lin_tape-1.61.0-1.src.rpm &lt;== Kernel module<br />
lin_taped-1.61.0-rhel5.i386.rpm &lt;== Binary services</p>
<p>First step, rebuild the source:</p>
<blockquote><p><code># rpmbuild --rebuild lin_tape-1.61.0-1.src.rpm</code><br />
<code><br />
Installing lin_tape-1.61.0-1.src.rpm<br />
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.625<br />
+ umask 022<br />
+ cd /usr/src/redhat/BUILD<br />
+ cd /usr/src/redhat/BUILD<br />
+ rm -rf lin_tape-1.61.0<br />
+ /bin/gzip -dc /usr/src/redhat/SOURCES/lin_tape-1.61.0.tgz<br />
[cut]<br />
Wrote: /usr/src/redhat/RPMS/i386/lin_tape-1.61.0-1.i386.rpm<br />
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.18792<br />
+ umask 022<br />
+ cd /usr/src/redhat/BUILD<br />
+ cd lin_tape-1.61.0<br />
+ rm -rf /var/tmp/lin_tape-1.61.0-1-root-root<br />
+ exit 0<br />
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.18792<br />
+ umask 022<br />
+ cd /usr/src/redhat/BUILD<br />
+ rm -rf lin_tape-1.61.0<br />
+ exit 0</code></p></blockquote>
<p>Second step, install all:</p>
<blockquote><p><code># rpm -Uhv /usr/src/redhat/RPMS/i386/lin_tape-1.61.0-1.i386.rpm<br />
# rpm -Uhv lin_taped-1.61.0-rhel5.i386.rpm</code></p></blockquote>
<p>Last step, start service and check for the probed devices:</p>
<blockquote><p>
<code># /etc/init.d/lin_tape start</code></p>
<p><code># cat /proc/scsi/IBM*<br />
lin_tape version: 1.61.0<br />
lin_tape major number: 253<br />
Attached Changer Devices:<br />
Number  model       SN                HBA             SCSI            FO Path<br />
lin_tape version: 1.61.0<br />
lin_tape major number: 253<br />
Attached Tape Devices:<br />
Number  model       SN                HBA             SCSI            FO Path<br />
0       ULTRIUM-TD2 1110274799        Adaptec 29160B Ultra160 SCSI 2:0:1:0         NA<br />
1       ULTRIUM-TD2 1110275058        Adaptec 29160B Ultra160 SCSI 2:0:2:0         NA        </code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/linux-ibm-lintape-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX &#8211; lpp incosistent</title>
		<link>http://blog.deepreflect.net/2011/12/19/aix-lpp-incosistent/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/aix-lpp-incosistent/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 03:17:28 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[incosistency]]></category>
		<category><![CDATA[lpp]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1099</guid>
		<description><![CDATA[# lppchk –v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state: 9a33182fe26f1beae04e59e5cb6d3cdb 0.0.0.0 (COMMITTED) # lslpp -L Backup the ODM using the following command: # tar -cvf /tmp/odm.tar ./etc/objrepos ./usr/lib/objrepos # export ODMDIR=/usr/lib/objrepos # odmget -q name= lpp # odmdelete -q name= -o lpp # [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><code># lppchk –v</code></p></blockquote>
<p>lppchk:  The following filesets need to be installed or corrected to bring the system to a consistent state:<br />
9a33182fe26f1beae04e59e5cb6d3cdb 0.0.0.0 (COMMITTED)</p>
<blockquote><p><code># lslpp -L <long number></code></p></blockquote>
<p>Backup the ODM using the following command:</p>
<blockquote><p><code># tar -cvf /tmp/odm.tar ./etc/objrepos ./usr/lib/objrepos<br />
# export ODMDIR=/usr/lib/objrepos<br />
# odmget -q name=<filename> lpp<br />
# odmdelete -q name=<filename> -o lpp<br />
# odmdelete -q lpp_name=<filename> -o product<br />
# odmdelete -q lpp_id=<ID from command above> -o history<br />
# odmdelete -q lpp_id=<ID from command above> -o inventory<br />
# export ODMDIR=/etc/objrepos<br />
# odmdelete -q name=<filename> -o lpp<br />
# odmdelete -q lpp_name=<filename> -o product<br />
# odmdelete -q lpp_id=<ID from command above> -o history<br />
# odmdelete -q lpp_id=<ID from command above> -o inventory<br />
# export ODMDIR=/etc/objrepos<br />
</code></p></blockquote>
<p>Check lppchk -v again to see if those entries are gone from ODM</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/aix-lpp-incosistent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX &#8211; Warning, savebase failed</title>
		<link>http://blog.deepreflect.net/2011/12/19/aix-warning-savebase-failed/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/aix-warning-savebase-failed/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 03:05:23 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[savebase]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1037</guid>
		<description><![CDATA[0516-1734 extendlv: Warning, savebase failed. Please manually run &#8216;savebase&#8217; before rebooting. If you run savebase -v and you get &#8220;non-bootable LV name given&#8221; try reconstucting your /dev/ipldevice file. Run savebase -v again and if you get the same error, try follow procedure: # bosboot -ad /dev/hdiskX (a disk that has hd5 on it) # bosboot [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>0516-1734 extendlv: Warning, savebase failed. Please manually run &#8216;savebase&#8217; before rebooting.</p></blockquote>
<p>If you run savebase -v and you get &#8220;non-bootable LV name given&#8221; try reconstucting your /dev/ipldevice file.</p>
<p>Run savebase -v again and if you get the same error, try follow procedure:</p>
<blockquote><p># bosboot -ad /dev/hdiskX (a disk that has hd5 on it)<br />
# bosboot -ad /dev/hdiskY (a disk that has hd5 on it)<br />
# ipl_varyon -i</p></blockquote>
<p>[You'll get a return on every physical disk on the system]</p>
<p>You will then get a return similar to this:</p>
<blockquote><p># savebase -v</p>
<p>saving to &#8216;/dev/hd5&#8242;<br />
99 CuDv objects to be saved<br />
240 CuAt objects to be saved<br />
44 CuDep objects to be saved<br />
51 CuVPD objects to be saved<br />
407 CuDvDr objects to be saved<br />
5 CuPath objects to be saved<br />
0 CuPathAt objects to be saved<br />
0 CuData objects to be saved<br />
0 CuAtDef objects to be saved<br />
Number of bytes of data to save = 49587<br />
Compressing data<br />
Compressed data size is = 12069<br />
        bi_start     = 0&#215;3600<br />
        bi_size      = 0&#215;1820000<br />
        bd_size      = 0&#215;1800000<br />
        ram FS start = 0x8d6ca0<br />
        ram FS size  = 0xea34cf<br />
        sba_start    = 0&#215;1803600<br />
        sba_size     = 0&#215;20000<br />
        sbd_size     = 0x2f29<br />
Checking boot image size:<br />
        new save base byte cnt = 0x2f29<br />
Wrote 12073 bytes<br />
Successful completion
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/aix-warning-savebase-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX &#8211; lslpp</title>
		<link>http://blog.deepreflect.net/2011/12/19/aix-lslpp/</link>
		<comments>http://blog.deepreflect.net/2011/12/19/aix-lslpp/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 02:28:15 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[lpp]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1102</guid>
		<description><![CDATA[Memo: lslpp List the package that owns a file # lslpp -w List the files in a package # lslpp -f List all packages installed # lslpp -L]]></description>
			<content:encoded><![CDATA[<p>Memo: lslpp</p>
<p>List the package that owns a file</p>
<blockquote><p><code># lslpp -w</code></p></blockquote>
<p>List the files in a package</p>
<blockquote><p><code># lslpp -f</code></p></blockquote>
<p>List all packages installed</p>
<blockquote><p><code># lslpp -L</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/12/19/aix-lslpp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetworkManager modifies /etc/hosts</title>
		<link>http://blog.deepreflect.net/2011/11/26/networkmanager-modifies-etchosts/</link>
		<comments>http://blog.deepreflect.net/2011/11/26/networkmanager-modifies-etchosts/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 22:09:05 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networkmanager]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1090</guid>
		<description><![CDATA[There is an annoying bug (or feature depends on point of view) every restart/reconnect managed by NetworkManager, restore the original /etc/hosts loaded on startup. I&#8217;ve made a 3 line script inspired by visudo to manual edit the hosts file and prevent the other unexpected modifies: File like (with +x attribute): /usr/sbin/vihosts #!/bin/sh sudo chattr -i [...]]]></description>
			<content:encoded><![CDATA[<p>There is an annoying bug (or feature depends on point of view) every restart/reconnect managed by NetworkManager, restore the original /etc/hosts loaded on startup. I&#8217;ve made a 3 line script inspired by visudo to manual edit the hosts file and prevent the other unexpected modifies: </p>
<p>File like (with +x attribute): /usr/sbin/vihosts</p>
<blockquote><p><code>#!/bin/sh<br />
sudo chattr -i /etc/hosts<br />
sudo vim /etc/hosts<br />
sudo chattr +i /etc/hosts</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/11/26/networkmanager-modifies-etchosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix &#8211; ICAClient issue on Linux REHL6</title>
		<link>http://blog.deepreflect.net/2011/11/24/citrix-icaclient-issue-on-linux-rehl6/</link>
		<comments>http://blog.deepreflect.net/2011/11/24/citrix-icaclient-issue-on-linux-rehl6/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 06:05:51 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[citrix]]></category>
		<category><![CDATA[icaclient]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1085</guid>
		<description><![CDATA[Another stupid Citrix ICAClient issue on Redhat linux: [leo@thinkleo2 ~]$ /usr/lib/ICAClient/wfcmgr -icaroot /usr/lib/ICAClient Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Error: Aborting: no fontset found Solution 1 force language C (my favourite for any lang problems): [leo@thinkleo2 ~]$ export [...]]]></description>
			<content:encoded><![CDATA[<p>Another stupid Citrix ICAClient issue on Redhat linux: </p>
<p><code><br />
<blockquote>[leo@thinkleo2 ~]$ /usr/lib/ICAClient/wfcmgr -icaroot /usr/lib/ICAClient<br />
Warning: Missing charsets in String to FontSet conversion<br />
Warning: Missing charsets in String to FontSet conversion<br />
Warning: Unable to load any usable fontset<br />
Error: Aborting: no fontset found</p></blockquote>
<p></code></p>
<p>Solution 1 force language C (my favourite for any lang problems):</p>
<p><code><br />
<blockquote>[leo@thinkleo2 ~]$ export LANG=C</p></blockquote>
<p></code></p>
<p>Solution 2 remove charset cjkuni:<br />
<code></p>
<blockquote><p>
[leo@thinkleo2 ~]$ sudo yum remove cjkuni*<br />
Loaded plugins: priorities, product-id, refresh-packagekit, rhnplugin, subscription-manager<br />
Updating Red Hat repositories.<br />
Setting up Remove Process<br />
Resolving Dependencies<br />
--> Running transaction check<br />
---> Package cjkuni-fonts-common.noarch 0:0.2.20080216.1-34.el6 will be erased<br />
---> Package cjkuni-fonts-ghostscript.noarch 0:0.2.20080216.1-34.el6 will be erased<br />
---> Package cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-34.el6 will be erased<br />
---> Package cjkuni-uming-fonts.noarch 0:0.2.20080216.1-34.el6 will be erased<br />
--> Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<p>=============================================================================================================================<br />
 Package                    Arch     Version                   Repository                                               Size<br />
=============================================================================================================================<br />
Removing:<br />
 cjkuni-fonts-common        noarch   0.2.20080216.1-34.el6     @anaconda-RedHatEnterpriseLinux-201105101829.i386/6.1   0.0<br />
 cjkuni-fonts-ghostscript   noarch   0.2.20080216.1-34.el6     @rhel-i386-workstation-6                                6.2 k<br />
 cjkuni-ukai-fonts          noarch   0.2.20080216.1-34.el6     @rhel-i386-workstation-6                                 17 M<br />
 cjkuni-uming-fonts         noarch   0.2.20080216.1-34.el6     @anaconda-RedHatEnterpriseLinux-201105101829.i386/6.1    21 M</p>
<p>Transaction Summary<br />
=============================================================================================================================<br />
Remove        4 Package(s)</p>
<p>Installed size: 37 M<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
  Erasing    : cjkuni-fonts-ghostscript-0.2.20080216.1-34.el6.noarch                                                     1/4<br />
  Erasing    : cjkuni-ukai-fonts-0.2.20080216.1-34.el6.noarch                                                            2/4<br />
  Erasing    : cjkuni-uming-fonts-0.2.20080216.1-34.el6.noarch                                                           3/4<br />
  Erasing    : cjkuni-fonts-common-0.2.20080216.1-34.el6.noarch                                                          4/4 </p>
<p>duration: 336(ms)<br />
Installed products updated.</p>
<p>Removed:<br />
  cjkuni-fonts-common.noarch 0:0.2.20080216.1-34.el6         cjkuni-fonts-ghostscript.noarch 0:0.2.20080216.1-34.el6<br />
  cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-34.el6           cjkuni-uming-fonts.noarch 0:0.2.20080216.1-34.el6              </p>
<p>Complete!<br />
[leo@thinkleo2 ~]$
</p></blockquote>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/11/24/citrix-icaclient-issue-on-linux-rehl6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Postfix &#8211; Auth Dovecot Backend</title>
		<link>http://blog.deepreflect.net/2011/10/27/postfix-auth-dovecot-backend/</link>
		<comments>http://blog.deepreflect.net/2011/10/27/postfix-auth-dovecot-backend/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 22:21:56 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Daemon]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1070</guid>
		<description><![CDATA[main.cf file Postfix related parametes: smtpd_sasl_authenticated_header = yes smtpd_sasl_auth_enable = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth dovecot.conf file Dovecot related parameters: auth default { mechanisms = plain login [...removed irrelevance parameters...] socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } }]]></description>
			<content:encoded><![CDATA[<p>main.cf file Postfix related parametes:</p>
<p><code><br />
<blockquote>smtpd_sasl_authenticated_header = yes<br />
smtpd_sasl_auth_enable = yes<br />
smtpd_sasl_type = dovecot<br />
smtpd_sasl_path = private/auth</p></blockquote>
<p></code></p>
<p>dovecot.conf file Dovecot related parameters:</p>
<blockquote><p><code>auth default {<br />
  mechanisms = plain login<br />
</code></p></blockquote>
<p> [...removed irrelevance parameters...]</p>
<blockquote><p><code><br />
 socket listen {<br />
    client {<br />
      path = /var/spool/postfix/private/auth<br />
      mode = 0660<br />
      user = postfix<br />
      group = postfix<br />
    }<br />
  }<br />
}</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/10/27/postfix-auth-dovecot-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; Multicast DVB-S router for EUMETCast</title>
		<link>http://blog.deepreflect.net/2011/10/10/linux-multicast-dvb-s-router-for-eumetcast/</link>
		<comments>http://blog.deepreflect.net/2011/10/10/linux-multicast-dvb-s-router-for-eumetcast/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 04:19:11 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dvbs]]></category>
		<category><![CDATA[eumetsat]]></category>
		<category><![CDATA[eurobird]]></category>
		<category><![CDATA[multicasting]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[tellicast]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1042</guid>
		<description><![CDATA[This simple script transform a linux box into a DVB-S Satellite router to receive data from Eurobird 9E used by EUMETSAT to redistribute weather satellite image. REQUIRE: DVB Tools SMCroute PCI Card supported by Linux/DVB Tools (ex. Skystar 2) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [...]]]></description>
			<content:encoded><![CDATA[<p>This simple script transform a linux box into a DVB-S Satellite router to receive data from Eurobird 9E used by EUMETSAT to redistribute weather satellite image.</p>
<p>REQUIRE:<br />
DVB Tools<br />
SMCroute<br />
PCI Card supported by Linux/DVB Tools (ex. Skystar 2)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">####################################################################</span>
<span style="color: #666666; font-style: italic;">#								   #	</span>
<span style="color: #666666; font-style: italic;"># Leonardo Rizzi 						   #</span>
<span style="color: #666666; font-style: italic;"># Late night 24/04/2010						   #</span>
<span style="color: #666666; font-style: italic;"># Revision 1.0							   #</span>
<span style="color: #666666; font-style: italic;"># Tune DVB-S pci card for Eurobird 9E shifted from 13E Hotbird     #</span>
<span style="color: #666666; font-style: italic;"># Tune, set net PID, Enable multicasting ecc. ecc. blah blah buuuu #</span>
<span style="color: #666666; font-style: italic;">#								   #	</span>
<span style="color: #666666; font-style: italic;">####################################################################</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Globalvar</span>
<span style="color: #007800;">DTUNE</span>=<span style="color: #ff0000;">&quot;/usr/bin/dvbtune&quot;</span>
<span style="color: #007800;">DNET</span>=<span style="color: #ff0000;">&quot;/usr/bin/dvbnet&quot;</span>
<span style="color: #007800;">MROUTE</span>=<span style="color: #ff0000;">&quot;/usr/sbin/smcroute&quot;</span>
<span style="color: #007800;">IFCONFIG</span>=<span style="color: #ff0000;">&quot;/sbin/ifconfig&quot;</span>
&nbsp;
<span style="color: #007800;">SERVICE</span>=<span style="color: #ff0000;">&quot;eumetsat&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Set dvbcard 0-3</span>
<span style="color: #007800;">INT</span>=<span style="color: #ff0000;">&quot;0&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Set multicast forwarding interface and ip (by default TelliCast bind on 192.168.238.238)</span>
<span style="color: #007800;">MINT</span>=<span style="color: #ff0000;">&quot;eth1&quot;</span>
<span style="color: #007800;">MIP</span>=<span style="color: #ff0000;">&quot;192.168.238.238&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Set absolute frequency in Hz</span>
<span style="color: #007800;">FREQ</span>=<span style="color: #000000;">11977000</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Set polarization</span>
<span style="color: #007800;">POL</span>=H
&nbsp;
<span style="color: #666666; font-style: italic;">#Set symbol rate</span>
<span style="color: #007800;">SYR</span>=<span style="color: #000000;">27500</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Set PID one space for value separation</span>
<span style="color: #007800;">PID</span>=<span style="color: #ff0000;">&quot;100 300 301 302 500 509 510 511&quot;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">#Begin start!!</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
  start<span style="color: #7a0874; font-weight: bold;">&#41;</span>
  	<span style="color: #666666; font-style: italic;"># Pre-Start check</span>
&nbsp;
  	<span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #007800;">$DTUNE</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DTUNE</span> not installed or not configured properly&quot;</span>;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;stop&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
        <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">5</span>; <span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
        <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #007800;">$DNET</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DNET</span> not installed or not configured properly&quot;</span>;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;stop&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
        <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">5</span>; <span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
        <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #007800;">$MROUTE</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$MROUTE</span> not installed or not configured properly&quot;</span>;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;stop&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
        <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">5</span>; <span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
        <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-x</span> <span style="color: #007800;">$IFCONFIG</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$IFCONFIG</span> not installed or not configured properly&quot;</span>;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;stop&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
        <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">5</span>; <span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
        <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-d</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dvb<span style="color: #000000; font-weight: bold;">/</span>adapter<span style="color: #007800;">$INT</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;DVB<span style="color: #007800;">$INT</span> device not installed or not configured properly&quot;</span>;
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;stop&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>;
        <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">5</span>; <span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #666666; font-style: italic;"># Tuning the dvb frequency </span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Tune the satellite donwlink on interface <span style="color: #007800;">${INT}</span>&quot;</span>
	<span style="color: #800000;">${DTUNE}</span> <span style="color: #660033;">-c</span> <span style="color: #800000;">${INT}</span> <span style="color: #660033;">-f</span> <span style="color: #800000;">${FREQ}</span> <span style="color: #660033;">-p</span> <span style="color: #800000;">${POL}</span> <span style="color: #660033;">-s</span> <span style="color: #800000;">${SYR}</span> <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Set address on local forwarding interface and bring it up</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast forwarding interface <span style="color: #007800;">${MINT}</span>&quot;</span>
	<span style="color: #800000;">${IFCONFIG}</span> <span style="color: #800000;">${MINT}</span> <span style="color: #800000;">${MIP}</span> multicast up
&nbsp;
	<span style="color: #666666; font-style: italic;"># Set PID on active dvb interface</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set net interface for listed PID:&quot;</span>
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #800000;">${PID}</span>
	<span style="color: #000000; font-weight: bold;">do</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Bring up PID <span style="color: #007800;">$i</span>&quot;</span>
	<span style="color: #800000;">${DNET}</span> <span style="color: #660033;">-a</span> <span style="color: #800000;">${INT}</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$i</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Set address on dvbs interfaces and bring it up</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set net interface up:&quot;</span>
	<span style="color: #000000; font-weight: bold;">for</span> ii <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000;">0</span>..<span style="color: #000000;">7</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">do</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Bring up dvb net interface <span style="color: #007800;">$ii</span>&quot;</span>
	<span style="color: #800000;">${IFCONFIG}</span> dvb<span style="color: #800000;">${INT}</span>_<span style="color: #007800;">$ii</span> 192.168.22<span style="color: #007800;">$ii</span>.238 up <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Start multicast router</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Enable Multicast Router&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-d</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 100 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 100&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_0 192.168.1.1 224.223.222.34 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_0 192.168.1.1 224.223.222.36 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_0 192.168.1.1 224.223.222.40 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_0 192.168.1.1 224.223.222.223 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 300 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 300&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.21 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.31 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.32 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.37 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.226 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.252 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_1 192.168.1.1 224.223.222.253 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 301 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 301&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.23 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.33 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.38 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.39 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.35 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.227 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_2 192.168.1.1 224.223.222.251 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 302 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 302&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_3 192.168.1.1 224.223.222.25 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 500 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 500&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.1 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.22 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.28 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.27 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.29 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_4 192.168.1.1 224.223.222.30 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 509 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 509&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_5 192.168.1.1 224.223.222.248 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_5 192.168.1.1 224.223.222.249 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_5 192.168.1.1 224.223.222.250 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#PID 510 multicast forward</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Set multicast for PID 510&quot;</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.231 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.232 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.233 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.234 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.235 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.236 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.237 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.239 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.240 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.242 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.243 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.244 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.245 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.246 <span style="color: #800000;">${MINT}</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-a</span> dvb0_6 192.168.1.1 224.223.222.247 <span style="color: #800000;">${MINT}</span>
&nbsp;
	<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">5</span>
	<span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  stop<span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #666666; font-style: italic;"># Stopping the dvb card</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Stopping Satellite Downlink&quot;</span>
	<span style="color: #c20cb9; font-weight: bold;">killall</span> dvbtune <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Stopping Multicast Routing&quot;</span>
	<span style="color: #666666; font-style: italic;"># Stopping Multicast Router</span>
	<span style="color: #800000;">${MROUTE}</span> <span style="color: #660033;">-k</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Disable dvbs interfaces and remove active PID</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Shutting down DVB-S interfaces&quot;</span>
	<span style="color: #000000; font-weight: bold;">for</span> iii <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000;">0</span>..<span style="color: #000000;">7</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">do</span>
	<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> dvb0_<span style="color: #007800;">$iii</span> down <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
	<span style="color: #800000;">${DNET}</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$iii</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Remove and disable multicasting forwarding interface</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Shutting down multicasting forwarding interface&quot;</span>
	<span style="color: #800000;">${IFCONFIG}</span> <span style="color: #800000;">${MINT}</span> del <span style="color: #800000;">${MIP}</span> multicast
	<span style="color: #800000;">${IFCONFIG}</span> <span style="color: #800000;">${MINT}</span> down
&nbsp;
	<span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  restart<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
	<span style="color: #007800;">$0</span> stop
	<span style="color: #007800;">$0</span> start
	<span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  status<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
  	<span style="color: #007800;">PID1</span>=<span style="color: #ff0000;">'pidof dvbtune'</span>
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Tuning subsystem running at pid&quot;</span> <span style="color: #007800;">$PID1</span>
&nbsp;
  	<span style="color: #007800;">PID2</span>=<span style="color: #ff0000;">'pidof smcroute'</span>
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Mulicast router running at pid&quot;</span> <span style="color: #007800;">$PID2</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  multicast<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Multicasting Routing table:&quot;</span>
  	ip mroute show  
	<span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 [start|stop|restart|status|multicast]&quot;</span>
	<span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span>;s</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/10/10/linux-multicast-dvb-s-router-for-eumetcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Windows Installer Service could not be accessed.</title>
		<link>http://blog.deepreflect.net/2011/10/09/the-windows-installer-service-could-not-be-accessed/</link>
		<comments>http://blog.deepreflect.net/2011/10/09/the-windows-installer-service-could-not-be-accessed/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 03:07:57 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1039</guid>
		<description><![CDATA[The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance. kb315353 To resolve this issue, follow these steps: 1. Log on to your computer as an administrator. 2. Click Start, and [...]]]></description>
			<content:encoded><![CDATA[<p>The Windows Installer Service could not be accessed.<br />
This can occur if you are running Windows in safe<br />
mode, or if the Windows Installer is not correctly<br />
installed. Contact your support personnel for assistance.</p>
<p>kb315353</p>
<p>To resolve this issue, follow these steps:</p>
<p>1. Log on to your computer as an administrator.<br />
2. Click Start, and then click Run.<br />
3. In the Open box, type cmd, and then click OK.<br />
4. At the command prompt, typemsiexec.exe /unregister, and then press ENTER.<br />
5. Type msiexec /regserver, and then press ENTER.<br />
6. Verify that the SYSTEM account has full control access permissions to the<br />
HKEY_CLASSES_ROOT<br />
hive in the Windows registry. In some cases, you may also have to add Administrator accounts. To do so:Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:<br />
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows<br />
1. Click Start, click Run, type regedit in the Open box, and then click OK.<br />
2. Click the following registry hive:<br />
HKEY_CLASSES_ROOT<br />
3. On the Edit menu, click Permissions.<br />
4. If SYSTEM is not listed in the Group or user names list, click Add, make sure that the local computer name appears in the From this location box, type system in the Enter the object names to select box, click Check Names, and then click OK.<br />
5. Click SYSTEM in the Group or user names list, and then select the Full Control check box under Allow in the Permissions for SYSTEM box.<br />
6. Click Apply, click OK, and then quit Registry Editor.<br />
7. Restart the computer. If the problem is not resolved, repair Windows XP. For more information about how to repair Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:<br />
315341 (http://support.microsoft.com/kb/315341/ ) How to perform an in-place upgrade (reinstallation) of Windows XP</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/10/09/the-windows-installer-service-could-not-be-accessed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX &#8211; DLPAR connection lost to HMC</title>
		<link>http://blog.deepreflect.net/2011/09/21/aix-dlpar-connection-lost-to-hmc/</link>
		<comments>http://blog.deepreflect.net/2011/09/21/aix-dlpar-connection-lost-to-hmc/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 02:23:30 +0000</pubDate>
		<dc:creator>leo</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[dlpar]]></category>
		<category><![CDATA[hmc]]></category>
		<category><![CDATA[pseries]]></category>
		<category><![CDATA[rmc]]></category>

		<guid isPermaLink="false">http://blog.deepreflect.net/?p=1031</guid>
		<description><![CDATA[Sometime during AIX migration/alt_clone or HMC upgrade, it can happen that RMC ID get lost or duplicated, the the rsct process is unable to re stabilize the connection. You can reset the key and restart that service as follows: Reset RMC unique ID: # /usr/sbin/rsct/install/bin/recfgct # /usr/sbin/rsct/bin/rmcctrl -z # /usr/sbin/rsct/bin/rmcctrl -A Then you can check [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime during AIX migration/alt_clone or HMC upgrade, it can happen that RMC ID get lost or duplicated, the the rsct process is unable to re stabilize the connection. </p>
<p>You can reset the key and restart that service as follows:</p>
<p>Reset RMC unique ID:</p>
<p><code><br />
<blockquote># /usr/sbin/rsct/install/bin/recfgct<br />
# /usr/sbin/rsct/bin/rmcctrl -z<br />
# /usr/sbin/rsct/bin/rmcctrl -A</p></blockquote>
<p></code><br />
Then you can check the rmc status:</p>
<p><code><br />
<blockquote># /usr/sbin/rsct/bin/rmcdomainstatus -s ctrmc</p></blockquote>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.deepreflect.net/2011/09/21/aix-dlpar-connection-lost-to-hmc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

