Tuning NAS on Xtreamer Prodigy

I have issue when starting to attach 4TB HDD on Xtreamer Prodify. It won’t be mounted on my old notebook thru USB 3.0.

Then I tried to using built in NAS, I use Gbe but the speed only get 10MBps. I tried to tweak, first tweak I got is to custom the socket option for smbd daemon.

  • Go to directory /system/rtk_rootfs/usr/local/bin/Resource/package/samba/conf
  • Edit smb_anonymous_head.conf file
  • Change the line “socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192″
  • Restart NAS thru menu

Change the value of SO_SNDBUF and SO_RCVBUF accordingly.

After I put value 32678, the speed is increasing become 13-14MBps. Will update other config value and result.

Securing Oracle SGD

We want to secure Oracle SGD with aim to be able accessible thru https port only and use testing cert. This process is based on SGD 4.50 and 4.60 as we have tested. This step is to enable secure connection from client to SGD Web Server and SGD Server components.

After installation process completed and SGD started properly, we can start to configure SGD to:

  1. Enabling and Start Security in SGD Web Server
    • /opt/tarantella/bin/tarantella security enable
    • /opt/tarantella/bin/tarantella security start
  2. Apply Security connections
    • Edit httpd.conf replace from Listen 443 to Listen 127.0.0.1:443
    • /opt/tarantella/bin/tarantella config edit –security-applyconnections 1
    • /opt/tarantella/bin/tarantella config edit –array-port-encrypted 443
    • /opt/tarantella/bin/tarantella config edit –array –security-firewallurl https://127.0.0.1:443
    • /opt/tarantella/bin/tarantella restart webserver -https
  3. Create secure mapping from Client to SGD Server Edit Profile
    • Login to administration console
    • Choose User Profiles of the user that you want to configure (can be done thru System Objects)
    • Choose Security
    • Click Add, than map pattern Client Address and SGD, than choose connection type Secure, example:
Client Device Address Secure Global Desktop Server Address Connection Type
Connections Defined Directly
* sgd.server.com Secure

Installing Oracle Secure Global Desktop on Solaris 10 Non-Global Zone

After several years I am not playing around with Secure Global Desktop (SGD), recently I tried to install Sun Secure Global Desktop in non-global zone of Solaris 10.

First attempt installation using SGD 4.5, it was failed. Second trial is using SGD 4.41, that I have tried before and works, but the only different is the Solaris version. It was using Sun Solaris instead of Oracle Solaris.

The error is unable to start SGD server, after digging got an error because the installer is unable to opening specific port. Try find it thru Google and forum no luck.

Then check ulimit, voila, the default nofiles in non-global zone is very small, that’s why the installer is always failed, and even it starting, when we tried to login thru browser, we will get java.io.Exception.

So, I tried to increase the nofiles limit, you can use traditional with ulimit command per session based, for zone based you can achieve thru projects.

Just login to non-global zone and edit /etc/project and edit this line look like:

user.root:1::::process.max-file-descriptor=(basic,8192,deny)

It means we will set nofiles limit to 8192. To understand about project you can open Solaris documentation chapter Projects and Tasks.

LED TV 3D Active or Passive?

Just a quick review how to choose LED 3D TV for your family TV. Basically, there are 2 mainstream technology available on current commodity market today, which are Active and Passive 3D TV. In Indonesia, in early beginning of 3D LED TV era, most of all brands release only active 3D LED TV line of products. After quite sometime, LG try to introduce and penetrate passive 3D technology, replacing all their old line of product 3D LED TV.

Passive 3D

One of LG market gimmicks is convenience of the glasses, because the glasses of 3D passive is light weight compare to active one, no battery, and despite that, the price of each glasses is almost 1/5 of active 3D glasses. And for you that are already wearing glasses, there is an option to buy clip on passive 3D glass that active doesn’t have till today.

But, passive has a catch. If you are HD manics movie, when you enable your 3D on your TV, the actual resolution that receive on each your eyes is a half HD resolution. The other catch is the vertical alignmelnt, if you watch your TV using passive 3D glass (vertical angle is higher or lower) than you will not able to get 3D image properly.

Active 3D

Active Shutter 3D glasses is battery powered glasses, that is why the glasses is not as light as passive 3D glasses. To synchronize the shutter process between glasses and TV, they have communication mechanism. In earlier active 3D glasses era, they are using infra red to synchronize the process. The problem is you have to always facing directly to your LED screen, if you make a move your head, let say to left or right, that causing you trouble in your 3D imaginary. After sometime, in the year 2012, some of LED TV producer choose RF or Bluetooth over IR to create communication between glasses and TV. That makes a lot of improvement.

Dual Play – SimulView

This branding images is created by LG and Sony to introduce how to two person can watch different kind of perspective or view on the same TV. At the moment, only selected game play in XBOX and PS3 are able to support such technology. Samsung, till today, I do not see such offer in their LED TV product line.

Choosing By Brand

I only review Sony, Samsung, and LG, based on personal experience when purchased. Over the last 1 year, I have purchased Samsung ES8000 product line, LG LN5710, and Sony W954A series. For quick guideline by brand:

