<?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>gomez's blog &#187; debian</title>
	<atom:link href="http://www.sanjta.org/?feed=rss2&#038;cat=16" rel="self" type="application/rss+xml" />
	<link>http://www.sanjta.org</link>
	<description>IT from the unblinking eyes of the GNU/Linux user</description>
	<lastBuildDate>Sun, 05 Sep 2010 21:56:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Maintaining Daylight Saving Time (DST) changes</title>
		<link>http://www.sanjta.org/?p=601</link>
		<comments>http://www.sanjta.org/?p=601#comments</comments>
		<pubDate>Wed, 11 Aug 2010 12:05:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=601</guid>
		<description><![CDATA[Few days ago I needed to check Daylight Saving Time changes that are going to happen, and I was surprised that there are occasions when you need to update DST settings manually. This example will show how to do that for Egypt. Requirement is to change time on Aug 11, at 5.00AM EEST (Eastern European [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago I needed to check Daylight Saving Time changes that are going to happen, and I was surprised that there are occasions when you need to update DST settings manually. This example will show how to do that for Egypt. Requirement is to change time on Aug 11, at 5.00AM EEST (Eastern European Summer Time) to 4.00AM EET (Eastern European Time). Here is the procedure how to do that depending of your operating system (Solaris or Linux):</p>
<p>1. Login as user root;<br />
2. Download file tzdata&lt;year&gt;l.tar.gz from ftp://elsie.nci.nih.gov/pub/ or some other tzdata provider:</p>
<blockquote>
<pre><strong>#wget ftp://elsie.nci.nih.gov/pub/tzdata2010k.tar.gz</strong></pre>
</blockquote>
<p>3. Extract timezone info file &#8220;africa&#8221; from the tarball using following command:</p>
<blockquote>
<pre><strong>#tar -zxf tzdata2010k.tar.gz</strong></pre>
<p><strong> </strong></p>
<pre><strong>#cd tzdata2010k</strong></pre>
</blockquote>
<p>4. Modify file &#8220;africa&#8221; or some other zone by using your favorite text editor (vi, nano or something else):</p>
<blockquote>
<pre><strong>#vi africa</strong></pre>
<p><strong> (I have changed it to reflect my needs / EEST will change to EET on Aug 11, 5.00 AM)</strong></p></blockquote>
<p>5. Depending on your operating system, place file in one of the following directories:</p>
<p>/usr/share/lib/zoneinfo/src &#8211; Solaris<br />
/usr/share/zoneinfo/src     &#8211; Linux</p>
<blockquote>
<pre><strong>#mv africa /usr/share/lib/zoneinfo/src</strong></pre>
<p><strong> </strong></p>
<pre><strong>#mv africa /usr/share/zoneinfo/src</strong></pre>
</blockquote>
<p>6. Navigate to &#8220;src&#8221; directory and compile a new timezone data file using command &#8220;zic&#8221;</p>
<blockquote>
<pre><strong>#cd /usr/share/zoneinfo/src</strong></pre>
<p><strong> </strong></p>
<pre><strong>#zic africa</strong></pre>
</blockquote>
<p>7. Copy newly generated file</p>
<blockquote>
<pre> <strong>#cd .. &amp;&amp; cp Africa/Cairo Egypt</strong></pre>
</blockquote>
<p>8. Last step would be to test DST settings with following command:</p>
<blockquote>
<pre><strong>#zdump -v Egypt | grep 2010</strong></pre>
</blockquote>
<p>You should be able output similar to this, depending on what you have configured:</p>
<blockquote><p>#zdump -v Egypt | grep 2010<br />
Egypt  Wed Aug 11 09:34:23 2010 UTC = Wed Aug 11 11:34:23 2010 EET isdst=0<br />
Egypt  Thu Apr 29 21:59:59 2010 UTC = Thu Apr 29 23:59:59 2010 EET isdst=0<br />
Egypt  Thu Apr 29 22:00:00 2010 UTC = Fri Apr 30 01:00:00 2010 EEST isdst=1<br />
Egypt  Wed Aug 11 01:59:59 2010 UTC = <strong>Wed Aug 11 04:59:59 2010 EEST</strong> isdst=1<br />
Egypt  Wed Aug 11 02:00:00 2010 UTC = <strong>Wed Aug 11 04:00:00 2010 EET</strong> isdst=0<br />
Egypt  Wed Sep  8 21:59:59 2010 UTC = Wed Sep  8 23:59:59 2010 EET isdst=0<br />
Egypt  Wed Sep  8 22:00:00 2010 UTC = Thu Sep  9 01:00:00 2010 EEST isdst=1<br />
Egypt  Thu Sep 30 20:59:59 2010 UTC = Thu Sep 30 23:59:59 2010 EEST isdst=1<br />
Egypt  Thu Sep 30 21:00:00 2010 UTC = Thu Sep 30 23:00:00 2010 EET isdst=0</p></blockquote>
<p>That it is it! As you can se from above output time will automatically change on 5.00AM EEST and it will go one hour back to 4.00AM EET. I hope that this blog post clarify this procedure.</p>
<ol>
<li><a href="http://www.gsp.com/cgi-bin/man.cgi?section=8&amp;topic=zic" target="_blank">zic</a></li>
<li><a href="http://bostonlinux.net/linuxcommand.org/man_pages/zdump8.html" target="_blank">zdump</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=601</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox and VMware Remote Console Plug-in working solution</title>
		<link>http://www.sanjta.org/?p=425</link>
		<comments>http://www.sanjta.org/?p=425#comments</comments>
		<pubDate>Tue, 08 Jun 2010 08:56:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=425</guid>
		<description><![CDATA[Few days ago I moved my Ubuntu on laptop to version 10.04 and so far I am very satisfied with how does it work. That was a clear sign to refresh some software installs that I have and that fact included VMware server. Basically, I found VMware to suit my needs when it comes to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://www.sanjta.org/pics/blog/vmware-console-plugin/vmware_view_pilot.jpg" alt="" width="455" height="152" /></p>
<p>Few days ago I moved my Ubuntu on laptop to version 10.04 and so far I am very satisfied with how does it work. That was a clear sign to refresh some software installs that I have and that fact included VMware server. Basically, I found VMware to suit my needs when it comes to personal virtualization. I am using virtualized CallManager (it is only supported with VMware) and also my appliance Linux environment is virtualized as well. There are other virtualisation solutions that I like but I will leave that for some other blog post.</p>
<p>So, I installed VMware Server 2.0.2 and it is working really nice. There are plenty of instruction manuals on VMware installation on Linux and Ubuntu, but I found <a href="https://help.ubuntu.com/community/VMware/Server">this one</a> to work like a charm. Under Ubuntu, I am using current version of Firefox, which is 3.6.3 and it seems to have a problem with VMware Remote Console Plug-in. It is not working at all. There is lot of discussion about this but I didn&#8217;t find that much solutions. Some are saying that some Firefox add-on for flash blocking is causing this to happen, but using Firefox without .mozilla didn&#8217;t help.</p>
<p>So, here is solution that actually works: Open Terminal and navigate to directory:</p>
<blockquote><p>root@gomez-laptop:/# <em><strong>cd</strong></em> <em><strong>/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/</strong></em></p></blockquote>
<p>once there, execute list command and you should be able to see <em><strong>vmware-vmrc-linux-x86.xpi</strong></em> file which is required:</p>
<blockquote><p>root@gomez-laptop:/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin# <em><strong>ls</strong></em><br />
build_doNotErase.txt  vmware-vmrc-linux-x64.xpi  <em><strong>vmware-vmrc-linux-x86.xpi</strong></em> vmware-vmrc-win32-x86.exe  vmware-vmrc-win32-x86.xpi</p></blockquote>
<p>Once, there, we need to unzip that file by issuing following command:</p>
<blockquote><p>root@gomez-laptop:# <em><strong>unzip vmware-vmrc-linux-x86.xpi</strong></em></p></blockquote>
<p>and then, navigate to plugins directory and list the content:</p>
<blockquote><p>root@gomez-laptop:/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin# <strong><em>cd plugins/</em></strong><br />
root@gomez-laptop:/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/plugins#<strong> <em>ls</em></strong><br />
bin  libconf                         open_source_licenses.txt  vmware-desktop-entry-creator  vmware-vmrc-daemon  xkeymap<br />
lib  np-vmware-vmrc-2.5.0-122581.so  share                     <strong><em>vmware-vmrc</em></strong> vmware-vmrc-legacy<br />
root@gomez-laptop:/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/plugins#</p></blockquote>
<p>And one last step is to start vmware-vmrc with following command:</p>
<blockquote><p>root@gomez-laptop:/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/plugins#<em><strong> ./vmware-vmrc -h localhost:8333</strong></em></p></blockquote>
<p>Please note that you can replace<em><strong> localhost</strong></em> with IP address of your working VMware server. Once above command is executed you need to authenticate and you should be able to select virtualized hosts. Please give a check to following screenshots:</p>
<p><img class="aligncenter" src="http://www.sanjta.org/pics/blog/vmware-console-plugin/vmwareplugin.png" alt="" width="500" height="399" />As shown on above screenshot, we need to authenticate and one last step is to select one of the virtualized machines that we want to work with:</p>
<p><img class="aligncenter" src="http://www.sanjta.org/pics/blog/vmware-console-plugin/vmwareplugin1.png" alt="" width="500" height="399" />If there are some questions, please let me know. I hope that this workaround will save some time for you and that you will have working solution.</p>
<ol>
<li><a href="http://vmware.com/download/server/">VMware server</a></li>
<li><a href="https://help.ubuntu.com/community/VMware/Server">VMware server installation on Ubuntu</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=425</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firmware tweaking: Linux on Samsung LCD TV LE40A756 and A856 with firmware T-RBYDEU</title>
		<link>http://www.sanjta.org/?p=356</link>
		<comments>http://www.sanjta.org/?p=356#comments</comments>
		<pubDate>Mon, 05 Apr 2010 08:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[geeks]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=356</guid>
		<description><![CDATA[Few days ago I had interesting request to tweak Linux on Samsung LCD TV. At first, I was kind of surprised that Linux is supported on TV, but it is normal. Linux is very strong competitor on the appliance based market and it was just about time to face those kind of installations. The main [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://www.sanjta.org/pics/Samsung/samsung.JPG" alt="" width="489" height="151" /></p>
<p>Few days ago I had interesting request to tweak Linux on Samsung LCD TV. At first, I was kind of surprised that Linux is supported on TV, but it is normal. Linux is very strong competitor on the appliance based market and it was just about time to face those kind of installations. The main goal was to enable telnet on firmware in order to be able to connect to TV, and after that to load Common Internet File System to be able to use network mounts. Since I didn&#8217;t know anything about Samsung TV series and belonging firmware versions I needed to read something about that. Basically, there are differences in versions based on producing years and processors that are supported. This text is about to cover Samsung LCD TV LE40A756 and A856 with firmware T-RBYDEU. I need to mention that it is kind of easier to work with other models of Samsung LCD TVs since they seam to open more possibilities (this is just my opinion) for firmware hacking but this version was very interesting to play with as well. Since this firmware (as much as all other appliance based firmware versions) is using squash file system, to be able to add something on filesystem we would need to unsquash file system (unsquash is viable thru squashfs-tools) and then perform necessary changes. Since I am using Ubuntu which is providing newer version of squashfs-tools package than it is required (Ubuntu is providing squashfs-tools version 3.1 and it is required to have version 2.0) I didn&#8217;t follow that procedure. However, for those that would like to give it a try you can follow <a href="http://sourceforge.net/apps/mediawiki/samygo/index.php?title=Samsung_A_Series_%282008_Model%29_Hacks">this procedure</a>. We will follow other procedure.</p>
<ol>
	<strong>Downloads</strong>
</ol>
<p>Navigate to <a href="http://www.samsung.com/uk/">Samsung web site</a> &gt; Support &gt; Downloads &gt; TV Audio Video &gt; Choose a product type&gt;: Television &gt; Choose a product subtype: LCD TV &gt; Select your TV model and then click on Select. You will be provided with the link to download your firmware version. In our case firmware is called T-RBYDEU.exe.</p>
<ol>
	<strong>Firmware work</strong>
</ol>
<p>Using some of the decompression tools like 7zip, WinRAR or some other program that you use on the daily basis, we need to extract .exe file that we have downloaded. I will describe procedure under Linux operating system using 7zip:</p>
<blockquote><p><strong>7z x T-RBYDEU.exe</strong></p></blockquote>
<p>Once done, you will be able to see extracted files in directory T-RBYDEU. Please note that you will be able to see those files:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU$ <strong>ls -la</strong><br />
total 40<br />
drwx&#8212;&#8212; 1 gomez gomez     0 2009-05-11 23:38 .<br />
drwx&#8212;&#8212; 1 gomez gomez  4096 2010-04-01 16:22 ..<br />
-rwxrwxrwx 1 gomez gomez 18929 2009-04-17 16:16 crc<br />
<strong>drwx&#8212;&#8212; 1 gomez gomez  4096 2009-05-11 23:38 image</strong><br />
-rwxrwxrwx 2 gomez gomez  8676 2009-04-17 16:16 MicomCtrl<br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU<strong>$ cd image/</strong><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>ls -la</strong><br />
total 58166<br />
drwx&#8212;&#8212; 1 gomez gomez     4096 2009-05-11 23:38 .<br />
drwx&#8212;&#8212; 1 gomez gomez        0 2009-05-11 23:38 ..<br />
-rwxrwxrwx 1 gomez gomez  8155136 2009-04-17 16:16 appdata.img<br />
-rwxrwxrwx 1 gomez gomez   602112 2009-04-17 16:16 boot.img<br />
<strong>-rwxrwxrwx 1 gomez gomez 37646336 2009-04-17 16:16 exe.img</strong><br />
-rwxrwxrwx 1 gomez gomez   177920 2009-04-17 16:16 fnw.bin<br />
-rwxrwxrwx 1 gomez gomez       17 2009-04-17 16:16 info.txt<br />
-rwxrwxrwx 1 gomez gomez    99680 2009-04-17 16:16 oneboot.bin<br />
-rwxrwxrwx 1 gomez gomez  3424256 2009-04-17 16:16 rootfs.img<br />
-rwxrwxrwx 2 gomez gomez  3172612 2009-04-17 16:16 T-RBYDAUM<br />
-rwxrwxrwx 2 gomez gomez  3172612 2009-04-17 16:16 T-RBYDEUM<br />
-rwxrwxrwx 1 gomez gomez   228296 2009-04-17 16:16 u-boot.bin<br />
-rwxrwxrwx 2 gomez gomez       47 2009-04-17 16:16 validinfo.txt<br />
-rwxrwxrwx 2 gomez gomez       43 2009-04-17 16:16 version_info.txt<br />
-rwxrwxrwx 1 gomez gomez  2864533 2009-04-17 16:16 vmlinux.ub<br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$</p></blockquote>
<p>As per above output, please note that we have directory called <strong>image</strong>, and from the interesting files we have <strong>exe.img</strong> and <strong>validinfo.txt</strong> which will be used in following text.</p>
<ol>
	<strong>Firmware tweaks</strong>
</ol>
<p>Next thing that we need to do is to prepare <strong>exe.img</strong> for additional changes in order to be able to telnet to TV and use some networking services like CIFS. Now, navigate to image directory and create directory temp:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU$ <strong>cd image/</strong><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>mkdir temp</strong><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$</p></blockquote>
<p>Once done, we will mount <strong>exe.img</strong> with the type of <strong>vfat</strong> to newly created temp directory:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>sudo mount -t vfat -o loop exe.img temp/</strong></p></blockquote>
<p>With above command, we have mounted <strong>exe.img</strong> to <strong>temp</strong> directory. Please note that we have following files inside temp directory:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>cd temp/</strong><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image/temp$<strong> ls -la</strong><br />
total 28980<br />
drwxr-xr-x 3 root  root     16384 1970-01-01 01:00 .<br />
drwx&#8212;&#8212; 1 gomez gomez     4096 2010-04-04 19:06 ..<br />
-rwxr-xr-x 1 root  root  29487160 2009-04-17 16:16 exeDSP<br />
drwxr-xr-x 3 root  root      8192 2009-04-17 16:16 modules<br />
-r-xr-xr-x 1 root  root    131072 2009-04-17 16:16 $rfs_log.lo$<br />
-r-xr-xr-x 1 root  root      8192 2009-04-17 16:16 rfs_pool.sy$<br />
-rwxr-xr-x 1 root  root      4374 2009-04-17 16:16 run<br />
<strong>-rwxr-xr-x 1 root  root      4525 2009-04-17 16:16 start.sh</strong><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image/temp$</p></blockquote>
<p>Please note that we have start.sh file which we will use in following text.</p>
<ol>
	<strong>Scripts</strong>
</ol>
<p>Using your favourite text editor, replace current <strong>start.sh</strong> file with following:</p>
<blockquote><p>#!/bin/sh</p>
<p>if [ -e /mtd_chmap/start.sh ]<br />
then<br />
echo &#8220;user start.sh found!&#8221;<br />
/mtd_chmap/start.sh<br />
else</p>
<p>export PATH=/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin:/usr/local/sbin<br />
#export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib:/usr/local/lib:/usr/lib:/lib<br />
export HOME=/tmp/root<br />
export TERM=linux<br />
export LOGNAME=&#8221;root&#8221;<br />
<strong>cd /dtv/usb<br />
PU=`cat log | grep Mount`<br />
PU=`echo ${PU##MountDir : }`<br />
echo $PU<br />
$PU/usb.sh &amp;</strong></p>
<p>mount</p>
<p>## mount -n -t usbfs none /proc/bus/usb</p>
<p>ulimit -s 2048</p>
<p>export PS1=&#8217;\h:\w\$ &#8216;</p>
<p>## STAPI Root Device Name?## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
ST_DEV_ROOT_NAME=stapi<br />
export ST_DEV_ROOT_NAME</p>
<p>## STAVMEM Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STAVMEM_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stavmem_ioctl<br />
export STAVMEM_IOCTL_DEV_PATH</p>
<p>## STAUDLX Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STAUDLX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/staudlx_ioctl<br />
export STAUDLX_IOCTL_DEV_PATH</p>
<p>## STBLAST Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STBLAST_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stblast_ioctl<br />
export STBLAST_IOCTL_DEV_PATH</p>
<p>## STBLIT Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STBLIT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stblit_ioctl<br />
export STBLIT_IOCTL_DEV_PATH</p>
<p>## STCC Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STCC_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stcc_ioctl<br />
export STCC_IOCTL_DEV_PATH</p>
<p>## STCLKRV Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STCLKRV_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stclkrv_ioctl<br />
export STCLKRV_IOCTL_DEV_PATH</p>
<p>## STDENC Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STDENC_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stdenc_ioctl<br />
export STDENC_IOCTL_DEV_PATH</p>
<p>## STEVT Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STEVT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stevt_ioctl<br />
export STEVT_IOCTL_DEV_PATH</p>
<p>## STFASTFILTER Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STFASTFILTER_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stfastfilter_ioctl<br />
export STFASTFILTER_IOCTL_DEV_PATH</p>
<p>## STFDMA Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STFDMA_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stfdma_ioctl<br />
export STFDMA_IOCTL_DEV_PATH</p>
<p>## STGFB Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STGFB_CORE_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stgfb_core<br />
export STGFB_CORE_DEV_PATH<br />
STGFB_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stgfb_ioctl<br />
export STGFB_IOCTL_DEV_PATH</p>
<p>## STHDMI Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STHDMI_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sthdmi_ioctl<br />
export STHDMI_IOCTL_DEV_PATH</p>
<p>## STI2C Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STI2C_IOCTL_DEV_PATH=&#8221;/dev/${ST_DEV_ROOT_NAME}/sti2c_ioctl&#8221;<br />
export STI2C_IOCTL_DEV_PATH</p>
<p>## STLAYER Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STLAYER_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stlayer_ioctl<br />
export STLAYER_IOCTL_DEV_PATH</p>
<p>## STMERGE Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STMERGE_IOCTL_DEV_PATH=&#8221;/dev/${ST_DEV_ROOT_NAME}/stmerge_ioctl&#8221;<br />
export STMERGE_IOCTL_DEV_PATH</p>
<p>## STPIO Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STPIO_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stpio_ioctl<br />
export STPIO_IOCTL_DEV_PATH</p>
<p>## STPTI4 Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STPTI4_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stpti4_ioctl<br />
export STPTI4_IOCTL_DEV_PATH</p>
<p>## STSMART Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STSMART_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stsmart_ioctl<br />
export STSMART_IOCTL_DEV_PATH</p>
<p>## STSYS Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STSYS_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stsys_ioctl<br />
export STSYS_IOCTL_DEV_PATH</p>
<p>## STTTX Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STTTX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stttx_ioctl<br />
export STTTX_IOCTL_DEV_PATH</p>
<p>## STTUNER Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
STTUNER_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sttuner_ioctl<br />
export STTUNER_DEV_PATH</p>
<p>## STVBI Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STVBI_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvbi_ioctl<br />
export STVBI_IOCTL_DEV_PATH</p>
<p>## STVID Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STVID_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvid_ioctl<br />
export STVID_IOCTL_DEV_PATH</p>
<p>## STVIN Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STVIN_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvin_ioctl<br />
export STVIN_IOCTL_DEV_PATH</p>
<p>## STVMIX Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STVMIX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvmix_ioctl<br />
export STVMIX_IOCTL_DEV_PATH</p>
<p>## STVOUT Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
STVOUT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvout_ioctl<br />
export STVOUT_IOCTL_DEV_PATH</p>
<p>## STVTG Device Name<br />
## &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
STVTG_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvtg_ioctl<br />
export STVTG_IOCTL_DEV_PATH</p>
<p>STTKDMA_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sttkdma_ioctl<br />
export STTKDMA_IOCTL_DEV_PATH</p>
<p>RUN=1<br />
/exe/exeDSP</p></blockquote>
<p>Please note bold lines. Basically, it is the same file except that we are instructing our Linux firmware to load <strong>usb.sh</strong> script which needs to be located on USB root directory. <strong>usb.sh</strong> script will instruct Linux firmware to start busybox instance of telnet deamon so that we are able to telnet to our TV, and additionally it will load cifs.ko kernel module which will enable <strong>Common Internet File System</strong> so that we are able to mount some network devices on our Linux firmware. <strong>usb.sh</strong> script looks like:</p>
<blockquote><p>#! /bin/sh</p>
<p>echo &#8220;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&#8221;</p>
<p>/bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600<br />
#line before enables console for speed 57600. Put &#8216;debug&#8217; to console and you see menu, put &#8217;12&#8242; and ENTER<br />
echo &#8220;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&#8221;</p>
<p>#sleep 25 sec is need for wait ethernet start<br />
sleep 25</p>
<p>cd /dtv/usb<br />
PU=`cat log | grep Mount`<br />
PU=`echo ${PU##MountDir : }`</p>
<p><strong>echo &#8220;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&#8221;<br />
$PU/busybox telnetd -l /bin/sh</strong></p>
<p><strong>echo &#8220;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&#8221;<br />
cd $PU<br />
insmod cifs.ko</strong></p>
<p>sleep 4</p>
<p>echo &#8220;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&#8221;<br />
rm /mtd_contents/V* -R<br />
rm /mtd_contents/database -R</p>
<p><strong>echo &#8220;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&#8221;<br />
mount -t cifs //192.168.0.1/photo $PU/photo -o user=user_xp -o pass=password_xp<br />
mount -t cifs //192.168.0.1/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp<br />
mount -t cifs //192.168.0.1/video $PU/video -o user=user_xp -o pass=password_xp</strong></p>
<p>mount</p>
<p>echo &#8220;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&#8221;</p></blockquote>
<p>Please note bold lines. Basically, we are starting telnet daemon and loading cifs.ko kernel module. After that, we are mounting some Windows XP shares from our personal computer which is working on 192.168.0.1 IP address. Once this file is loaded, and those mount locations are created you will be able to use files within above directories on your TV from the TV menus.</p>
<p><strong><em>Please note that usb.sh, cifs.ko, busybox files and mp3, video, and photo directories needs to be located on USB root location.</em> </strong></p>
<p>Once done with that, we are ready to preform final changes to our firmware. First thing that we need to do is to umount <strong>temp</strong> directory:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU$ <strong>sudo umount /home/gomez/Desktop/T-RBYDEU/temp</strong></p></blockquote>
<p>Then, we need to delete temp directory:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>sudo rm -rf temp/</strong></p></blockquote>
<p>Once done with that, we need to change CRC information, because we have changed exe.img file. We can do that as follows:</p>
<blockquote><p>gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>crc32 exe.img</strong><br />
<strong>cdc8080c</strong></p></blockquote>
<p>Once we have CRC information, we need to enter new value to <strong>validinfo.txt</strong> file:<em><br />
</em><br />
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ <strong>cat validinfo.txt </strong><br />
*007_exe.img_<strong>663430d9</strong>*011_appdata.img_a485b538</p>
<p>Please note value 663430d9. We need to change that value with cdc8080c that we have got as output from <strong>crc32</strong> command. You can do that by using your favourite text editor. Once done with that, we are done with tweaking our Linux firmware. Your USB pen content should look like this:</p>
<blockquote><p>gomez@gomez-laptop:~/Desktop/USB$<strong> ls -la</strong><br />
total 3644<br />
drwxr-xr-x 6 gomez gomez    4096 2010-04-05 08:59 .<br />
drwx&#8212;&#8212; 8 gomez gomez    4096 2010-04-05 09:03 ..<br />
-rwxrwxrwx 1 gomez gomez  992084 2009-11-18 23:13 busybox<br />
-rwxrwxrwx 1 gomez gomez 2707316 2009-11-17 20:08 cifs.ko<br />
drwx&#8212;&#8212; 2 gomez gomez    4096 2009-12-28 09:12 mp3<br />
drwx&#8212;&#8212; 2 gomez gomez    4096 2009-12-28 09:12 photo<br />
drwx&#8212;&#8212; 3 gomez gomez    4096 2010-04-05 08:59 T-RBYDEU<br />
-rwxrwxrwx 1 gomez gomez    1026 2009-12-28 09:14 usb.sh<br />
drwx&#8212;&#8212; 2 gomez gomez    4096 2009-12-28 09:12 video</p></blockquote>
<p>If that is the case, you can put this USB to your TV, turn it on and you will be prompted to <strong>upgrade firmware</strong> with firmware version listed on your USB pen. Once you perform this upgrade, you will be able to telnet to your TV. Check your TV IP address from TV menus, and then using Linux shell, or if you are Windows user using Putty, telnet to your TV and enjoy power of your Linux shell. Also, using TV menus and Common Internet File System &#8211; CIFS, you can play some music, video or photos on your TV (as described above).</p>
<blockquote><p><em><strong>If you are lazy to give a check to this procedure, you can download fully operational USB image on <a href="http://www.sanjta.org/pics/Samsung/USB.tar.gz">this link</a>. You are doing that on your own risk and author of this blog post is not responsible for any damage that you might cause by some operation.</strong></em></p></blockquote>
<p>Enjoy power of Linux shell on your Samsung TV!</p>
<p>For more information please visit following links:</p>
<ol>
<li><a href="http://sourceforge.net/apps/mediawiki/samygo/index.php?title=Main_Page">SamyGo wiki pages</a></li>
<li><a href="http://sourceforge.net/apps/mediawiki/samygo/index.php?title=How_to_enable_Telnet_on_samsung_TV%27s">How to enable Telnet on Samsung TV&#8217;s</a></li>
<li><a href="http://sourceforge.net/apps/phpbb/samygo/viewtopic.php?f=2&amp;t=49&amp;start=30">Hacking T-RBYDEUC Firmware &#8211; LE40A756 and A856</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=356</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asterisk QoS markings and Cisco Low Latency Queueing &#8211; LLQ</title>
		<link>http://www.sanjta.org/?p=287</link>
		<comments>http://www.sanjta.org/?p=287#comments</comments>
		<pubDate>Wed, 10 Mar 2010 00:09:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=287</guid>
		<description><![CDATA[Few days ago we finally got our new optical connection. It is working like a charm. Having optical connection and Cisco router from one side and Asterisk server from the other side was a clear sign that we could/should implement QoS for voice traffic. By default, Asterisk is using port range 10000 to 20000 for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://www.sanjta.org/pics/CISCO/qos.jpg" alt="" width="500" height="177" /></p>
<p>Few days ago we finally got our new optical connection. It is working like a charm. Having optical connection and Cisco router from one side and Asterisk server from the other side was a clear sign that we could/should implement QoS for voice traffic. By default, Asterisk is using port range 10000 to 20000 for RTP streams (which is adjustable in /etc/asterisk/rtp.conf) so you have several solutions how to implement Low Latency Queuing – LLQ on Cisco router. You can:</p>
<ol>
<li> use Network <em>Based Application Recognition NBAR</em> to recognize your RTP traffic by using command ‘<em>match protocol rtp</em>’ within required class map;</li>
<li> create access control list which would comprehend all the traffic which is working as UDP in port range 10000 to 20000 by executing command ‘<em>access-list 101 permit udp any range 10000 20000 any</em>’ and then call that access control list within class map by using command ‘<em>match access-group 101</em>′;</li>
<li>make your Asterisk mark your SIP or RTP traffic by default.</li>
</ol>
<p>From above listed solutions to this problem, third solution was most logical to me, although all solutions would work. Since there is recommendation to mark traffic as close to source as possible third option was very logical thing to go for. If you are using Asterisk which is working on Linux as <em>root</em> user (in most cases it is working with <em>asterisk</em> user by default) you will need to edit your <em>sip.conf</em> and within section <em>[general]</em> you will need to add following:</p>
<blockquote><p><strong>tos_sip=cs3<br />
tos_audio=ef</strong></p></blockquote>
<p>Once done with that, save your configuration, reload asterisk and you are ready to go for Cisco configuration.</p>
<p>As I already mentioned, in most cases Asterisk is using user <em>asterisk</em> for the Asterisk daemon. If that is a case, above listed solution won&#8217;t work for you because Linux as operating system won&#8217;t allow you to mark your packages as non root user. That is very logical since we would be able to mark our web or some peer to peer traffic packages as EF (expedited forwarding) and obtain priority which is not desired at all. But, there is very powerful solution by using iptables. As root, you will need to execute following:</p>
<blockquote><p><strong>iptables -A OUTPUT -t mangle -p udp -m udp &#8211;dport 5060 -j DSCP &#8211;set-dscp 0&#215;28<br />
iptables -A OUTPUT -t mangle -p udp -m udp &#8211;sport 10000:20000 -j DSCP &#8211;set-dscp 0&#215;28</strong></p></blockquote>
<p>By executing above commands you will mark your SIP and RTP traffic as DSCP CS5 (IP Precedence 5). You can verify that by catching a trace using snoop/tcpdump.</p>
<p>In case that you would like to set different DSCP values for some traffic, please find partial list here:<br />
Expedited Forwarding, DSCP = 0x2E<br />
CS5, DSCP = 0&#215;28<br />
CS6, DSCP = 0&#215;30<br />
CS7, DSCP = 0&#215;38</p>
<p>Now last thing that we would need to do on the Linux side is to add those iptables rules to load on boot. Edit <em>/etc/rc.local</em> using your favorite text editor and paste above listed iptables lines and save it. Please note that <em>rc.local</em> file is loaded after the network, so if you are planning to put some firewall lines beside those that mark sip and trp traffic you might end up without your firewall rules for few seconds (otherwise, you can execute &#8216;<em>iptables-save &gt;/etc/iptables.rules</em>&#8216; and then you would just need to add following line &#8216;<em>pre-up iptables-restore &lt; /etc/iptables.rules</em>&#8216; to &#8216;<em>/etc/network/interfaces</em>&#8216; by using your favorite text editor to be loaded with network).</p>
<p>On the Cisco router side, we will configure <em>Low Latency Queueing &#8211; LLQ</em> to put some priority onto our CS5 marked packages. First thing that we need to do is to create class map from the global configuration mode by executing following commands:</p>
<blockquote><p>router&gt;enable<br />
router#conf t<br />
router(config)#<strong>class-map match-any voice</strong><br />
router(config-cmap)#<strong>match ip dscp cs5</strong><br />
router(config-cmap)#exit<br />
router(config)#</p></blockquote>
<p>By creating class map as listed above we would select our Asterisk marked cs5 packages. Next thing that we need to do is to define what we want to do with above selected cs5 marked packages. We are doing that by creating policy map as follows:</p>
<blockquote><p>router(config)#<strong>policy-map llq</strong><br />
router(config-pmap)#<strong>class voice</strong><br />
router(config-pmap-c)#<strong>priority percent 20</strong><br />
router(config-pmap-c)#exit<br />
router(config-pmap)#<strong>class class-default</strong><br />
router(config-pmap-c)#<strong>fair-queue</strong></p></blockquote>
<p>As per above configuration we are creating policy map called llq, and within that we are specifying 20 percent of available bandwidth for class voice. <em>Please note that we need to have correct bandwidth statement under interface which is connected to WAN</em>. Also, please note that we have enabled fair queueing on class-default (all data which is not selected by some other class map).</p>
<p>Last thing to do in regards to configuration is to enable policy map on interface which is facing connection towards your Internet Service Provider (WAN interface). We can do that by navigating to interface configuration mode and applying service policy in output direction as per following example:</p>
<blockquote><p>router(config-pmap-c)#exit<br />
router(config-pmap)#exit<br />
router(config)#<strong>interface fastEthernet0/1</strong><br />
router(config-if)#<strong>service-policy output llq</strong></p></blockquote>
<p>And that is all. Now, we need to check results of our work by executing following command:</p>
<blockquote><p>router#<strong>show policy-map interface fastEthernet 0/1</strong><br />
FastEthernet0/1</p>
<p>Service-policy output: llq</p>
<p>queue stats for all priority classes:<br />
Queueing<br />
queue limit 64 packets<br />
(queue depth/total drops/no-buffer drops) 0/0/0<br />
(pkts output/bytes output) 947031/193919404</p>
<p>Class-map: voice (match-any)<br />
856803 packets, 170900643 bytes<br />
1 minute offered rate 22000 bps, drop rate 0 bps<br />
<strong><em>Match: ip dscp cs5 (40)<br />
856803 packets, 170900643 bytes<br />
1 minute rate 0 bps<br />
Priority: 20% (400 kbps), burst bytes 15000, b/w exceed drops: 0</em></strong></p>
<p>Class-map: class-default (match-any)<br />
5321936 packets, 1534281066 bytes<br />
1 minute offered rate 20000 bps, drop rate 0 bps<br />
Match: any<br />
Queueing<br />
queue limit 64 packets<br />
(queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0<br />
(pkts output/bytes output) 5322316/1531545858<br />
Fair-queue: per-flow queue limit 16</p></blockquote>
<p>Please note packet counts under voice class on this policy. That means that we have deployed working configuration which will improve your voip experience. Your voip traffic will get priority among other aggressive traffic flows. Please find some additional information below, and feel free to contact me in order that you have additional questions.</p>
<ol>
<li><a href="http://www.cisco.com/en/US/docs/ios/12_0t/12_0t7/feature/guide/pqcbwfq.html">Low Latency Queueing</a></li>
<li><a href="http://en.wikipedia.org/wiki/Quality_of_service">Quality of Service</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=287</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debconf11 will take place in Banja Luka, Bosnia and Hercegovina</title>
		<link>http://www.sanjta.org/?p=277</link>
		<comments>http://www.sanjta.org/?p=277#comments</comments>
		<pubDate>Mon, 01 Mar 2010 11:14:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[geeks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=277</guid>
		<description><![CDATA[One of the biggest IT conferences, and most probably biggest GNU/Linux conference, Debconf (Debian Developers Conference) will take place in Banja Luka, Bosnia and Hercegovina in 2011! Among very professional bids from Munchen (Germany) and Quito (Equator), our Banja Luka bid won. Everything was carefully prepared and well organised by local team with Adnan Hodzic [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://www.sanjta.org/pics/blog/debconf11.JPG" alt="" /></p>
<p>One of the biggest IT conferences, and most probably biggest GNU/Linux conference, <strong>Debconf (Debian Developers Conference) will take place in Banja Luka, Bosnia and Hercegovina in 2011!</strong> Among very professional bids from Munchen (Germany) and Quito (Equator), our Banja Luka bid won. Everything was carefully prepared and well organised by local team with <a href="http://foolcontrol.org/">Adnan Hodzic</a> as lead person. We need to mention that we have full support which include funding, venues and else from Government of Republika Srpska which signed support letter (you can find it on <a href="http://wiki.debconf.org/wiki/DebConf11/BanjaLuka">Banja Luka bid wiki page</a>). As the person which participated at Debconf7 in Edinburgh I am really happy that I will have opportunity to see known people, but also that Bosnia and Hercegovina will host this since this is our second bid (<a href="http://wiki.debconf.org/wiki/DebConf7/Sarajevo">Sarajevo bid for dc7</a>). It is our pleasure to have opportunity to host Debconf11 and we hope to see you here next year!</p>
<ol>
<li><a href="http://wiki.debconf.org/wiki/DebConf11/BanjaLuka">Banja Luka bid wiki page</a></li>
<li><a href="http://www.sanjta.org/?p=66">My dc7 summary blog page</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=277</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Linux Professional Institute LPIC-1 certification</title>
		<link>http://www.sanjta.org/?p=167</link>
		<comments>http://www.sanjta.org/?p=167#comments</comments>
		<pubDate>Tue, 10 Nov 2009 10:25:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=167</guid>
		<description><![CDATA[Few days ago I have passed LPI 102 certificate and became Linux Professional Institute LPIC-1 certified. I have passed LPI 101 back in March, 2007. There was 60 questions and 90 minutes to resolve those questions. One of the surprises that I had was option &#8216;Previous&#8217;, so you are able to check all of the [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago I have passed LPI 102 certificate and became Linux Professional Institute LPIC-1 certified. I have passed LPI 101 back in March, 2007. There was 60 questions and 90 minutes to resolve those questions. One of the surprises that I had was option &#8216;Previous&#8217;, so you are able to check all of the questions once more in case that you have some additional time. I have to say that exam was easier than LPI 101 (which I find to be one of the hardest exams) because I do have experience with things that were asked in my day to day business. There is a lot of documentation available for preparing the exam, but I would recommend their &#8216;<a href="https://www.lpi.org/eng/certification/the_lpic_program/lpic_1">Detail objectives</a>&#8216; documentation as the start point. They will just ask what you will find listed over there, so you just need to cover that part. In the end, I need to say that I am really glad to obtain this certification because I find GNU/Linux as real satisfaction. If you would need some help, information or something else in regards to this, please feel free to contact me.</p>
<p><a href="http://www.lpi.org/verify">http://www.lpi.org/verify</a><br />
LPI ID: LPI000116482<br />
Code: uuw3rpvp8v</p>
<ol>
<li><a href="https://www.lpi.org/eng/about_lpi">What is Linux Professional Institute?</a></li>
<li><a href="https://www.lpi.org/eng/certification">Linux Professional Insitute Certifications</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=167</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux and VPN client selection</title>
		<link>http://www.sanjta.org/?p=149</link>
		<comments>http://www.sanjta.org/?p=149#comments</comments>
		<pubDate>Thu, 10 Sep 2009 09:40:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=149</guid>
		<description><![CDATA[Since I am working for company that will not ever never let us connect to their network without VPN client, and taking in consideration that I wanted to use Linux on my laptop it was time to get my hands on selecting appropriate VPN client since I am working as teleworker (this sounds cool to [...]]]></description>
			<content:encoded><![CDATA[<p>Since I am working for company that will not ever never let us connect to their network without VPN client, and taking in consideration that I wanted to use Linux on my laptop it was time to get my hands on selecting appropriate VPN client since I am working as teleworker (this sounds cool to me).</p>
<p>Now, before I start describing anything I need to say that I am using Ubuntu 9.04 on my laptop. Few of the reasons for using Ubuntu would be that it is working very nice, it is fast enough, it is nice looking and very stable at the same time, and at the end of day it is Debian based, and I proudly admit that I am emotional when it is about Debian. Ok, now back to VPN clients.</p>
<p>We are using IPsec. Therefore, I needed something that can support it and actually I have found two real possibilities:</p>
<p>1. Cisco VPN client for Linux<br />
2. vpnc</p>
<p>I was working with vpnc before and I have to admit that it was my first selection. In my personal opinion it is working very nice, and it is really easy to use. network-manager-vpnc is actually just a vpnc plugin for network-manager and is nice solution because you will be able to use it from nm-applet from panel which is more friendly than connecting over console. vpnc is capable of working just over UDP and I have found it as huge limitation. I am working from the network which is reaching limits almost all the time, and UDP in those kind of networks is not that good solution. In most cases, if you are using UDP and you are working from those described networks you will see on the statistics that you are sending bytes, but you are not receiving anything. I was trying to find some vpnc clone that is working over TCP, because we obviously need some packet delivery guarantee, but I wasn&#8217;t that successful. That was reason to try Cisco VPN client.</p>
<p>There is really good project page for Cisco VPN client at this link. As i have heard, people were complaining that it is hard to compile it and install it, but with installations provided on the above link, it is not that hard to accomplish that. Main reason why em I actually using Cisco VPN client is ability to work over TCP. It is working really good, it is stable and I would, from my personal experience, recommend it.</p>
<p>I have noticed that huge disadvantage of using Cisco VPN client is using it over wireless network. After certain period of time my Ubuntu just freezes and only way to get it working is to turn it off, and start it over again. Solution is to use wired network, after that it is all work fine. It seems that Intel wireless driver is actually making this problem, but I was reading that some of the users are complaining on really bad multi core support. One of the solutions was to start it with just one core (which means to disable one core in prior to starting vpn client), which is not that user friendly. One of following posts will describe procedure how to install and to configure both vpnc and cisco vpn client, and how to resolve some of the issues that might occur while using them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=149</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Objavljen BHLD 2.0</title>
		<link>http://www.sanjta.org/?p=146</link>
		<comments>http://www.sanjta.org/?p=146#comments</comments>
		<pubDate>Wed, 24 Jun 2009 21:52:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[happenings]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.sanjta.org/?p=146</guid>
		<description><![CDATA[Obavještavamo sve zainteresovane da je objavljena finalna verzija Bosanskohercegovačkog Linux desktopa BHLD 2.0. Ovaj projekat je finansiralo Ministarstvo obrazovanja, nauke i kulture FBiH, a vodio ga je dr Samir Ribić sa ETFa Sarajevo. U projektu su učestvovali i mnogobrojni studenti ETFa (kojima se ovom prilikom zahvaljujemo). Bh. Linux desktop je projekat čiji je cilj prezentovanje [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Obavještavamo sve zainteresovane da je objavljena finalna verzija Bosanskohercegovačkog Linux desktopa BHLD 2.0. Ovaj projekat je finansiralo Ministarstvo obrazovanja, nauke i kulture FBiH, a vodio ga je dr Samir Ribić sa ETFa Sarajevo. U projektu su učestvovali i mnogobrojni studenti ETFa (kojima se ovom prilikom zahvaljujemo).</p>
<p>Bh. Linux desktop je projekat čiji je cilj prezentovanje Linuxa u svojstvu radne stanice (desktopa) kao i aktivnosti ULK na lokalizaciji (prevođenu na naše jezike) grafičkog okruženja i aplikacija. BHLD 2.0 dolazi sa setom aplikacija posebno prilagođenim za primjenu u obrazovanju, kao i sa vrlo detaljnim priručnikom na našem jeziku u kojem su opisane sve aplikacije uključene u distribuciju. Od aplikacija ističemo OpenOffice.org 3.1 i Firefox 3.0. Pored standardnog KDE okruženja BHLD 2.0 sadrži i lagano okruženje za starije računare te bi trebao biti upotrebljiv i na računarima sa svega 128 MB RAM. BHLD je &#8220;live CD&#8221; što znači da ga možete isprobati bez instalacije, a za razliku od verzije 1.x instalacija na disk je potpuno podržana.</p>
<p>Verzija 2.0 bazirana je na megapopularnoj Ubuntu Linux distribuciji. Tehničke detalje (spisak paketa) možete saznati na ULK wiki stranici koja će se po potrebi dopunjavati informacijama:<br />
<a href="http://wiki.linux.org.ba/BHLD2">http://wiki.linux.org.ba/BHLD2</a></p>
<p>BHLD 2.0 moći ćete naći u sljedećem broju magazina &#8220;Info&#8221; zajedno sa člankom i intervjuom, a ISO image možete preuzeti sa mirror servera:<br />
<a href="ftp://mirror.bhld.com.ba/bhld/">ftp://mirror.bhld.com.ba/bhld/</a> (BH Telecom)<br />
<a href="http://europronet.ba/bhld/">http://europronet.ba/bhld/</a> (Europronet &#8211; za korisnike cable zone: <a href="ftp://cableftp.europronet.ba/DOWNLOAD/OS/Linux/BHLD/">ftp://cableftp.europronet.ba/DOWNLOAD/OS/Linux/BHLD/</a>)</p>
<p>Sva pitanja u vezi BHLDa i pomoć za korištenje možete dobiti na <a href="http://forum.linux.org.ba/viewforum.php?id=35">ULK forumu &#8211; sekcija BHLD</a> koji redovno prati i sam dr Ribić (nick &#8220;megaribi&#8221;).</p>
<p>Pozivamo vas na promociju BHLD 2.0 koja će se održati u subotu 4. jula 2009. u 12:00 u Malom amfiteatru Elektrotehničkog fakulteta (ETF-MA):<br />
* <a href="http://www.openstreetmap.org/?lat=43.85585&amp;lon=18.39568&amp;zoom=16&amp;layers=B000FTF">Mapa</a> (koristite kontrolu sa lijeve strane da napravite zoom-in / zoom-out, ili vucite mišem mapu za skrolovanje)<br />
Ovom prilikom ćete se moći učlaniti u Udruženje Linux korisnika, dobiti majice i kape sa logom Udruženja kao i odštampane BHLD priručnike sa CDom.</p></blockquote>
<ol>
<li><a href="http://www.linux.org.ba">Udruženje Linux korisnika Bosne i Hercegovine</a></li>
<li><a href="http://forum.linux.org.ba/viewtopic.php?id=5407">BHLD 2.0</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=146</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2007 Desktop Linux Survey results revealed</title>
		<link>http://www.sanjta.org/?p=78</link>
		<comments>http://www.sanjta.org/?p=78#comments</comments>
		<pubDate>Fri, 24 Aug 2007 09:35:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://gomez.unze.ba/?p=78</guid>
		<description><![CDATA[Prije nekoliko dana objavljeni su rezultati anketa prema Desktop Linux portalu a tiču se zastupljenosti pojedinih Linux distribucija, internet preglednika, desktop okruženja, email klijenata, i što je meni posebno interesantno zastupljenosti virtualizacijskih alata. Anketa se ne može uzeti kao definitivan pokazatelj iz mnogo razloga (čak šta više, bilo bi interesantno saznati ko ima službeno pravo [...]]]></description>
			<content:encoded><![CDATA[<p>Prije nekoliko dana objavljeni su rezultati anketa prema Desktop Linux portalu a tiču se zastupljenosti pojedinih Linux distribucija, internet preglednika, desktop okruženja, email klijenata, i što je meni posebno interesantno zastupljenosti virtualizacijskih alata.</p>
<p>Anketa se ne može uzeti kao definitivan pokazatelj iz mnogo razloga (čak šta više, bilo bi interesantno saznati ko ima službeno pravo da proglasi ovakve ankete realnim pokazateljima) međutim definitivno može da pokaže smjer kretanja pojedinih elemenata koji se direktno tiču FOSS community/a. Interesantno je to da je ove godine anketa zabilježila gotovo dvostruko više posjeta nego prošle godine.</p>
<p>U sljedećem tekstu probat ću da se osvrnem na rezultate:</p>
<p><img src="http://gomez.unze.ba/pics/Stats/2007-distributions-sm.jpg" align="middle" height="358" width="450" /></p>
<p>Prema navedenoj statistici najveću zastupljenost kao i prošle godine ima Ubuntu Linux, što je bilo i za očekivati. Ubuntu je i na Distro watchu već dugo vremena zakovan na prvom mjestu i razvoj ovakve situacije je bio sasvim očekivan. SuSE na drugom mjestu očekivano, mada sam mislio da bi pozicija mogla biti dosta ugrožena od kategorije koja se nalazi pod &#8216;Other Debian&#8217; (jer ima zaista veliki broj distribucija baziranih na istom). Ono što me iznenadilo na navedenom chart/u jeste veoma dobra pozicioniranost Gentoo Linux/a za kojeg nisam pretpostavljao da ovako visoko kotira.</p>
<p><img src="http://gomez.unze.ba/pics/Stats/2007-browsers-sm.jpg" align="middle" height="325" width="450" /></p>
<p>Na području internet preglednika ništa se nije mijenjalo. Firefox je zadržao apsolutnu dominaciju nad Konquerorom i Operom i vjerujem da će se isti trend nastaviti duže vremena.</p>
<p><img src="http://gomez.unze.ba/pics/Stats/2007-desktops-sm.jpg" align="middle" height="324" width="450" /></p>
<p>Ovaj me chart uvijek iznenadi pozitivno, iako su rezultati koji su navedeni sasvim očekivani. Ubuntu forsira GNOME, od verzije 10 SuSE Linux radi isto, tako da je GNOME dominacija očekivana. Bez obzira na sve, smatram da se KDE prema ovoj statistici veoma dobro drži što potvrđuje kvalitet istog.</p>
<p><img src="http://gomez.unze.ba/pics/Stats/2007-emailclients-sm.jpg" align="middle" height="316" width="450" /></p>
<p>Da kvalitetan proizvod sa jakim marketingom iza sebe može da promjeni i navike korisnika prema gore navedenom chart/u pokazuje Thunderbird. Iskreno sam se iznenadio kada sam vidio da ima prednost nad Evolution/om koji dolazi kao default emal klijent uz GNOME i Kmail/om koji je tu uz svaku instalaciju KDE/a.</p>
<p><img src="http://gomez.unze.ba/pics/Stats/2007-windowsappsonlinux-sm.jpg" height="322" width="450" /></p>
<p>Posebno interesantna mi je ova statistkika. Pored prilično kvalitetnih virtualizacijskih modela kao što je vserver, qemu ili neki drugi korisnici se okreću dobrom starom Wine/u. VMWare solidno kotira na ovoj ljestvici ali mislim da je Crossover podbacio iako se radi o dosta kvalitetnom proizvodu.</p>
<p>Sve u svemu, veoma interesantna godišnja statistika koja pokazuje da ukoliko se radi o kvalitetnom proizvodu sa jakim marketingom, ni lobi proizvođaća ili navike korisnika nisu prepreka u korištenju istih.</p>
<ol>
<li><a href="http://www.desktoplinux.com/news/NS8454912761.html" target="_blank">2007 Desktop Linux Survey results revealed</a></li>
<li><a href="http://www.ubuntu.com/" target="_blank">Ubuntu Linux</a></li>
<li><a href="http://distrowatch.com/">Distro watch</a></li>
<li><a href="http://en.opensuse.org/Welcome_to_openSUSE.org">SuSE Linux</a></li>
<li><a href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a></li>
<li><a href="http://www.mozilla.com/en-US/thunderbird/" target="_blank">Thunderbird</a></li>
<li><a href="http://gentoo.org" target="_blank">Gentoo Linux<br />
</a></li>
<li><a href="http://www.vmware.com/" target="_blank">VMWare</a></li>
<li><a href="http://www.codeweavers.com/" target="_blank">Crossover office</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migracija UNI servera</title>
		<link>http://www.sanjta.org/?p=68</link>
		<comments>http://www.sanjta.org/?p=68#comments</comments>
		<pubDate>Tue, 31 Jul 2007 14:41:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://gomez.unze.ba/?p=68</guid>
		<description><![CDATA[Prije dvadesetak dana sam obavješten da je stigla nova mašina koja treba da preuzme ulogu glavnog UNI servera. To je podrazumijevalo da je potrebno instalirati operativni sistem, podesiti sve servise i prebaciti sav sadržaj postojećeg servera. Naravno, korisnici toga uopće ne smiju biti svjesni. Radi se o mom zadnjem volonterskom projektu koji je još uvijek [...]]]></description>
			<content:encoded><![CDATA[<p>Prije dvadesetak dana sam obavješten da je stigla nova mašina koja treba da preuzme ulogu glavnog UNI servera. To je podrazumijevalo da je potrebno instalirati operativni sistem, podesiti sve servise i prebaciti sav sadržaj postojećeg servera. Naravno, korisnici toga uopće ne smiju biti svjesni. Radi se o mom zadnjem volonterskom projektu koji je još uvijek aktivan.</p>
<p>Radi se o veoma dobroj mašini: Fujitsu Siemens TX200 S3.  Mašina je opremljena sa dva Xeon procesora, dva gigabajta RAM/a, tri gigabitna ethernet/a, RAID kontrolorom i ostalom opremom sa kojom mašine tog tipa dolaze.</p>
<p style="text-align: center"><img src="http://gomez.unze.ba/pics/blog/671582-2512.jpg" align="middle" height="426" width="442" /></p>
<p>Izbor operativnog sistema sveo se na dvije moguće opcije: Gentoo i Debian. Kako sam projekat trebao da uradim u svoje slobodno vrijeme (dakle, poslije posla, a slobodnog vremena je uvijek malo), te sa obzirom na činjenicu da je kompajliranje spor i kompleksan posao Debian se učinio boljom solucijom i na mašini sve uskoro veselo vrtio Debian Etch.  Dakle, Gentoo koji se veselo vrtio dvije godine (čini mi se) zamjenjen je Debianom.</p>
<p>40/ak gigabajta samba share/a se prebacivalo nekoliko sati sa starog servera koristeći rsync. U međuvremenu, prebacivano je desetak aktivnih domena sa svim sadržajima. To je naravno podrazumijevalo podešavanje baze, a za tu svrhu redovno koristim dobri stari mysql u posljednjoj stabilnoj verziji (iako planiram da polako sve prebacujem na PGSQL). Dok je rsync lijepo obavljao svoj dio posla, vrijeme je korišteno i za podešavanje DNS servera. Kako tu uvijek ima promjena od verzije do verzije, ovaj put bilo je problema sa MX exchangerima ali i to je relativno brzo riješeno.</p>
<p>Očekivano, najveći problem je predstavljala migracija mail servera. Nekoliko stotina account/a i nekoliko hiljada mailova u njima, kao i sve autentifikacijske postavke trebale su da budu prebaćene bez ikakvih problema. Radi kompatibilnosti koristio sam isti mail server, tako da sam nakon nekih manjih peripetija imamo POP3, IMAP, Spamassasin, CLAM antivirus i ostalo ureduno funkcionirajući.</p>
<p>Dakle, urađeno je prilicno dosta posla u relativno kratkom vremenskom periodu (nekih desetak dana posla, ali samo u slobodno vrijeme). Sa obzirom na činjenicu da tamo imaju ljude koji će održavati ovu instalaciju, moj posao na ovom projektu je završen na duge staze.</p>
<ol>
<li><a href="http://www.fujitsu-siemens.com">Fujitsu Siemens</a></li>
<li><a href="http://www.fujitsu-siemens.com/products/standard_servers/tower/primergy_tx200s3.html">Fujitsu Siemens TX200 S3</a></li>
<li><a href="http://unze.ba">Univerzitet</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sanjta.org/?feed=rss2&amp;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