LG

For the last 3 years, LG has replace all active 3D become solely 3D passive LED TV producer. If you choose 2010-now LG LED TV line of product, you will get passive 3D LED TV for sure. LG also introduce Dual Play in 2012 that need separate passive glasses that different than existing passive 3D glasses.

Samsung

Samsung is committed using  active 3D technology. Before E series, all active 3D glasses using IR to communicate to TV. Starting E series (including F series), Samsung using bluetooth.

Sony

Sony initially using active 3D that communicate using IR. Starting 2013 line of product, Sony introduce active and passive 3D in their line of product. And for active 3D starting this year only, they use bluetooth, but in W950A series product, for backward compatibility purpose, Sony still capable using IR active 3D glasses, the IR sensor is in the Sony logo at the bottom of the LED TV frame. SimulView is also available in active and passive technology. Like LG, passive technology need special glasses to get SimulView, but in active you can use the stock 3D glasses to get SimulView. Sony Indonesia only made W80 for 3D passive and W95 for 3D active available in Indonesia market.

Lets Talk About Crap Seriously

It’s 2013, yet 2.5 billion people in the world have no access to a basic sanitary toilet. And when there’s no loo, where do you poo? In the street, probably near your water and food sources — causing untold death and disease from contamination. Get ready for a blunt, funny, powerful talk from journalist Rose George about a once-unmentionable problem.

Rose George “talks shit” to raise awareness about the lack of basic sanitation worldwide.

This video made me realize that we must fight that accessibility of sanitized water is part of human right.

Sun Java Web Server 7u8 – PHP Compile with NSAPI

After more than years do not have time to hands develop on Solaris 10, now I try to share my successful compilation of PHP using NSAPI with Sun Java Web Server 7u8. I am using gcc from sunfreeware.

Requirements software to be installed from sunfreeware:
SMCexpat expat
SMCfontc fontconfig
SMCftype freetype
SMCgcc gcc
SMCgd gd
SMCjpeg jpeg
SMClibpng libpng
SMCliconv libiconv
SMClintl libintl
SMCmake make
SMCzlib zlib
SMCxpm xpm
SMCncurs ncurses
SMCcmake cmake
SMCm4 m4
SMCautoc autoconf
SMCautom automake
SMCbison bison
SMClibt libtool
SMCcoreu coreutils
SMCgmp gmp
SMCperl perl

Download libxml2, compile and install without zlib option, since there is problem with gzopen64, it is in zlib, but ld.so unable to find the reference, although ldd shows everything normal.

Download mysql source from mysql (I am using mysql version 5.1.54 from mysql download site) extract and compile with prefix /usr/local/mysql.

Download php source code from php website (I am php version using 5.3.5) extract it what ever you want. Download pcre source tar ball if you need to get PCRE_UTF8 enable, and extract it at $PHP_SOURCE_DIR/ext/pcre and run upgrade_pcre.php.

Regiter your PATH environment variable to use /usr/local/bin:
# export PATH=/usr/local/bin:$PATH:/usr/ccs/bin
Download libmcrypt source code, extract somewhere and compile:
# ./configure --host=i686-sun-solaris2.10 --enable-dynamic-loading
# make && make install

Than configure, compile and install php source as follow:
# ./configure '--prefix=/opt/sun/webserver7/plugins/php' '--bindir=/opt/sun/webserver7/plugins/php/bin' '--libdir=/opt/sun/webserver7/plugins/php/lib' '--libexecdir=/opt/sun/webserver7/plugins/php/libexec' '--disable-static' '--enable-shared' '--enable-cli' '--disable-cgi' '--with-pic' '--with-nsapi=/opt/sun/webserver7' '--enable-cgi' '--disable-rpath' '--enable-safe-mode' '--enable-ftp' '--enable-sockets' '--enable-inline-optimization' '--enable-soap' '--enable-dba=shared' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-sqlite-utf8' '--enable-zend-multibyte' '--enable-bcmath' '--enable-exif' '--enable-magic-quotes' '--enable-wddx' '--enable-mbstring' '--enable-mbregex' '--enable-gd-native-ttf' '--with-iconv-dir=/usr/local' '--with-libxml-dir=/usr/local' '--with-zlib=/usr/local' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-gd=/usr/local/' '--with-pear=/opt/sun/webserver7/plugins/php/include/php' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--enable-exif' '--with-xpm-dir=/usr/local' '--enable-maintainer-zts' '--enable-sigchild' '--host=i686-sun-solaris2.10' '--enable-sigchild' '--with-mcrypt=/usr/local'
# make -j4 && make install
# cp libs/libphp5* /opt/sun/webserver7/plugins/php

So Long My Dear, Sun Microsystems…

I have been fall in love with Sun Microsystems before I go to college. I love their innovation, idea, and vision. Thanks God, I have join this company for almost 4 years minus couple days. As a public news regarding Sun acquisition by Oracle, yesterday EU approved the acquisition without condition, and it means the end of Sun Microsystems.

I just can say, so long my dear, Sun Microsystems, I love being part of you, you gave a lot to me and my country…

Follow

Get every new post delivered to your Inbox.